Skip to contentSkip to conversation

net/enic: support GENEVE flow item

PATCH Superseded Hyong Youb Kim 2 participants 4 messages Jan 3, 2022 – Jan 20, 2022 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net/enic: support GENEVE flow item

Recent VIC models can parse GENEVE, including options, and inner packet headers. Enable GENEVE header and option flow items. Currently, only the first option that follows the GENEVE header can be matched, and the GENEVE header item must specify option length.

---
 doc/guides/rel_notes/release_22_03.rst |   3 +
 drivers/net/enic/enic_fm_flow.c        | 153 ++++++++++++++++++++++++-
 2 files changed, 154 insertions(+), 2 deletions(-)
doc/guides/rel_notes/release_22_03.rst +3 -0
index 6d99d1eaa9..b38dc54e62 100644
@@ -55,6 +55,9 @@ New Features
      Also, make sure to start the actual text at the margin.
      =======================================================
 
+* **Updated Cisco enic driver.**
+
+  * Added rte_flow support for matching GENEVE packets.
 
 Removed Items
 -------------
drivers/net/enic/enic_fm_flow.c +151 -2

197 lines not on this page · raw message

Signature · 1 line
2.33.1
#1 lore raw
Quoted 11 lines · Hyong Youb Kim

Recent VIC models can parse GENEVE, including options, and inner packet headers. Enable GENEVE header and option flow items. Currently, only the first option that follows the GENEVE header can be matched, and the GENEVE header item must specify option length.

---
  doc/guides/rel_notes/release_22_03.rst |   3 +
  drivers/net/enic/enic_fm_flow.c        | 153 ++++++++++++++++++++++++-
  2 files changed, 154 insertions(+), 2 deletions(-)

Documentation update seems missed, can you please fix the warning:

$ ./devtools/check-doc-vs-code.sh
rte_flow doc out of sync for enic
        item geneve
        item geneve_opt
#2 lore raw

PATCH v2 1/1 net/enic: support GENEVE flow item

In reply to Hyong Youb Kim

Recent VIC models can parse GENEVE, including options, and inner packet headers. Enable GENEVE header and option flow items. Currently, only the first option that follows the GENEVE header can be matched, and the GENEVE header item must specify option length.

---
v2: update nic features

---
 doc/guides/nics/features/enic.ini      |   2 +
 doc/guides/rel_notes/release_22_03.rst |   3 +
 drivers/net/enic/enic_fm_flow.c        | 153 ++++++++++++++++++++++++-
 3 files changed, 156 insertions(+), 2 deletions(-)
doc/guides/nics/features/enic.ini +2 -0
index 1177752c15..00231baf85 100644
@@ -40,6 +40,8 @@ Usage doc            = Y
 
 [rte_flow items]
 eth                  = Y
+geneve               = Y
+geneve_opt           = Y
 gtp                  = Y
 gtpc                 = Y
 gtpu                 = Y
doc/guides/rel_notes/release_22_03.rst +3 -0
index 6d99d1eaa9..b38dc54e62 100644
@@ -55,6 +55,9 @@ New Features
      Also, make sure to start the actual text at the margin.
      =======================================================
 
+* **Updated Cisco enic driver.**
+
+  * Added rte_flow support for matching GENEVE packets.
 
 Removed Items
 -------------
drivers/net/enic/enic_fm_flow.c +151 -2

197 lines not on this page · raw message

Signature · 1 line
2.33.1
Applied
#3 lore raw
Quoted 7 lines · Hyong Youb Kim

Recent VIC models can parse GENEVE, including options, and inner packet headers. Enable GENEVE header and option flow items. Currently, only the first option that follows the GENEVE header can be matched, and the GENEVE header item must specify option length.

Applied to dpdk-next-net/main, thanks.