Merge branch 'cn10kb-mac-block-support'
authorPaolo Abeni <pabeni@redhat.com>
Wed, 7 Dec 2022 11:28:06 +0000 (12:28 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Wed, 7 Dec 2022 11:28:06 +0000 (12:28 +0100)
commita2220b54589b1d2a404f6eb5f6bc3c0ace2b504f
tree3fb8c803998d50a64e8ef0fbd457af9e1c360561
parentf82389eecdd24a50f0d33d58127aeacc48d53511
parent84ad3642115dfc2f17b6bd98e0470f799b8411e3
Merge branch 'cn10kb-mac-block-support'

Hariprasad Kelam says:

====================
CN10KB MAC block support

OcteonTx2's next gen platform the CN10KB has RPM_USX MAC which has a
different serdes when compared to RPM MAC. Though the underlying
HW is different, the CSR interface has been designed largely inline
with RPM MAC, with few exceptions though. So we are using the same
CGX driver for RPM_USX MAC as well and will have a different set of APIs
for RPM_USX where ever necessary.

The RPM and RPM_USX blocks support a different number of LMACS.
RPM_USX support 8 LMACS per MAC block whereas legacy RPM supports only 4
LMACS per MAC. with this RPM_USX support double the number of DMAC filters
and fifo size.

This patchset adds initial support for CN10KB's RPM_USX  MAC i.e
registering the driver and defining MAC operations (mac_ops). With these
changes PF and VF netdev packet path will work and PF and VF netdev drivers
are able to configure MAC features like pause frames,PFC and loopback etc.

Also implements FEC stats for CN10K Mac block RPM and CN10KB Mac block
RPM_USX and extends ethtool support for PF and VF drivers by defining
get_fec_stats API to display FEC stats.
====================

Link: https://lore.kernel.org/r/20221205070521.21860-1-hkelam@marvell.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>