Files
iproute2-next/tc
Choong Yong Liang 863c96cea4 tc: Add support for Hold/Release mechanism in TSN as per IEEE 802.1Q-2018
This commit enhances the q_taprio module by adding support for the
Hold/Release mechanism in Time-Sensitive Networking (TSN), as specified
in the IEEE 802.1Q-2018 standard.

Changes include:
- Addition of `TC_TAPRIO_CMD_SET_AND_HOLD` and `TC_TAPRIO_CMD_SET_AND_RELEASE`
cases in the `entry_cmd_to_str` function to return "H" and "R" respectively.
- Addition of corresponding string comparisons in the `str_to_entry_cmd`
function to map "H" and "R" to `TC_TAPRIO_CMD_SET_AND_HOLD` and
`TC_TAPRIO_CMD_SET_AND_RELEASE`.

The Hold/Release feature works as follows:
- Set-And-Hold-MAC (H): This command sets the gates and holds the current
configuration, preventing any further changes until a release command is
issued.
- Set-And-Release-MAC (R): This command releases the hold, allowing
subsequent gate configuration changes to take effect.

These changes ensure that the q_taprio module can correctly interpret and
handle the Hold/Release commands, aligning with the IEEE 802.1Q-2018 standard
for enhanced TSN configuration.

Signed-off-by: Choong Yong Liang <yong.liang.choong@linux.intel.com>
Signed-off-by: Jose Abreu <Jose.Abreu@synopsys.com>
Signed-off-by: David Ahern <dsahern@kernel.org>
2024-11-18 16:54:00 +00:00
..
2020-01-20 09:43:22 -08:00
2024-03-12 15:11:43 -07:00
2024-01-25 16:49:10 -08:00
2023-01-14 09:00:34 -08:00
2023-01-14 09:00:34 -08:00
2023-01-14 09:00:34 -08:00
2023-01-14 09:00:34 -08:00
2023-01-14 09:00:34 -08:00
2023-01-14 09:00:34 -08:00
2020-01-20 09:43:22 -08:00
2023-01-14 09:00:34 -08:00
2024-03-12 15:11:43 -07:00
2023-01-14 09:00:34 -08:00
2023-01-14 09:00:34 -08:00
2024-01-08 01:44:50 +00:00
2023-01-14 09:00:34 -08:00
2023-01-14 09:00:34 -08:00
2023-01-14 09:00:34 -08:00
2023-01-14 09:00:34 -08:00
2023-01-14 09:00:34 -08:00
2023-01-14 09:00:34 -08:00
2024-03-12 15:11:43 -07:00
2024-03-12 15:11:43 -07:00
2024-03-12 15:11:43 -07:00
2024-03-12 15:11:43 -07:00
2024-03-12 15:11:43 -07:00
2024-03-12 15:11:43 -07:00
2024-03-12 15:11:43 -07:00
2024-03-12 15:11:43 -07:00
2024-03-12 15:11:43 -07:00
2024-03-12 15:11:43 -07:00
2024-03-12 15:11:43 -07:00
2024-03-12 15:11:43 -07:00
2024-03-12 15:11:43 -07:00
2024-03-12 15:11:43 -07:00
2024-03-12 15:11:43 -07:00
2024-03-12 15:11:43 -07:00
2024-03-12 15:11:43 -07:00
2024-03-12 15:11:43 -07:00
2024-03-12 15:11:43 -07:00
2024-10-07 09:37:24 -07:00
2024-03-12 15:11:43 -07:00
2024-03-12 15:11:43 -07:00
2024-03-12 15:11:43 -07:00
2024-03-12 15:11:43 -07:00
2024-03-12 15:11:43 -07:00
2024-03-12 15:11:43 -07:00
2024-03-12 15:11:43 -07:00
2024-03-12 15:11:43 -07:00
2024-03-12 15:11:43 -07:00
2017-11-24 12:21:35 -08:00
2024-03-12 15:11:43 -07:00
2024-03-13 09:56:29 -07:00
2024-03-13 09:56:29 -07:00
2023-01-14 09:00:34 -08:00
2024-03-12 15:11:43 -07:00
2024-03-12 15:11:43 -07:00
2024-03-12 15:11:43 -07:00
2020-07-20 16:34:02 +00:00
2023-01-14 09:00:34 -08:00
2018-11-24 07:10:58 -08:00
2023-01-14 09:00:34 -08:00
2024-10-05 17:48:11 +00:00