]> git.baikalelectronics.ru Git - kernel.git/commit
octeontx2-pf: Add check for non zero mcam flows
authorSunil Goutham <sgoutham@marvell.com>
Fri, 20 Aug 2021 08:25:22 +0000 (13:55 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Aug 2021 13:57:59 +0000 (14:57 +0100)
commit58a6cf777cc51ba203a7fe07d40f4038c801198e
treea642b3a46dd25f13f45b3b7f354701a6c32b62c4
parent914dbdba1399f3a75cfea9b9b858521c05193021
octeontx2-pf: Add check for non zero mcam flows

This patch ensures that mcam flows are allocated
before adding or destroying the flows.

Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c