]> 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)
commit5d333412ce7c4ad0f679cb85a9bd870947a1e032
treebec23212ca43a28d39cb1d60de5ea4bd0b3537e4
parenta0be6ec2cfc991eda34c6a11afd3d044b62756fa
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