Project

General

Profile

Actions

Feature #5838

open
LS AK

dpdk: NIC encapsulation stripping

Feature #5838: dpdk: NIC encapsulation stripping

Added by Lukas Sismis about 3 years ago. Updated 12 months ago.

Status:
In Progress
Priority:
Normal
Target version:
Effort:
Difficulty:
Label:

Description

Possibly an experiment, especially aimed at IDS setups, where Suricata is not interested in encapsulation inspection.
Some NICs offer native HW offload and that could shave off a few bytes of each packet.
The offload would target the DPDK capture interface.


Related issues 2 (1 open1 closed)

Related to Suricata - Task #6443: Suricon 2023 brainstormAssignedVictor JulienActions
Related to Suricata - Feature #7330: dpdk: support HW VLAN strippingClosedAdam KiripolskyActions

PA Updated by Philippe Antoine over 2 years ago Actions #1

  • Related to Task #6443: Suricon 2023 brainstorm added

LS Updated by Lukas Sismis over 2 years ago Actions #2

  • Status changed from New to Assigned

VJ Updated by Victor Julien about 1 year ago Actions #4

  • Related to Feature #7330: dpdk: support HW VLAN stripping added

LS Updated by Lukas Sismis about 1 year ago Actions #5

  • Status changed from Assigned to In Progress
  • Assignee changed from Lukas Sismis to Adam Kiripolsky

Partially completed.
VLAN stripping:
https://github.com/OISF/suricata/pull/12016

Possible other updates:
other rte_flow actions such as:
OF_POP_VLAN
OF_POP_MPLS
VXLAN_DECAP
NVGRE_DECAP

LS Updated by Lukas Sismis about 1 year ago Actions #6

As this is not yet part of a stable release I propose to change vlan-stripping-offload: bool configuration name to something more generic, e.g.:

encap-stripping: ["vlan", "geneve", "mpls"]

This could be in the form of an array, where individual stripping offloads would be listed. This can save us from having individual stripping offloads listed as boolean properties.

LS Updated by Lukas Sismis about 1 year ago Actions #7

VJ Updated by Victor Julien 12 months ago Actions #8

  • Target version changed from 8.0.0-beta1 to 9.0.0-beta1
Actions

Also available in: PDF Atom