]> git.droids-corp.org - dpdk.git/commit
event/cnxk: fix packet Tx overflow
authorPavan Nikhilesh <pbhagavatula@marvell.com>
Wed, 3 Nov 2021 00:52:11 +0000 (06:22 +0530)
committerJerin Jacob <jerinj@marvell.com>
Thu, 4 Nov 2021 07:41:25 +0000 (08:41 +0100)
commit671971c917acd00bc50884861b9cabd653862953
tree4d39e056c0c164103f7dec854a320c485ffb00aa
parentbd64a963d2fcdf20be3611cb6e32bdbdc4e9d31e
event/cnxk: fix packet Tx overflow

The transmit loop incorrectly assumes that nb_mbufs is always
a multiple of 4 when transmitting an event vector. The max
size of the vector might not be reached and pushed out early
due to timeout.

Fixes: 761a321acf91 ("event/cnxk: support vectorized Tx event fast path")
Cc: stable@dpdk.org
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
drivers/event/cnxk/cn10k_worker.h