net: thunderx: Support for different LMAC types within BGX
authorSunil Goutham <sgoutham@cavium.com>
Fri, 12 Aug 2016 11:21:30 +0000 (16:51 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Aug 2016 18:59:30 +0000 (11:59 -0700)
commit0bcb7d510c857a7ecfe4196e7900786057255c5b
treecc81ee65a667280e6a8fa547fe1b82890ecc8149
parent52358aad36abb2bc9017d7319f2531b94429354d
net: thunderx: Support for different LMAC types within BGX

On 88xx all LMACs in a BGX will be in same mode but on 81xx
BGX can be split as two and there can be LMACs configured in
different modes.

These changes move lmac_type, lane2serdes fields into per lmac
struct from BGX struct. Got rid of qlm_mode field which has become
redundant with these changes. And now no of valid LMACs is read
from CSRs configured by low level firmware and figuring out the
same based on QLM mode is discarded

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
This page took 0.02532 seconds and 5 git commands to generate.