octeontx2-pf: Avoid adding dcbnl_ops for LBK and SDP vf
authorSuman Ghosh <sumang@marvell.com>
Mon, 19 May 2025 07:26:58 +0000 (12:56 +0530)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 22 May 2025 09:22:18 +0000 (11:22 +0200)
commit184fb40f731bd3353b0887731f7caba66609e9cd
tree193b592a49e7865ab214b4daee5340bea734daa1
parent625b40dcf4ea12335e9a0720a2a6e196f64aee73
octeontx2-pf: Avoid adding dcbnl_ops for LBK and SDP vf

Priority flow control is not supported for LBK and SDP vf. This patch
adds support to not add dcbnl_ops for LBK and SDP vf.

Fixes: 8e67558177f8 ("octeontx2-pf: PFC config support with DCBx")
Signed-off-by: Suman Ghosh <sumang@marvell.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250519072658.2960851-1-sumang@marvell.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c