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

netmap: Avoid HW errors when using pipes #10605

Closed
wants to merge 1 commit into from

Conversation

jlucovsky
Copy link
Contributor

main-7.0.x backport for issue: 6837

When using netmap pipes (with lb, for example), avoid direct hardware related IOCTLs that will fail (not supported with pipes).

(cherry picked from commit af529a5)

Link to redmine ticket: 6842

Describe changes:

  • Backport of 6837

Provide values to any of the below to override the defaults.

To use a pull request use a branch name like pr/N where N is the
pull request number.

Alternatively, SV_BRANCH may also be a link to an
OISF/suricata-verify pull-request.

SV_REPO=
SV_BRANCH=
SU_REPO=
SU_BRANCH=
LIBHTP_REPO=
LIBHTP_BRANCH=

Issue: 6837

When using netmap pipes (with lb, for example), avoid direct hardware
related IOCTLs that will fail (not supported with pipes).

(cherry picked from commit af529a5)
Copy link

codecov bot commented Mar 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.43%. Comparing base (2efde5b) to head (f41a17a).

Additional details and impacted files
@@              Coverage Diff               @@
##           main-7.0.x   #10605      +/-   ##
==============================================
- Coverage       82.44%   82.43%   -0.02%     
==============================================
  Files             976      976              
  Lines          275049   275049              
==============================================
- Hits           226770   226738      -32     
- Misses          48279    48311      +32     
Flag Coverage Δ
fuzzcorpus 63.55% <ø> (-0.14%) ⬇️
suricata-verify 61.58% <ø> (-0.01%) ⬇️
unittests 62.90% <ø> (-0.01%) ⬇️

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

@suricata-qa
Copy link

Information:

ERROR: QA failed on SURI_TLPW2_autofp_suri_time.

field baseline test %
SURI_TLPW2_autofp_stats_chk
.flow.end.tcp_state.syn_recv 0 1 -
.flow.end.tcp_state.established 8 10 125.0%

Pipeline 19166

@victorjulien
Copy link
Member

Merged in #10620, thanks!

@jlucovsky jlucovsky deleted the 6837/1 branch April 24, 2024 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants