]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum: Add a new type of KVD linear record
authorIdo Schimmel <idosch@mellanox.com>
Thu, 11 Oct 2018 07:47:55 +0000 (07:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Oct 2018 17:08:22 +0000 (10:08 -0700)
commitee0c82a23faf682bcbf42a535c1a90b4acb94a62
tree04bffaa077d371a72a94e58af70aa8cc86463d59
parent03216734361931ef88c2a340bced9ad85ff70d64
mlxsw: spectrum: Add a new type of KVD linear record

When the device needs to flood an overlay packet to remote VTEPs it
retrieves a pointer to the head of a linked-list of records that store
the IP addresses of these VTEPs.

These records are stored in the KVD linear memory and configured via the
Tunneling NVE Underlay Multicast Table (TNUMT) register.

Add a new KVD linear entry type for these records, so that we will be
able to allocate and free them.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum.h
drivers/net/ethernet/mellanox/mlxsw/spectrum2_kvdl.c