OSDN Git Service

octeontx2-af: Fix promiscuous mode
authorRatheesh Kannoth <rkannoth@marvell.com>
Thu, 8 Jun 2023 05:16:25 +0000 (10:46 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Jun 2023 09:47:59 +0000 (10:47 +0100)
commitc0e489372a294044feea650b38f38c888eff57a4
tree9ec49aa4ba2a9c95a2238438cfd8cd921012d257
parent0ad4982c520ed87ea7ebfc9381ea1f617ed75364
octeontx2-af: Fix promiscuous mode

CN10KB silicon introduced a new exact match feature,
which is used for DMAC filtering. The state of installed
DMAC filters in this exact match table is getting corrupted
when promiscuous mode is toggled. Fix this by not touching
Exact match related config when promiscuous mode is toggled.

Fixes: 2dba9459d2c9 ("octeontx2-af: Wrapper functions for MAC addr add/del/update/reset")
Signed-off-by: Ratheesh Kannoth <rkannoth@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_hash.c