[PATCH v1 2/3] net/ntnic: add supplementary macros
Serhii Iliushyk
sil-plv at napatech.com
Wed Nov 20 19:02:56 CET 2024
From: Oleksandr Kolomeiets <okl-plv at napatech.com>
Supplement existing toggle-like macros with respective opposites:
* DISABLE_FRAGMENTATION -> ENABLE_FRAGMENTATION
* IPV4_DF_DROP -> IPV4_DF_FORWARD
* IPV6_DROP -> IPV6_FRAGMENT
Fixes: 6019656d6f68 ("net/ntnic: add MTU configuration")
Signed-off-by: Oleksandr Kolomeiets <okl-plv at napatech.com>
---
.../nthw/flow_api/profile_inline/flow_api_profile_inline.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/net/ntnic/nthw/flow_api/profile_inline/flow_api_profile_inline.h b/drivers/net/ntnic/nthw/flow_api/profile_inline/flow_api_profile_inline.h
index ce1a0669ee..169f71ee68 100644
--- a/drivers/net/ntnic/nthw/flow_api/profile_inline/flow_api_profile_inline.h
+++ b/drivers/net/ntnic/nthw/flow_api/profile_inline/flow_api_profile_inline.h
@@ -11,9 +11,12 @@
#include "flow_api.h"
#include "stream_binary_flow_api.h"
+#define ENABLE_FRAGMENTATION 1
#define DISABLE_FRAGMENTATION 0
#define IPV4_DF_DROP 1
+#define IPV4_DF_FORWARD 0
#define IPV6_DROP 1
+#define IPV6_FRAGMENT 0
/*
* Management
--
2.45.0
More information about the dev
mailing list