driver/net: enic: record q_number and rss_hash for skb
authorgovindarajulu.v <govindarajulu90@gmail.com>
Wed, 4 Sep 2013 05:47:15 +0000 (11:17 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Sep 2013 16:39:32 +0000 (12:39 -0400)
commitbf751ba802fe57f4f3aa5555e1446387912bef9e
tree0a5235d40b8235e6835acf12825da34a8ffe15e4
parent822473b6c4e207a8af08518afce5dd2f2e13d765
driver/net: enic: record q_number and rss_hash for skb

The following patch sets the skb->rxhash and skb->q_number.
This is used by RPS and RFS. Kernel can make use of hw provided hash
instead of calculating the hash.

Signed-off-by: Govindarajulu Varadarajan <govindarajulu90@gmail.com>
Signed-off-by: Nishank Trivedi <nistrive@cisco.com>
Signed-off-by: Christian Benvenuti <benve@cisco.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cisco/enic/enic_main.c