]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
mlxsw: spectrum_matchall: Push per-port rule add/del into separate functions
authorJiri Pirko <jiri@mellanox.com>
Mon, 27 Apr 2020 15:13:06 +0000 (18:13 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Apr 2020 19:43:29 +0000 (12:43 -0700)
commitdd0fbc89d274e392a077c5dc9a21d581de3252d1
tree33ee5f22dc6164ba456faf1789276c712a57693c
parent47fa15eae487f3f454d004894671ebea53e77bde
mlxsw: spectrum_matchall: Push per-port rule add/del into separate functions

As the replace/destroy is going to be used later on per-block, push
the per-port rule addition/deletion into separate functions.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_matchall.c