[PATCH] examples/ipsec-secgw: fix Rx queue ID in Rx callback
Thomas Monjalon
thomas at monjalon.net
Mon Mar 18 04:20:15 CET 2024
11/03/2024 03:32, Chaoyong He:
> From: Shihong Wang <shihong.wang at corigine.com>
>
> The Rx queue ID on the core and on the port are not necessarily
> equal, for example, there are two RX queues on core0, queue0 and
> queue1, queue0 is the rx_queueid0 on port0 and queue1 is the
> rx_queueid0 on port1.
>
> The 'rte_eth_add_rx_callback()' function is based on the port
> registration callback function, so should be the RX queue ID on
> the port.
>
> Fixes: d04bb1c52647 ("examples/ipsec-secgw: use HW parsed packet type in poll mode")
> Cc: stable at dpdk.org
> Cc: Akhil Goyal <gakhil at marvell.com>
> Cc: Radu Nicolau <radu.nicolau at intel.com>
>
> Signed-off-by: Shihong Wang <shihong.wang at corigine.com>
> Reviewed-by: Chaoyong He <chaoyong.he at corigine.com>
> Reviewed-by: Peng Zhang <peng.zhang at corigine.com>
Applied, thanks.
More information about the stable
mailing list