]> git.baikalelectronics.ru Git - kernel.git/commit
net: thunderx: Add support for 16 LMACs of 83xx
authorSunil Goutham <sgoutham@cavium.com>
Fri, 12 Aug 2016 11:21:34 +0000 (16:51 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Aug 2016 18:59:31 +0000 (11:59 -0700)
commitdfd74f2683da810f7d7b631d7f783af55847fdf2
tree29cdc7e2e3647ed5186123bfbc84411b8cc6ddfd
parentd470590f9662e2c4eef5c9394035af279f1d0f17
net: thunderx: Add support for 16 LMACs of 83xx

83xx will have 4 BGX blocks i.e 16 LMACs, to avoid changing
the same with every platform, nicpf struct elements which
track LMAC related info are now allocated runtime based
on platform's max possible BGX count.

Also fixed configuring min packet size for all LMAC's
supported on a platform.

Signed-off-by: Sunil Goutham <sgoutham@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/thunder/nic_main.c
drivers/net/ethernet/cavium/thunder/thunder_bgx.h