Thread (20 messages) 20 messages, 5 authors, 2023-05-23

Re: [PATCH net-next 4/5] mlxsw: spectrum_flower: Add ability to match on layer 2 miss

From: Simon Horman <hidden>
Date: 2023-05-19 11:36:07
Also in: bridge

On Thu, May 18, 2023 at 02:33:27PM +0300, Ido Schimmel wrote:
Add the 'dmac_type' key element to supported key blocks and make use of
it to match on layer 2 miss.

This is a two bits key in hardware with the following values:
00b - Known multicast.
01b - Broadcast.
10b - Known unicast.
11b - Unknown unicast or unregistered multicast.

When 'l2_miss' is set we need to match on 01b or 11b. Therefore, only
match on the LSB in order to differentiate between both cases of
'l2_miss'.

Tested on Spectrum-{1,2,3,4}.

Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Simon Horman <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help