diff options
author | Yuval Mintz | 2018-03-26 14:01:41 +0200 |
---|---|---|
committer | David S. Miller | 2018-03-26 19:14:44 +0200 |
commit | 4caef4638f0bea78aa1625ad7fa20df5076d17bf (patch) | |
tree | 3d73358ca982e346c99a07e21ca8085f90feed3f /drivers/net/ethernet/mellanox/mlxsw/reg.h | |
parent | mlxsw: spectrum_router: Support IPv6 multicast to host CPU (diff) | |
download | kernel-qcow2-linux-4caef4638f0bea78aa1625ad7fa20df5076d17bf.tar.gz kernel-qcow2-linux-4caef4638f0bea78aa1625ad7fa20df5076d17bf.tar.xz kernel-qcow2-linux-4caef4638f0bea78aa1625ad7fa20df5076d17bf.zip |
mlxsw: spectrum_mr: Convert into using mr_mfc
Current multicast routing logic in driver assumes it's always meant to
deal with IPv4 multicast routes, leaving several placeholders for
later IPv6 support [currently usually WARN()].
This patch changes the driver's internal multicast route struct into
holding a common mr_mfc instead of the IPv4 mfc_cache.
The various placeholders are grouped into 2:
- Functions that require only the common bits; These remain and the
restriction for IPv4-only is lifted.
- Function that require IPv4-specifics - for handling these functions
we add sets of operations that encapsulate the protocol differences
Signed-off-by: Yuval Mintz <yuvalm@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/reg.h')
0 files changed, 0 insertions, 0 deletions