aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorAya Levin <ayal@nvidia.com>2021-04-19 11:58:31 +0300
committerSaeed Mahameed <saeedm@nvidia.com>2021-06-09 17:20:05 -0700
commita6ee6f5f1082c416f9bfffbae1a87feff8a6ab3d (patch)
tree69ed02ac3df1fb17163113cb1f4176e1c71eaa1f /crypto
parentnet/mlx5e: Don't update netdev RQs with PTP-RQ (diff)
downloadlinux-dev-a6ee6f5f1082c416f9bfffbae1a87feff8a6ab3d.tar.xz
linux-dev-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 'crypto')
0 files changed, 0 insertions, 0 deletions