]> www.infradead.org Git - users/jedix/linux-maple.git/commit
octeontx2-af: Fix SDP MAC link credits configuration
authorGeetha sowjanya <gakula@marvell.com>
Tue, 26 Nov 2024 11:44:31 +0000 (17:14 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Dec 2024 13:18:56 +0000 (13:18 +0000)
commit28866d6e84b8d36a76b2cde221391aed1294e5cd
tree4cf91486818691731e5a385ca0c530453df92543
parenta747e02430dfb3657141f99aa6b09331283fa493
octeontx2-af: Fix SDP MAC link credits configuration

Current driver allows only packet size < 512B as SDP_LINK_CREDIT
register is set to default value.
This patch fixes this issue by configure the register with
maximum HW supported value to allow packet size > 512B.

Fixes: 2f7f33a09516 ("octeontx2-pf: Add representors for sdp MAC")
Signed-off-by: Geetha sowjanya <gakula@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/af/common.h
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c