diff options
author | Maxim Mikityanskiy <maximmi@nvidia.com> | 2022-01-25 12:52:55 +0200 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2022-02-14 22:30:51 -0800 |
commit | 62f7991feab69ed398ad6a03b911fa0ee0549516 (patch) | |
tree | 010bc8b6b4e12a9384666c48dde7836957dd0279 /net/switchdev/switchdev.c | |
parent | 3ab45777a27c5f53a55a2c353b70648449ca7a33 (diff) | |
download | linux-62f7991feab69ed398ad6a03b911fa0ee0549516.tar.gz linux-62f7991feab69ed398ad6a03b911fa0ee0549516.tar.bz2 linux-62f7991feab69ed398ad6a03b911fa0ee0549516.zip |
net/mlx5e: Move repeating code that gets TC prio into a function
Both mlx5e_select_queue and mlx5e_select_ptpsq contain the same logic to
get user priority of a packet, according to the current trust state
settings. This commit moves this repeating code to its own function.
Signed-off-by: Maxim Mikityanskiy <maximmi@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions