]> www.infradead.org Git - users/hch/xfs.git/commit
octeontx2-af: Always allocate PF entries from low prioriy zone
authorSubbaraya Sundeep <sbhatta@marvell.com>
Wed, 29 May 2024 15:29:44 +0000 (20:59 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 5 Jun 2024 08:40:02 +0000 (09:40 +0100)
commit8b0f7410942cdc420c4557eda02bfcdf60ccec17
tree7cad1665622d5941ce7a306d7fd30ea9a7ccbdcf
parenta535d59432370343058755100ee75ab03c0e3f91
octeontx2-af: Always allocate PF entries from low prioriy zone

PF mcam entries has to be at low priority always so that VF
can install longest prefix match rules at higher priority.
This was taken care currently but when priority allocation
wrt reference entry is requested then entries are allocated
from mid-zone instead of low priority zone. Fix this and
always allocate entries from low priority zone for PFs.

Fixes: 7df5b4b260dd ("octeontx2-af: Allocate low priority entries for PF")
Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c