diff options
author | Petr Machata <petrm@nvidia.com> | 2021-10-10 14:40:15 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-10-12 11:19:35 +0100 |
commit | 099bf89d6a35086eee868f8357fb9d84a895b3c6 (patch) | |
tree | b5001ac040d29a2a6fe0a010255883bafa733752 /lib/decompress_bunzip2.c | |
parent | 0908e42ad9a5965eb89028f286c1056bf56978b7 (diff) | |
download | linux-099bf89d6a35086eee868f8357fb9d84a895b3c6.tar.bz2 |
mlxsw: spectrum_qdisc: Track permissible actions per binding
One block can be bound to several qevents. The qevent type that the block
is bound to determines which actions make sense in a given context. In the
particular case of mlxsw, trap cannot be offloaded on a RED mark qevent,
because the trap contract specifies that the packet is dropped in the HW
datapath, and the HW trigger that the action is offloaded to is always
forwarding the packet (in addition to marking in).
Therefore keep track of which actions are permissible at each binding
block. When an attempt is made to bind a certain action at a binding point
where it is not supported, bounce the request.
Signed-off-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/decompress_bunzip2.c')
0 files changed, 0 insertions, 0 deletions