]> www.infradead.org Git - users/jedix/linux-maple.git/commit
enic: remove copybreak tunable
authorJohn Daley <johndale@cisco.com>
Wed, 5 Feb 2025 23:54:16 +0000 (15:54 -0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 7 Feb 2025 01:17:02 +0000 (17:17 -0800)
commita3b2caaedeaa34891394fbb723b4f430bc6a08e2
tree46e6e39e7139fe14bb9ac7cc06925d0312629750
parentd24cb52b2d8abc89739694ac0be7f0bc2da58e37
enic: remove copybreak tunable

With the move to using the Page Pool API for RX, rx copybreak was not
showing any improvement in host CPU overhead, latency or bandwidth so
the driver no longer makes use of the rx_copybreak setting. This patch
removes the ethtool tuneable hooks to set and get the rx copybreak since
they and now no-ops. Rx copybreak was the only tunable supported, so
remove the set and get tunable callbacks all together.

Co-developed-by: Nelson Escobar <neescoba@cisco.com>
Signed-off-by: Nelson Escobar <neescoba@cisco.com>
Co-developed-by: Satish Kharat <satishkh@cisco.com>
Signed-off-by: Satish Kharat <satishkh@cisco.com>
Signed-off-by: John Daley <johndale@cisco.com>
Link: https://patch.msgid.link/20250205235416.25410-5-johndale@cisco.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/cisco/enic/enic.h
drivers/net/ethernet/cisco/enic/enic_ethtool.c
drivers/net/ethernet/cisco/enic/enic_main.c