Project

General

Profile

Actions

Optimization #3127

open

Unable to set XDP on 'ens2f0': Invalid argument (-22) - Mellanox cards and Intel cards with jumbo frames

Added by Srijan Nandi over 3 years ago. Updated about 1 month ago.

Status:
New
Priority:
Normal
Target version:
Effort:
Difficulty:
Label:

Description

I am getting this error. I thought this was fixed.

xdp-mode: driver
xdp-filter-file: /etc/suricata/ebpf/xdp_filter.bpf

[20473] 26/8/2019 -- 19:33:58 - (suricata.c:1071) <Notice> (LogVersion) -- This is Suricata version 5.0.0-dev (f43584661 2019-08-23) running in SYSTEM mode

[20474] 26/8/2019 -- 19:33:58 - (runmode-af-packet.c:272) <Info> (ParseAFPConfig) -- AF_PACKET IPS mode activated ens2f0->ens2f1
[20474] 26/8/2019 -- 19:33:58 - (util-ebpf.c:465) <Info> (EBPFLoadFile) -- Successfully loaded eBPF file '/etc/suricata/ebpf/xdp_filter.bpf' on 'ens2f0'
[20474] 26/8/2019 -- 19:33:58 - (util-ebpf.c:492) <Error> (EBPFSetupXDP) -- [ERRCODE: SC_ERR_INVALID_VALUE(130)] - Unable to set XDP on 'ens2f0': Invalid argument (-22)

-=Srijan Nandi


Files

suricata.txt (33.6 KB) suricata.txt suricata yaml Srijan Nandi, 08/26/2019 01:50 PM
Actions

Also available in: Atom PDF