net: thunderx: Support for 83xx mixed QLM/DLM config
authorSunil Goutham <sgoutham@cavium.com>
Fri, 12 Aug 2016 11:21:35 +0000 (16:51 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Aug 2016 18:59:31 +0000 (11:59 -0700)
commit09de39176b624b7556d190511aebd92da3420ec9
tree989f03096b04653cf7848da807318325b4e27522
parent949b5331419828ff4c028dae556e5983b06b5d18
net: thunderx: Support for 83xx mixed QLM/DLM config

83xx has 4 BGX blocks and are enabled mixed QLM/DLM
configs. BGX0/BGX1 are from QLM2/QLM3, BGX3 is DLM4
and BGX2 is split across DLM5 & DLM6.

This patch adds support for BGX2's split config and also
enables all 4 BGXs to be used.

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