]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
mlxsw: core_acl_flex_keys: Split MAC and IP address flex key elements
authorJiri Pirko <jiri@mellanox.com>
Sun, 8 Jul 2018 07:00:17 +0000 (10:00 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sun, 8 Jul 2018 08:05:19 +0000 (17:05 +0900)
commitc43ea06dbd8c3daa2c6e3fa6ce3713b454c375f9
tree91e5845bbd8d2065b7cd57b85b1825846aab773a
parent2139469b0461ac750b616d110756e374d298e228
mlxsw: core_acl_flex_keys: Split MAC and IP address flex key elements

Since in Spectrum-2, MACs are split and IP addresses are split as well,
in order to use the same elements for Spectrum and Spectrum-2 split them
now.

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/core_acl_flex_keys.h
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_flex_keys.h
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c
drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c