Skip to content

Xdp tunnel 7674 v15.1#15434

Closed
catenacyber wants to merge 4 commits into
OISF:mainfrom
catenacyber:xdp-tunnel-7674-v15.1
Closed

Xdp tunnel 7674 v15.1#15434
catenacyber wants to merge 4 commits into
OISF:mainfrom
catenacyber:xdp-tunnel-7674-v15.1

Conversation

@catenacyber

Copy link
Copy Markdown
Contributor

Link to ticket: https://redmine.openinfosecfoundation.org/issues/
https://redmine.openinfosecfoundation.org/issues/7674 preliminary work

Describe changes:

  • EBPF is now in suricata --build-info list of features
  • ebpf: remove unused macro
  • factorize some redundant code

Easy part of #15415

@codecov

codecov Bot commented May 21, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 89.28571% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 82.65%. Comparing base (57f76a2) to head (11ec9cb).

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #15434      +/-   ##
==========================================
- Coverage   82.67%   82.65%   -0.03%     
==========================================
  Files         996      996              
  Lines      271659   271638      -21     
==========================================
- Hits       224601   224527      -74     
- Misses      47058    47111      +53     
Flag Coverage Δ
fuzzcorpus 61.55% <89.28%> (+<0.01%) ⬆️
livemode 18.33% <42.85%> (-0.03%) ⬇️
netns 22.69% <78.57%> (-0.02%) ⬇️
pcap 45.06% <89.28%> (-0.08%) ⬇️
suricata-verify 66.38% <89.28%> (-0.03%) ⬇️
unittests 58.44% <75.00%> (+<0.01%) ⬆️

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@suricata-qa

Copy link
Copy Markdown

Information: QA ran without warnings.

Pipeline = 31656

Comment thread src/flow-hash.c
fhk.vlan_id[1] = p->vlan_id[1] & g_vlan_mask;
fhk.vlan_id[2] = p->vlan_id[2] & g_vlan_mask;

FlowHashIp6Fill(&fhk, p);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

this looks like it does more than factorize: it adds livedev logic where it previously didn't exist. That requires a separate commit including some thoughts on what it means for this case.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Indeed 7e725c6 was incomplete and forgot FlowGetIpPairProtoHash

@victorjulien victorjulien left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

See inline. Looks good otherwise.

@catenacyber

Copy link
Copy Markdown
Contributor Author

Replaced by #15446

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