mlxsw: reg: Add a function to fill IPv6 unicast FDB entries
authorAmit Cohen <amcohen@nvidia.com>
Tue, 14 Dec 2021 14:25:48 +0000 (16:25 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Dec 2021 15:05:44 +0000 (15:05 +0000)
commit4b08c3e676b1d8f3820287582ce66f96307c4863
tree15ba14167f1d9b785e34f498cf756c26863b2e9e
parent1fd85416e3b5c9e53bf729c9d2a3922cdf3e3267
mlxsw: reg: Add a function to fill IPv6 unicast FDB entries

Add a function to fill IPv6 unicast FDB entries. Use the common function
for common fields.

Unlike IPv4 entries, the underlay IP address is not filled in the
register payload, but instead a pointer to KVDL is used.

Signed-off-by: Amit Cohen <amcohen@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/reg.h