Searched hist:"359 ec56679efde731c09b2f1f9c93f65dd8e29df" (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | trap.h | diff 359ec56679efde731c09b2f1f9c93f65dd8e29df Sun Jan 05 17:20:52 CET 2020 Amit Cohen <amitc@mellanox.com> mlxsw: spectrum: Disable MC_DMAC check in hardware pipeline
The check drops packets if they need to be routed and their multicast MAC mismatched to their multicast destination IP.
For IPV4: DMAC is mismatched if it is different from {01-00-5E-0 (25 bits), DIP[22:0]}
For IPV6: DMAC is mismatched if it is different from {33-33-0 (16 bits), DIP[31:0]}
Disable the check since the kernel forwards such packets and does not drop them.
Signed-off-by: Amit Cohen <amitc@mellanox.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | spectrum.c | diff 359ec56679efde731c09b2f1f9c93f65dd8e29df Sun Jan 05 17:20:52 CET 2020 Amit Cohen <amitc@mellanox.com> mlxsw: spectrum: Disable MC_DMAC check in hardware pipeline
The check drops packets if they need to be routed and their multicast MAC mismatched to their multicast destination IP.
For IPV4: DMAC is mismatched if it is different from {01-00-5E-0 (25 bits), DIP[22:0]}
For IPV6: DMAC is mismatched if it is different from {33-33-0 (16 bits), DIP[31:0]}
Disable the check since the kernel forwards such packets and does not drop them.
Signed-off-by: Amit Cohen <amitc@mellanox.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|