]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: Clean up redundancy in hw_enc_features
authorMark Rustad <mark.d.rustad@intel.com>
Wed, 18 Nov 2015 23:37:04 +0000 (15:37 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 30 Dec 2015 03:16:06 +0000 (19:16 -0800)
commited154d44cba9fb34279ea5495e271843d26fd5dc
treeac2e5cd39b156a59421ddeea1c782409dba8b69b
parent4ff9eee0cc43b55f962702af9975c6f9e8e4b151
ixgbe: Clean up redundancy in hw_enc_features

Clean up minor redundancy in the setting of hw_enc_features that
makes it appears that X550 uniquely has more encapsulation features
than other devices. The driver only supports one more feature, so
make it look that way. No longer set NETIF_F_SG since that is set
by the register_netdev call. Thanks to Alex Duyck for noticing this
slight confusion.

Reported-by: Alexander Duyck <aduyck@mirantis.com>
Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c