mirror-linux/drivers/net
Rakesh Babu Saladi f2e664ad50 octeontx2-af: Support variable number of lmacs
Most of the code in CGX/RPM driver assumes that max lmacs per
given MAC as always, 4 and the number of MAC blocks also as 4.
With this assumption, the max number of interfaces supported is
hardcoded to 16. This creates a problem as next gen CN10KB silicon
MAC supports 8 lmacs per MAC block.

This patch solves the problem by using "max lmac per MAC block"
value from constant csrs and uses cgx_cnt_max value which is
populated based number of MAC blocks supported by silicon.

Signed-off-by: Rakesh Babu Saladi <rsaladi2@marvell.com>
Signed-off-by: Hariprasad Kelam <hkelam@marvell.com>
Signed-off-by: Sunil Kovvuri Goutham <sgoutham@marvell.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2022-12-07 12:24:29 +01:00
..
appletalk
arcnet
bonding bonding: uninitialized variable in bond_miimon_inspect() 2022-12-01 10:47:36 +01:00
caif
can Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-11-29 13:04:52 -08:00
dsa net: dsa: microchip: ksz8: move all DSA configurations to one location 2022-12-07 11:57:58 +01:00
ethernet octeontx2-af: Support variable number of lmacs 2022-12-07 12:24:29 +01:00
fddi
fjes
hamradio
hippi
hyperv
ieee802154
ipa net: ipa: use sysfs_emit() to instead of scnprintf() 2022-12-05 11:03:49 +00:00
ipvlan Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-11-29 13:04:52 -08:00
mctp
mdio net: mdiobus: fix unbalanced node reference count 2022-11-28 18:10:25 -08:00
netdevsim net: devlink: let the core report the driver name instead of the drivers 2022-11-30 21:49:38 -08:00
pcs net: pcs: altera-tse: remove unnecessary register definitions 2022-11-29 20:29:55 -08:00
phy net: sfp: clean up i2c-bus property parsing 2022-12-06 18:54:14 -08:00
plip
ppp
pse-pd
slip
team
usb Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-11-29 13:04:52 -08:00
vmxnet3
vxlan
wan
wireguard
wireless net: ethernet: mtk_wed: add reset to rx_ring_setup callback 2022-12-06 20:40:53 -08:00
wwan Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-11-29 13:04:52 -08:00
xen-netback
Kconfig
LICENSE.SRC
Makefile
Space.c
amt.c
bareudp.c
dummy.c
eql.c
geneve.c
gtp.c
ifb.c
loopback.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-11-29 13:04:52 -08:00
macsec.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-11-29 13:04:52 -08:00
macvlan.c
macvtap.c
mdio.c
mhi_net.c
mii.c
net_failover.c
netconsole.c
nlmon.c
ntb_netdev.c net: net_netdev: Fix error handling in ntb_netdev_init_module() 2022-11-28 11:07:13 +00:00
rionet.c
sb1000.c
sungem_phy.c
tap.c
thunderbolt.c net: thunderbolt: Use bitwise types in the struct thunderbolt_ip_frame_header 2022-12-02 10:42:26 +00:00
tun.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-11-29 13:04:52 -08:00
veth.c
virtio_net.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-11-29 13:04:52 -08:00
vrf.c
vsockmon.c
xen-netfront.c