OSDN Git Service

Merge branch 'HW-support-for-VCAP-IS1-and-ES0-in-mscc_ocelot'
authorDavid S. Miller <davem@davemloft.net>
Wed, 30 Sep 2020 01:26:42 +0000 (18:26 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Sep 2020 01:26:42 +0000 (18:26 -0700)
commit611ba7536e7ecb58f766b1315a2f9ef4b10b3572
tree146452a808c299a5e54ec21dfa1edf4f7c673f0d
parent879456bedbe54f2d38b15c21dc5e3c30232b53e1
parent98642d1aa2c68840c9d0d8386986bcf662f3cd30
Merge branch 'HW-support-for-VCAP-IS1-and-ES0-in-mscc_ocelot'

Vladimir Oltean says:

====================
HW support for VCAP IS1 and ES0 in mscc_ocelot

The patches from RFC series "Offload tc-flower to mscc_ocelot switch
using VCAP chains" have been split into 2:
https://patchwork.ozlabs.org/project/netdev/list/?series=204810&state=*

This is the boring part, that deals with the prerequisites, and not with
tc-flower integration. Apart from the initialization of some hardware
blocks, which at this point still don't do anything, no new
functionality is introduced.

- Key and action field offsets are defined for the supported switches.
- VCAP properties are added to the driver for the new TCAM blocks. But
  instead of adding them manually as was done for IS2, which is error
  prone, the driver is refactored to read these parameters from
  hardware, which is possible.
- Some improvements regarding the processing of struct ocelot_vcap_filter.
- Extending the code to be compatible with full and quarter keys.

This series was tested, along with other patches not yet submitted, on
the Felix and Seville switches.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>