]> git.baikalelectronics.ru Git - kernel.git/commit
ibmveth: Implement multi queue on xmit
authorNick Child <nnac123@linux.ibm.com>
Wed, 28 Sep 2022 21:43:49 +0000 (16:43 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Sep 2022 11:40:22 +0000 (12:40 +0100)
commit5e5000fcb14919f5540ad2af88d84e88340764c1
treebec23212ca43a28d39cb1d60de5ea4bd0b3537e4
parente0911f47dc7a9983767ea16f1216f6cad3d4abb9
ibmveth: Implement multi queue on xmit

The `ndo_start_xmit` function is protected by a spinlock on the tx queue
being used to transmit the skb. Allow concurrent calls to
`ndo_start_xmit` by using more than one tx queue. This allows for
greater throughput when several jobs are trying to transmit data.

Introduce 16 tx queues (leave single rx queue as is) which each
correspond to one DMA mapped long term buffer.

Signed-off-by: Nick Child <nnac123@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmveth.c
drivers/net/ethernet/ibm/ibmveth.h