diff options
author | Yuval Mintz <yuvalm@mellanox.com> | 2018-03-26 15:01:41 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-26 13:14:44 -0400 |
commit | 4caef4638f0bea78aa1625ad7fa20df5076d17bf (patch) | |
tree | 3d73358ca982e346c99a07e21ca8085f90feed3f /drivers/net/ethernet/freescale | |
parent | 9742f866bd82f6a7fc3dafa538bd0fa2a73a1e5f (diff) |
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/freescale')
0 files changed, 0 insertions, 0 deletions