From: Oleksandr Kolomeiets <okl-...@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-...@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

Reply via email to