]> www.infradead.org Git - users/jedix/linux-maple.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)
committerChuck Anderson <chuck.anderson@oracle.com>
Wed, 6 Jul 2016 23:40:40 +0000 (16:40 -0700)
commitf426168a4d39dc32c0ac4a036eda9ded2180cd29
treec1979dd6dd09c6322fac4295459a642286e6ef07
parent69980418824932212ca3563eb7e0739b90224c9d
ixgbe: Clean up redundancy in hw_enc_features

Orabug: 23177316

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>
(cherry picked from commit fb8ad4a592c627783dc18cc147c7f4de55cf318d)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c