diff options
author | Aya Levin <ayal@nvidia.com> | 2021-04-19 10:58:31 +0200 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2021-06-10 02:20:05 +0200 |
commit | a6ee6f5f1082c416f9bfffbae1a87feff8a6ab3d (patch) | |
tree | 69ed02ac3df1fb17163113cb1f4176e1c71eaa1f /lib/errseq.c | |
parent | net/mlx5e: Don't update netdev RQs with PTP-RQ (diff) | |
download | linux-a6ee6f5f1082c416f9bfffbae1a87feff8a6ab3d.tar.xz linux-a6ee6f5f1082c416f9bfffbae1a87feff8a6ab3d.zip |
net/mlx5e: Fix select queue to consider SKBTX_HW_TSTAMP
Steering packets to PTP-SQ should be done only if the SKB has
SKBTX_HW_TSTAMP set in the tx_flags. While here, take the function into
a header and inline it.
Set the whole condition to select the PTP-SQ to unlikely.
Fixes: 24c22dd0918b ("net/mlx5e: Add states to PTP channel")
Signed-off-by: Aya Levin <ayal@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Maxim Mikityanskiy <maximmi@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'lib/errseq.c')
0 files changed, 0 insertions, 0 deletions