octeontx2-pf: Dont allocate BPIDs for LBK interfaces
authorGeetha sowjanya <gakula@marvell.com>
Sun, 16 Jul 2023 09:37:41 +0000 (15:07 +0530)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 18 Jul 2023 12:51:45 +0000 (14:51 +0200)
commit8fcd7c7b3a38ab5e452f542fda8f7940e77e479a
tree785f67c18bb81d4b3b31a9f53de29a0288e33bfe
parent2033ab90380d46e0e9f0520fd6776a73d107fd95
octeontx2-pf: Dont allocate BPIDs for LBK interfaces

Current driver enables backpressure for LBK interfaces.
But these interfaces do not support this feature.
Hence, this patch fixes the issue by skipping the
backpressure configuration for these interfaces.

Fixes: 75f36270990c ("octeontx2-pf: Support to enable/disable pause frames via ethtool").
Signed-off-by: Geetha sowjanya <gakula@marvell.com>
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Link: https://lore.kernel.org/r/20230716093741.28063-1-gakula@marvell.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c