]> www.infradead.org Git - nvme.git/commit
octeontx2-af: Remove the PF_FUNC validation for NPC transmit rules
authorSubbaraya Sundeep <sbhatta@marvell.com>
Sun, 11 Feb 2024 19:00:38 +0000 (00:30 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 14 Feb 2024 09:31:44 +0000 (09:31 +0000)
commit858b31133dbec88465bcc0a006f4dc43173662b8
treea30b87f9fc844c096d8d1823e4a175f127c80a54
parent1e41f11f08bcc38609d83a8b35fa15bf148f7144
octeontx2-af: Remove the PF_FUNC validation for NPC transmit rules

NPC transmit side mcam rules can use the pcifunc (in packet metadata
added by hardware) of transmitting device for mcam lookup similar to
the channel of receiving device at receive side.
The commit 18603683d766 ("octeontx2-af: Remove channel verification
while installing MCAM rules") removed the receive side channel
verification to save hardware MCAM filters while switching packets
across interfaces but missed removing transmit side checks.
This patch removes transmit side rules validation.

Fixes: 18603683d766 ("octeontx2-af: Remove channel verification while installing MCAM rules")
Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c