]> git.baikalelectronics.ru Git - kernel.git/commit
octeontx2-af: fix Extended DSA and eDSA parsing
authorSatha Rao <skoteshwar@marvell.com>
Tue, 29 Sep 2020 09:28:17 +0000 (11:28 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Sep 2020 20:12:03 +0000 (13:12 -0700)
commit980d587fcbc289a3b6eec174fe1b1dea445f97f0
tree38f31b5ab23a59fa17814e9037b2030414c064c5
parent9ffd63359fc1844cbefead8f1586248e5d165333
octeontx2-af: fix Extended DSA and eDSA parsing

KPU profile interpret Extended DSA and eDSA by looking source dev. This
was incorrect and it restricts to use few source device ids and also
created confusion while parsing regular DSA tag. With below patch lookup
was based on bit 12 of Word0. This is always zero for DSA tag and it
should be one for Extended DSA and eDSA.

Signed-off-by: Satha Rao <skoteshwar@marvell.com>
Acked-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/af/npc_profile.h