]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mlxsw: spectrum: Fix gact_ok offloading
authorJiri Pirko <jiri@mellanox.com>
Fri, 9 Mar 2018 13:33:52 +0000 (15:33 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Mar 2018 18:02:13 +0000 (13:02 -0500)
commit49bae2f3093b0a7bc5e1a158d89697a73cdb0243
tree2465b34fdf399b2a22b33847412451acbf5f2403
parentbcf34adc105d946437da3a575df3b390493e9078
mlxsw: spectrum: Fix gact_ok offloading

For ok GACT action, TERMINATE binding_cmd should be used in action set
passed down to HW.

Fixes: b2925957ec1a9 ("mlxsw: spectrum_flower: Offload "ok" termination action")
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Reported-by: Alexander Petrovskiy <alexpe@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.c
drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.h
drivers/net/ethernet/mellanox/mlxsw/spectrum.h
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c
drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c