Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

examples/ipsec-secgw: fix bug of rte_eth_add_rx_callback failure in single lcore scenario #75

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions examples/ipsec-secgw/ipsec-secgw.c
Original file line number Diff line number Diff line change
Expand Up @@ -2094,10 +2094,10 @@ port_init(uint16_t portid, uint64_t req_rx_offloads, uint64_t req_tx_offloads,

/* Register Rx callback if ptypes are not supported */
if (!ptype_supported &&
!rte_eth_add_rx_callback(portid, queue,
!rte_eth_add_rx_callback(portid, rx_queueid,
parse_ptype_cb, NULL)) {
printf("Failed to add rx callback: port=%d, "
"queue=%d\n", portid, queue);
"queue=%d\n", portid, rx_queueid);
}


Expand Down