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

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

Closed

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.

https://redmine.openinfosecfoundation.org/issues/7444

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: 7444
@victorjulien victorjulien added this to the 8.0 milestone Dec 9, 2024
Copy link

codecov bot commented Dec 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.22%. Comparing base (a9b36d8) to head (a887f83).
Report is 11 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #12252      +/-   ##
==========================================
+ Coverage   83.18%   83.22%   +0.03%     
==========================================
  Files         912      912              
  Lines      257174   257173       -1     
==========================================
+ Hits       213930   214026      +96     
+ Misses      43244    43147      -97     
Flag Coverage Δ
fuzzcorpus 61.06% <ø> (+0.05%) ⬆️
livemode 19.41% <ø> (-0.01%) ⬇️
pcap 44.42% <ø> (+0.03%) ⬆️
suricata-verify 62.79% <ø> (+<0.01%) ⬆️
unittests 59.19% <ø> (ø)

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

@suricata-qa
Copy link

Information: QA ran without warnings.

Pipeline 23767

@victorjulien
Copy link
Member

Merged in #12259, thanks!

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.

3 participants