[RFC PATCH 0/2] Add jump flow support and queue menegment with new snippets
    Shani Peretz 
    shperetz at nvidia.com
       
    Tue Jun 24 09:15:35 CEST 2025
    
    
  
This patch series adds port affinity matching for bonded ports and
refactors queue management to support the new port affinity snippets.
This refactoring also enables other snippets that require access to
the queue number to utilize it more easily.
It also introduces support for jumping to specific flow groups,
with three new snippets demonstrating this feature.
Shani Peretz (2):
  examples/flow_filtering: add match port affinity snippet
  examples/flow_filtering: add jump flow
 examples/flow_filtering/common.h              |   2 +
 examples/flow_filtering/flow_skeleton.c       |   2 +-
 examples/flow_filtering/jump_flow.c           |  40 +++++++
 examples/flow_filtering/jump_flow.h           |  13 +++
 examples/flow_filtering/main.c                |   9 +-
 examples/flow_filtering/meson.build           |   5 +
 .../snippets/snippet_match_gre.c              |   2 +-
 .../snippets/snippet_match_gre.h              |   2 +-
 .../snippets/snippet_match_ipv4.c             |   4 +-
 .../snippets/snippet_match_ipv4.h             |   2 +-
 .../snippets/snippet_match_mpls.c             |   2 +-
 .../snippets/snippet_match_mpls.h             |   2 +-
 .../snippets/snippet_match_nsh.c              |  74 ++++++++++++
 .../snippets/snippet_match_nsh.h              |  36 ++++++
 .../snippets/snippet_match_port_affinity.c    | 110 ++++++++++++++++++
 .../snippets/snippet_match_port_affinity.h    |  39 +++++++
 .../snippets/snippet_match_roce_ib_bth.c      |  69 +++++++++++
 .../snippets/snippet_match_roce_ib_bth.h      |  35 ++++++
 .../snippets/snippet_re_route_to_kernel.c     |   3 +-
 .../snippets/snippet_re_route_to_kernel.h     |   2 +-
 .../snippets/snippet_switch_granularity.c     |  55 +++++++++
 .../snippets/snippet_switch_granularity.h     |  36 ++++++
 22 files changed, 529 insertions(+), 15 deletions(-)
 create mode 100644 examples/flow_filtering/jump_flow.c
 create mode 100644 examples/flow_filtering/jump_flow.h
 create mode 100644 examples/flow_filtering/snippets/snippet_match_nsh.c
 create mode 100644 examples/flow_filtering/snippets/snippet_match_nsh.h
 create mode 100644 examples/flow_filtering/snippets/snippet_match_port_affinity.c
 create mode 100644 examples/flow_filtering/snippets/snippet_match_port_affinity.h
 create mode 100644 examples/flow_filtering/snippets/snippet_match_roce_ib_bth.c
 create mode 100644 examples/flow_filtering/snippets/snippet_match_roce_ib_bth.h
 create mode 100644 examples/flow_filtering/snippets/snippet_switch_granularity.c
 create mode 100644 examples/flow_filtering/snippets/snippet_switch_granularity.h
-- 
2.34.1
    
    
More information about the dev
mailing list