]> www.infradead.org Git - users/dwmw2/linux.git/commit
sfc: remove obsolete counters from struct efx_channel
authorEdward Cree <ecree.xilinx@gmail.com>
Mon, 30 Sep 2024 13:52:39 +0000 (14:52 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 6 Oct 2024 15:02:22 +0000 (16:02 +0100)
commit65131ea8d3f9a6033753d853ab497b61a2fd6090
treeea3502e99eb0d5ebd3b517e97623479d8ea69ac5
parentd521db38f339709ccd23c5deb7663904e626c3a6
sfc: remove obsolete counters from struct efx_channel

The n_rx_tobe_disc and n_rx_mcast_mismatch counters are a legacy
 from farch, and are never written in EF10 or EF100 code.  Remove
 them from the struct and from ethtool -S output, saving a bit of
 memory and avoiding user confusion.

Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Edward Cree <ecree.xilinx@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/ethtool_common.c
drivers/net/ethernet/sfc/net_driver.h