Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

octeontx2-af: Increase maximum BPID channels

Any NIX interface type can have maximum 256 channels. So increased the
backpressure ID count to 256 so that it can cover cn9k and cn10k SoCs that
have different NIX interface types with varied maximum channels.

Signed-off-by: Radha Mohan Chintakuntla <radhac@marvell.com>
Link: https://lore.kernel.org/r/20240326184514.1628284-1-radhac@marvell.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Radha Mohan Chintakuntla and committed by
Jakub Kicinski
b6694abc e6091ba5

+2 -4
+2 -4
drivers/net/ethernet/marvell/octeontx2/af/mbox.h
··· 1213 1213 /* bpid_per_chan = 1 assigns separate bp id for each channel */ 1214 1214 }; 1215 1215 1216 - /* PF can be mapped to either CGX or LBK interface, 1217 - * so maximum 64 channels are possible. 1218 - */ 1219 - #define NIX_MAX_BPID_CHAN 64 1216 + /* Maximum channels any single NIX interface can have */ 1217 + #define NIX_MAX_BPID_CHAN 256 1220 1218 struct nix_bp_cfg_rsp { 1221 1219 struct mbox_msghdr hdr; 1222 1220 u16 chan_bpid[NIX_MAX_BPID_CHAN]; /* Channel and bpid mapping */