aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-debug.h
diff options
context:
space:
mode:
authorRakesh Babu Saladi <[email protected]>2022-12-05 12:35:18 +0530
committerPaolo Abeni <[email protected]>2022-12-07 12:24:29 +0100
commitf2e664ad503d4e5ce7c42a0862ab164331a0ef37 (patch)
treef841d14f4f8d6dfd24df092a718333624dabdbb0 /drivers/usb/cdns3/cdns3-debug.h
parentf82389eecdd24a50f0d33d58127aeacc48d53511 (diff)
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 <[email protected]> Signed-off-by: Hariprasad Kelam <[email protected]> Signed-off-by: Sunil Kovvuri Goutham <[email protected]> Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions