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

Fix: flow rules failing after verification on PF #1021

Merged

Conversation

DawidWesierski4
Copy link
Collaborator

@DawidWesierski4 DawidWesierski4 commented Dec 16, 2024

DPDK backend flow rules are failing on the E810 PF when ETH rules are ignored on
the default attribute group 0.

Flow rules are used to filter the data coming from queues, and by default,
attribute group 0 should be used. Applying the filters should not fail when the
flow validation function passes. However, this does not happen when we use
filters with the ETH segment set to NULL on E810 physical cards (it works fine
on the virtual NICs hosted on the same NIC).

Fix this problem for now by reapplying the flow rules when the verification
fails in this specific scenario.

This code should be deleted when the E810 PF NIC stops failing to apply
flow rules in this specific scenario.

@DawidWesierski4 DawidWesierski4 force-pushed the Fix_failed_flow_rules branch 2 times, most recently from 83ef9e2 to d478b90 Compare December 16, 2024 15:17
@DawidWesierski4 DawidWesierski4 changed the title Fix flow rules failing after verification on PF Fix: flow rules failing after verification on PF Dec 16, 2024
DPDK backend flow rules are failing on the E810 PF
when ETH rules are ignored on the default
attribute group 0.

Retry applying the flow rules on the queue with
group 2 if applying to group 0 fails but passes
verification.
@DawidWesierski4 DawidWesierski4 marked this pull request as ready for review December 16, 2024 16:26
Copy link
Contributor

@tszumski tszumski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@DawidWesierski4 DawidWesierski4 merged commit ea0540c into OpenVisualCloud:main Dec 17, 2024
23 of 25 checks passed
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.

3 participants