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

backport: dpdk: set ice PMD RSS key length to 52 bytes for all DPDK versions v1 #12261

Conversation

lukashino
Copy link
Contributor

ICE driver (Intel E810 NIC) requires/supports 52-byte long RSS key. The 52 byte key length was mandatory from DPDK 23.11 when Suricata was starting with independently configured ice PMD.

However, Suricata failed to start when ice PMD was part of net_bonding PMD, requiring 52 byte RSS key even in DPDK versions lower than 23.11. Since the support for the longer key is present since DPDK 19.11 the key is set to 52 bytes for all versions.

Ticket: https://redmine.openinfosecfoundation.org/issues/7445

Backport of #12252

Describe changes:

  • remove versioning macro

ICE driver (Intel E810 NIC) requires/supports 52-byte long RSS key.
The 52 byte key length was mandatory from DPDK 23.11 when Suricata
was starting with independently configured ice PMD.

However, Suricata failed to start when ice PMD was part of
net_bonding PMD, requiring 52 byte RSS key even in DPDK versions
lower than 23.11. Since the support for the longer key is present
since DPDK 19.11 the key is set to 52 bytes for all versions.

Ticket: 7445
(cherry picked from commit 18ab9a6)
Copy link

codecov bot commented Dec 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.18%. Comparing base (ded2082) to head (ce41810).
Report is 89 commits behind head on main-7.0.x.

Additional details and impacted files
@@               Coverage Diff               @@
##           main-7.0.x   #12261       +/-   ##
===============================================
+ Coverage       63.93%   83.18%   +19.25%     
===============================================
  Files             896      922       +26     
  Lines          151065   260888   +109823     
===============================================
+ Hits            96586   217030   +120444     
+ Misses          54479    43858    -10621     
Flag Coverage Δ
fuzzcorpus 64.19% <ø> (+0.25%) ⬆️
suricata-verify 63.38% <ø> (?)
unittests 62.38% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

@lukashino
Copy link
Contributor Author

Rebased in #12262

@lukashino lukashino closed this Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant