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

lib/net: add support to the PMD i40e #625

Merged
merged 1 commit into from
Nov 14, 2022
Merged

lib/net: add support to the PMD i40e #625

merged 1 commit into from
Nov 14, 2022

Conversation

AltraMayor
Copy link
Owner

The PMD i40e does not support the RSS hash functions ETH_RSS_IPV4 and ETH_RSS_IPV6 (i.e., RSS hash for IPv4 or IPv6 non-fragmented packets). So Gatekeeper cannot work.

Nevertheless, i40e has an alternative way to set the needed RSS hash. This patch adds the parameter alternative_rss_hash to struct gatekeeper_if to ask Gatekeeper to try this alternative hash.

The implemented solution is based on the reply to the question How to set up RSS hash fuction in XL710 to receive IPv4 flow type? on Stack Overflow.

The PMD i40e does not support the RSS hash functions
ETH_RSS_IPV4 and ETH_RSS_IPV6 (i.e., RSS hash for IPv4 or IPv6
non-fragmented packets).  So Gatekeeper cannot work.

Nevertheless, i40e has an alternative way to set the needed
RSS hash.  This patch adds the parameter alternative_rss_hash to
struct gatekeeper_if to ask Gatekeeper to try this
alternative hash.
@AltraMayor AltraMayor added the Production requirement Either the issue is solved, or Gatekeeper doesn't work in production label Nov 4, 2022
@AltraMayor AltraMayor added this to the Version 1.1 milestone Nov 4, 2022
@AltraMayor AltraMayor marked this pull request as ready for review November 14, 2022 15:17
@AltraMayor AltraMayor merged commit c6fbd3f into master Nov 14, 2022
@AltraMayor AltraMayor deleted the i40e branch November 14, 2022 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Production requirement Either the issue is solved, or Gatekeeper doesn't work in production
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant