[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190619064109.849-1-idosch@idosch.org>
Date: Wed, 19 Jun 2019 09:41:01 +0300
From: Ido Schimmel <idosch@...sch.org>
To: netdev@...r.kernel.org
Cc: davem@...emloft.net, jiri@...lanox.com, jhs@...atatu.com,
xiyou.wangcong@...il.com, pablo@...filter.org,
ecree@...arflare.com, jakub.kicinski@...ronome.com,
Ido Schimmel <idosch@...lanox.com>
Subject: [PATCH net-next 0/8] mlxsw: Implement flower ingress device matching offload
From: Ido Schimmel <idosch@...lanox.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
Powered by blists - more mailing lists