net: stmmac: add per-queue TX & RX coalesce ethtool support
Extending the driver to support per-queue RX and TX coalesce settings in order to support below commands: To show per-queue coalesce setting:- $ ethtool --per-queue <DEVNAME> queue_mask <MASK> --show-coalesce To set per-queue coalesce setting:- $ ethtool --per-queue <DEVNAME> queue_mask <MASK> --coalesce \ [rx-usecs N] [rx-frames M] [tx-usecs P] [tx-frames Q] Signed-off-by:Ong Boon Leong <boon.leong.ong@intel.com> Acked-by:
Jakub Kicinski <kuba@kernel.org> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/net/ethernet/stmicro/stmmac/dwmac1000_dma.c 1 addition, 1 deletiondrivers/net/ethernet/stmicro/stmmac/dwmac1000_dma.c
- drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c 2 additions, 5 deletionsdrivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c
- drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c 2 additions, 5 deletionsdrivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c
- drivers/net/ethernet/stmicro/stmmac/hwif.h 1 addition, 1 deletiondrivers/net/ethernet/stmicro/stmmac/hwif.h
- drivers/net/ethernet/stmicro/stmmac/stmmac.h 4 additions, 4 deletionsdrivers/net/ethernet/stmicro/stmmac/stmmac.h
- drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c 103 additions, 15 deletionsdrivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c
- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 30 additions, 18 deletionsdrivers/net/ethernet/stmicro/stmmac/stmmac_main.c
Loading
Please register or sign in to comment