]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: marvell: prestera: define MDB/flood domain entries and HW API to offload them...
authorOleksandr Mazur <oleksandr.mazur@plvision.eu>
Mon, 11 Jul 2022 11:28:20 +0000 (14:28 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Jul 2022 11:14:05 +0000 (12:14 +0100)
commitfec7c9c73fd389136fe7dd58371c0ff88b0a9704
tree627391542c48ad759f4146fccd3570ca613ea67b
parent116f5af7c3ab661fe98511a856c8fd739757d039
net: marvell: prestera: define MDB/flood domain entries and HW API to offload them to the HW

Define MDB entry that can be offloaded:
  - FDB entry, that defines an multicast group to which traffic can be
    replicated to;
Define flood domain:
  - Arrangement of ports (list), that have joined multicast group, which
    would receive and replicate to multicast traffic of specified group;
Define flood domain port:
  - single flood domain list entry, that is associated with any given
    bridge port interface (could be LAG interface or physical port-member).
    Applicable to both Q and D bridges;

Co-developed-by: Yevhen Orlov <yevhen.orlov@plvision.eu>
Signed-off-by: Yevhen Orlov <yevhen.orlov@plvision.eu>
Signed-off-by: Oleksandr Mazur <oleksandr.mazur@plvision.eu>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/prestera/prestera.h
drivers/net/ethernet/marvell/prestera/prestera_hw.c
drivers/net/ethernet/marvell/prestera/prestera_hw.h
drivers/net/ethernet/marvell/prestera/prestera_main.c