[Intel-wired-lan] [next PATCH S37 05/15] i40evf: report RSS hash capability to stack

Bimmy Pujari bimmy.pujari at intel.com
Mon May 16 17:26:35 UTC 2016


From: Mitch Williams <mitch.a.williams at intel.com>

Set the NETIF_F_RXHASH flag to tell the stack that the device hashes
packets.

Signed-off-by: Mitch Williams <mitch.a.williams at intel.com>
Change-ID: I0394366ad8e8bf90bb2815d757a402c39628ccb2
---
Testing Hints : Use ethtool -k to see that the device support receive
hashing.

 drivers/net/ethernet/intel/i40evf/i40evf_main.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/ethernet/intel/i40evf/i40evf_main.c b/drivers/net/ethernet/intel/i40evf/i40evf_main.c
index 642bb45..ae67be4 100644
--- a/drivers/net/ethernet/intel/i40evf/i40evf_main.c
+++ b/drivers/net/ethernet/intel/i40evf/i40evf_main.c
@@ -2233,6 +2233,7 @@ int i40evf_process_config(struct i40evf_adapter *adapter)
 				   NETIF_F_GSO_IPIP		|
 				   NETIF_F_GSO_SIT		|
 				   NETIF_F_GSO_UDP_TUNNEL	|
+				   NETIF_F_RXHASH	        |
 				   NETIF_F_GSO_UDP_TUNNEL_CSUM	|
 				   NETIF_F_GSO_PARTIAL		|
 				   NETIF_F_SCTP_CRC		|
-- 
2.4.11



More information about the Intel-wired-lan mailing list