ovs-3.3_24.07.0-ubuntu-22.04-devel
Latest
dpdk: fix transmission with invalid lcore id
In certain scenarios like ARP resolution or ICPM6 solicitation
non-pmd threads flush some packets out. For which they need to
transmit the packets. In existing cnxk driver for trasmitting a
packet valid lcore ID is required, while these non-pmd threads
are deliberately assigned an invalid lcore ID.
This causes a crash when non-pmd threads attempts to trasnmit any
packet.
As a resolution, just before a non-pmd thread transmits a packet,
register for a lcore ID and transmit. Once transmission is done
release the lcore ID.
Signed-off-by: Harman Kalra <hkalra@marvell.com>