summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.c
diff options
context:
space:
mode:
authorJiri Pirko2019-02-07 12:22:51 +0100
committerDavid S. Miller2019-02-09 00:02:49 +0100
commit29a2102a29085f5505d86bd3cbfe11c6fa08340d (patch)
tree5d9e489d5c98ee918b8cee5d1741ceb63187cb5a /drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.c
parentmlxsw: spectrum_acl: Split entry struct into entry and ventry (diff)
downloadkernel-qcow2-linux-29a2102a29085f5505d86bd3cbfe11c6fa08340d.tar.gz
kernel-qcow2-linux-29a2102a29085f5505d86bd3cbfe11c6fa08340d.tar.xz
kernel-qcow2-linux-29a2102a29085f5505d86bd3cbfe11c6fa08340d.zip
mlxsw: spectrum_acl: Implement basic ERP rehash hits creation
Introduce an initial implementation of rehash logic in ERP code. Currently, the rehash is considered as needed only in case number of roots in the hints is smaller than the number of roots actually in use. In that case return hints pointer and let it be obtained through the callpath through the Spectrum-2 TCAM op. 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>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.c')
0 files changed, 0 insertions, 0 deletions