]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_matchall: Publish matchall data structures
authorPetr Machata <petrm@mellanox.com>
Fri, 10 Jul 2020 21:55:12 +0000 (00:55 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Jul 2020 00:22:22 +0000 (17:22 -0700)
commit34922e36b78b8d482f045d8facf9113494aad68c
tree8c1aa78e23577908235df40b2895f25b24c571d8
parent20c652f3273a7dee0a33ec42a607358f9e20530e
mlxsw: spectrum_matchall: Publish matchall data structures

A following patch introduces offloading of filters attached to blocks bound
to the RED tail_drop qevent. The only classifier that mlxsw will permit in
this role is matchall. mlxsw currently offloads matchall filters used with
clsact qdisc. The data structures used for that offload will come handy for
the qevent offload as well. Publish them in spectrum.h.

Signed-off-by: Petr Machata <petrm@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum.h
drivers/net/ethernet/mellanox/mlxsw/spectrum_matchall.c