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@xxxxxxxxxx> Reviewed-by: Simon Horman <simon.horman@xxxxxxxxxxxx>