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

UPF init fails to recover from af_xdp failure. #50

Merged
merged 1 commit into from
May 8, 2020

Conversation

ajamshed
Copy link
Contributor

@ajamshed ajamshed commented May 7, 2020

Pipeline initialization sequence fails to recover when upf-epc is
configured with non-DPDK settings. AF_XDP mode fails to transition
to AF_PACKET socket mode (rte_eth_rx_queue_setup() returns with
-ENOSPC error). This patch should remove this issue.

Non-DPDK pipeline is also fixed in this PR.

Signed-off-by: Muhammad Asim Jamshed [email protected]

@ajamshed ajamshed force-pushed the topics/af_packet_fix branch from 728414b to c9e591e Compare May 7, 2020 19:00
@ajamshed ajamshed marked this pull request as ready for review May 7, 2020 19:02
@ajamshed ajamshed requested a review from krsna1729 May 7, 2020 19:02
krsna1729
krsna1729 previously approved these changes May 7, 2020
@krsna1729
Copy link
Member

@ajamshed can you add the error to the commit message?

@ajamshed ajamshed force-pushed the topics/af_packet_fix branch from c9e591e to 0f24768 Compare May 7, 2020 21:26
@ajamshed ajamshed requested a review from krsna1729 May 7, 2020 21:35
@ajamshed ajamshed force-pushed the topics/af_packet_fix branch from 0f24768 to 6a44f3a Compare May 7, 2020 21:50
Pipeline initialization sequence fails to recover when upf-epc is
configured with non-DPDK settings. AF_XDP mode fails to transition
to AF_PACKET socket mode (rte_eth_rx_queue_setup() returns with
-ENOSPC error). This patch should remove this issue.

Non-DPDK pipeline is also fixed in this PR.

Signed-off-by: Muhammad Asim Jamshed <[email protected]>
@ajamshed ajamshed force-pushed the topics/af_packet_fix branch from 6a44f3a to eaf9365 Compare May 8, 2020 22:07
@ajamshed ajamshed requested a review from krsna1729 May 8, 2020 22:07
@ajamshed ajamshed merged commit 6488841 into master May 8, 2020
@ajamshed ajamshed deleted the topics/af_packet_fix branch May 8, 2020 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants