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

Small ebpf/xdp update #6047

Closed
wants to merge 4 commits into from
Closed

Small ebpf/xdp update #6047

wants to merge 4 commits into from

Conversation

regit
Copy link
Contributor

@regit regit commented Apr 11, 2021

This merge request mainly fixes the build of Suricata when ebpf is enable.

Link to redmine ticket:

Describe changes:

  • fix deprecation warning in libbpf
  • fix build
  • fix GRE support in xdp_lb
  • add ebpf build in github-ci

regit and others added 3 commits April 11, 2021 19:49
The xdp_lb was not handling correctly the GRE load balancing
and it was not supporting the GRE + ERSPAN that is used by
some aggregator devices.
The function bpf_program__title has been deprecated in favor of
bpf_program__section_name.
@regit regit requested a review from a team as a code owner April 11, 2021 18:05
@codecov
Copy link

codecov bot commented Apr 11, 2021

Codecov Report

Merging #6047 (25e5aaa) into master (bc667a4) will decrease coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #6047      +/-   ##
==========================================
- Coverage   76.99%   76.96%   -0.04%     
==========================================
  Files         612      612              
  Lines      187752   187752              
==========================================
- Hits       144569   144511      -58     
- Misses      43183    43241      +58     
Flag Coverage Δ
fuzzcorpus 52.93% <ø> (-0.05%) ⬇️
suricata-verify 50.24% <ø> (-0.04%) ⬇️
unittests 63.23% <ø> (ø)

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

Use Debian 10 to build eBPF.
This was referenced Apr 15, 2021
@victorjulien
Copy link
Member

Merged in #6059, 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.

2 participants