Searched hist:c70a5e2c3d18f2ddad0a3d912afa60a1cc7c8e27 (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_psfp.c | diff c70a5e2c3d18f2ddad0a3d912afa60a1cc7c8e27 Thu Feb 02 04:43:52 CST 2023 Daniel Machon <daniel.machon@microchip.com> net: microchip: sparx5: add support for PSFP stream gates
Add support for configuring PSFP stream gates (IEEE 802.1Q-2018, 8.6.5.1.2).
Stream gates are time-based policers used by PSFP. Frames are dropped based on the gate state (OPEN/ CLOSE), whose state will be altered based on the Gate Control List (GCL) and current PTP time. Apart from time-based policing, stream gates can alter egress queue selection for the frames that pass through the Gate. This is done through Internal Priority Selector (IPS). Stream gates are mapped from stream filters.
Signed-off-by: Daniel Machon <daniel.machon@microchip.com> Reviewed-by: Simon Horman <simon.horman@corigine.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | sparx5_main.h | diff c70a5e2c3d18f2ddad0a3d912afa60a1cc7c8e27 Thu Feb 02 04:43:52 CST 2023 Daniel Machon <daniel.machon@microchip.com> net: microchip: sparx5: add support for PSFP stream gates
Add support for configuring PSFP stream gates (IEEE 802.1Q-2018, 8.6.5.1.2).
Stream gates are time-based policers used by PSFP. Frames are dropped based on the gate state (OPEN/ CLOSE), whose state will be altered based on the Gate Control List (GCL) and current PTP time. Apart from time-based policing, stream gates can alter egress queue selection for the frames that pass through the Gate. This is done through Internal Priority Selector (IPS). Stream gates are mapped from stream filters.
Signed-off-by: Daniel Machon <daniel.machon@microchip.com> Reviewed-by: Simon Horman <simon.horman@corigine.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|