diff options
author | Ratheesh Kannoth <rkannoth@marvell.com> | 2023-05-03 12:39:35 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-05-03 09:02:59 +0100 |
commit | c60a6b90e7890453f09e0d2163d6acadabe3415b (patch) | |
tree | 494f370b181d0caf0846a1177d0c7cbe6d58748c /drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_hash.c | |
parent | 048486f81d01db4d100af021ee2ea211d19732a0 (diff) |
octeontx2-af: Fix start and end bit for scan config
In the current driver, NPC exact match feature was not getting
enabled as configured bit was not read properly.
for_each_set_bit_from() need end bit as one bit post
position in the bit map to read NPC exact nibble enable
bits properly. This patch fixes the same.
Fixes: b747923afff8 ("octeontx2-af: Exact match support")
Signed-off-by: Ratheesh Kannoth <rkannoth@marvell.com>
Signed-off-by: Sunil Kovvuri Goutham <sgoutham@marvell.com>
Signed-off-by: Sai Krishna <saikrishnag@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_hash.c')
0 files changed, 0 insertions, 0 deletions