sfc: Create multiple TX queues
Create a core TX queue and 2 hardware TX queues for each channel. If separate_tx_channels is set, create equal numbers of RX and TX channels instead. Rewrite the channel and queue iteration macros accordingly. Eliminate efx_channel::used_flags as redundant. Signed-off-by:Ben Hutchings <bhutchings@solarflare.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/net/sfc/efx.c 61 additions, 52 deletionsdrivers/net/sfc/efx.c
- drivers/net/sfc/efx.h 2 additions, 2 deletionsdrivers/net/sfc/efx.h
- drivers/net/sfc/ethtool.c 2 additions, 2 deletionsdrivers/net/sfc/ethtool.c
- drivers/net/sfc/net_driver.h 28 additions, 33 deletionsdrivers/net/sfc/net_driver.h
- drivers/net/sfc/nic.c 6 additions, 6 deletionsdrivers/net/sfc/nic.c
- drivers/net/sfc/selftest.c 2 additions, 2 deletionsdrivers/net/sfc/selftest.c
- drivers/net/sfc/selftest.h 2 additions, 2 deletionsdrivers/net/sfc/selftest.h
- drivers/net/sfc/tx.c 37 additions, 24 deletionsdrivers/net/sfc/tx.c
Loading
Please register or sign in to comment