From: Ido Schimmel <ido...@mellanox.com>

Jiri says:

In case of using shared block, user might find it handy to be able to insert
filters to match on particular ingress device. This patchset exposes the
ingress ifindex through flow_dissector and flow_offload so mlxsw can use it to
push down to HW. See the selftests for examples of usage.

Jiri Pirko (8):
  flow_dissector: add support for ingress ifindex dissection
  net: sched: cls_flower: use flow_dissector for ingress ifindex
  net: flow_offload: implement support for meta key
  mlxsw: spectrum_acl: Write RX_ACL_SYSTEM_PORT acl element correctly
  mlxsw: spectrum_acl: Avoid size check for RX_ACL_SYSTEM_PORT element
  mlxsw: spectrum_acl: Fix SRC_SYS_PORT element size
  mlxsw: spectrum_flower: Implement support for ingress device matching
  selftests: tc: add ingress device matching support

 .../mellanox/mlxsw/core_acl_flex_keys.c       |  18 +-
 .../mellanox/mlxsw/core_acl_flex_keys.h       |  22 ++-
 .../net/ethernet/mellanox/mlxsw/spectrum.h    |   9 +
 .../ethernet/mellanox/mlxsw/spectrum_acl.c    |   9 +-
 .../mellanox/mlxsw/spectrum_acl_flex_keys.c   |  10 +-
 .../ethernet/mellanox/mlxsw/spectrum_flower.c |  50 ++++-
 include/linux/skbuff.h                        |   4 +
 include/net/flow_dissector.h                  |   9 +
 include/net/flow_offload.h                    |   6 +
 net/core/flow_dissector.c                     |  16 ++
 net/core/flow_offload.c                       |   7 +
 net/sched/cls_flower.c                        |  14 +-
 .../selftests/net/forwarding/tc_flower.sh     |  26 ++-
 .../net/forwarding/tc_flower_router.sh        | 172 ++++++++++++++++++
 .../selftests/net/forwarding/tc_shblocks.sh   |  29 ++-
 15 files changed, 367 insertions(+), 34 deletions(-)
 create mode 100755 tools/testing/selftests/net/forwarding/tc_flower_router.sh

-- 
2.20.1

Reply via email to