]> git.baikalelectronics.ru Git - kernel.git/commit
igc: Enable NETIF_F_HW_TC flag
authorSasha Neftin <sasha.neftin@intel.com>
Tue, 3 Mar 2020 00:28:08 +0000 (02:28 +0200)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 17 Apr 2020 17:19:24 +0000 (10:19 -0700)
commit9a9431012c17a88a5a6614c68bf1c113a0066286
tree8ff9af0aabb23ad2f327959466976a8f8d75eef4
parent7c8ed38681b410dcc00e80aa40ad46921419e27a
igc: Enable NETIF_F_HW_TC flag

This assignment of the feature NETIF_F_HW_TC
occurs prior to the initial setup of the local
hw_features variable.

This ensures that NETIF_F_HW_TC are marked
as user changeable, and also enables it by
default when the driver loads.

Signed-off-by: Sasha Neftin <sasha.neftin@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igc/igc_main.c