summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/ice/ice_irq.h
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2024-11-05 13:31:10 +0100
committerPaolo Abeni <pabeni@redhat.com>2024-11-05 13:31:10 +0100
commitccb35037c48a16dfa377e3af3be2c164e73d54f0 (patch)
treedd3d8f5d0ce00942c64c7b3f8662fbafb2c31b06 /drivers/net/ethernet/intel/ice/ice_irq.h
parent7af3a6558cb415216f3d2199ea2cb99d8344835d (diff)
parent1091487dc7435532a04210faeaaf1eb5ac0721d0 (diff)
downloadlinux-ccb35037c48a16dfa377e3af3be2c164e73d54f0.tar.gz
linux-ccb35037c48a16dfa377e3af3be2c164e73d54f0.tar.bz2
linux-ccb35037c48a16dfa377e3af3be2c164e73d54f0.zip
Merge branch 'net-lan969x-add-vcap-functionality'
Daniel Machon says: ==================== net: lan969x: add VCAP functionality == Description: This series is the third of a multi-part series, that prepares and adds support for the new lan969x switch driver. The upstreaming efforts is split into multiple series (might change a bit as we go along): 1) Prepare the Sparx5 driver for lan969x (merged) 2) Add support for lan969x (same basic features as Sparx5 provides excl. FDMA and VCAP, merged). --> 3) Add lan969x VCAP functionality. 4) Add RGMII and FDMA functionality. == VCAP support: The Versatile Content-Aware Processor (VCAP) is a content-aware packet processor that allows wirespeed packet inspection for rich implementation of, for example, advanced VLAN and QoS classification and manipulations, IP source guarding, longest prefix matching for Layer-3 routing, and security features for wireline and wireless applications. This is all achieved by programming rules into the VCAP. When a VCAP is enabled, every frame passing through the switch is analyzed and multiple keys are created based on the contents of the frame. The frame is examined to determine the frame type (for example, IPv4 TCP frame), so that the frame information is extracted according to the frame type, port-specific configuration, and classification results from the basic classification. Keys are applied to the VCAP and when there is a match between a key and a rule in the VCAP, the rule is then applied to the frame from which the key was extracted. After this series is applied, the lan969x driver will support the same VCAP functionality as Sparx5. == Patch breakdown: Patch #1 exposes some VCAP symbols for lan969x. Patch #2 replaces VCAP uses of SPX5_PORTS with n_ports from the match data. Patch #3 adds new VCAP constants to match data Patch #4 removes the is_sparx5() check to now initialize the VCAP API on lan969x. Patch #5 adds the auto-generated VCAP data for lan969x. Patch #6 adds the VCAP configuration data for lan969x. Signed-off-by: Daniel Machon <daniel.machon@microchip.com> ==================== Link: https://patch.msgid.link/20241101-sparx5-lan969x-switch-driver-3-v1-0-3c76f22f4bfa@microchip.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_irq.h')
0 files changed, 0 insertions, 0 deletions