]> git.ipfire.org Git - thirdparty/linux.git/commit
igc: enable HW vlan tag insertion/stripping by default
authorRui Salvaterra <rsalvaterra@gmail.com>
Thu, 13 Mar 2025 09:35:22 +0000 (09:35 +0000)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Fri, 11 Apr 2025 18:58:58 +0000 (11:58 -0700)
commitf9c961efb0f44b4319e73a3c40e831db2de4d074
treeea03d4eb12d84752d4e89b0dfc35c18d5cc9c91e
parentcdcb3804eeda24d588348bbab6766cf14fddbeaa
igc: enable HW vlan tag insertion/stripping by default

This is enabled by default in other Intel drivers I've checked (e1000, e1000e,
iavf, igb and ice). Fixes an out-of-the-box performance issue when running
OpenWrt on typical mini-PCs with igc-supported Ethernet controllers and 802.1Q
VLAN configurations, as ethtool isn't part of the default packages and sane
defaults are expected.

In my specific case, with an Intel N100-based machine with four I226-V Ethernet
controllers, my upload performance increased from under 30 Mb/s to the expected
~1 Gb/s.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: Vitaly Lifshits <vitaly.lifshits@intel.com>
Reviewed-by: Kurt Kanzenbach <kurt@linutronix.de>
Tested-by: Mor Bar-Gabay <morx.bar.gabay@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/igc/igc_main.c