From 2848a68c5206f1da25eee95102a4d8748569149c Mon Sep 17 00:00:00 2001 From: Alfredo Cardigliano Date: Wed, 5 Jun 2024 09:52:50 +0200 Subject: [PATCH] Add PF_RING_KEEP_CRC flag --- userland/lib/pfring.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/userland/lib/pfring.h b/userland/lib/pfring.h index c63658bdb..b5ca28b39 100644 --- a/userland/lib/pfring.h +++ b/userland/lib/pfring.h @@ -391,7 +391,7 @@ struct __pfring { #define PF_RING_ZC_IPONLY_RSS (1 << 16) /**< pfring_open() flag: Compute RSS on src/dst IP only (not 4-tuple) */ #define PF_RING_FLOW_OFFLOAD (1 << 17) /**< pfring_open() flag: Enable Flow offload (Flow Manager on Napatech) */ #define PF_RING_FLOW_OFFLOAD_NOUPDATES (1 << 18) /**< pfring_open() flag: Deprecated */ -#define PF_RING_FLOW_OFFLOAD_NORAWDATA (1 << 19) /**< pfring_open() flag: Deprecated */ +#define PF_RING_KEEP_CRC (1 << 19) /**< pfring_open() flag: Do not calculate/add CRC/FCS when transmitting frames */ #define PF_RING_L7_FILTERING (1 << 20) /**< pfring_open() flag: Enable L7 filtering support based on PF_RING FT (Flow Table with nDPI support) */ #define PF_RING_DO_NOT_STRIP_FCS (1 << 21) /**< pfring_open() flag: Do not strip the FCS (CRC), when not stripped out by the adapter (on standard adapters use this in combination with 'ethtool -K DEV rx-fcs on rx-all on') */ #define PF_RING_TX_BPF (1 << 22) /**< pfring_open() flag: Evaluate bpf also for transmitted packets (this also force userspace bpf). */