Skip to content

Commit 0dce684

Browse files
committed
Merge branch 'net-mlx5-misc-changes-2025-07-16'
Tariq Toukan says: ==================== net/mlx5: misc changes 2025-07-16 This series contains misc enhancements to the mlx5 driver. v1: https://lore.kernel.org/[email protected] ==================== Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
2 parents 2b0ba7b + 2a601b2 commit 0dce684

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

drivers/net/ethernet/mellanox/mlx5/core/en/qos.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ void mlx5e_reactivate_qos_sq(struct mlx5e_priv *priv, u16 qid, struct netdev_que
374374
void mlx5e_reset_qdisc(struct net_device *dev, u16 qid)
375375
{
376376
struct netdev_queue *dev_queue = netdev_get_tx_queue(dev, qid);
377-
struct Qdisc *qdisc = dev_queue->qdisc_sleeping;
377+
struct Qdisc *qdisc = rtnl_dereference(dev_queue->qdisc_sleeping);
378378

379379
if (!qdisc)
380380
return;

drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_offload.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@ u32 mlx5_ipsec_device_caps(struct mlx5_core_dev *mdev)
4242

4343
if (MLX5_CAP_IPSEC(mdev, ipsec_full_offload) &&
4444
(mdev->priv.steering->mode == MLX5_FLOW_STEERING_MODE_DMFS ||
45-
(mdev->priv.steering->mode == MLX5_FLOW_STEERING_MODE_SMFS &&
46-
is_mdev_legacy_mode(mdev)))) {
45+
is_mdev_legacy_mode(mdev))) {
4746
if (MLX5_CAP_FLOWTABLE_NIC_TX(mdev,
4847
reformat_add_esp_trasport) &&
4948
MLX5_CAP_FLOWTABLE_NIC_RX(mdev,

drivers/net/ethernet/mellanox/mlx5/core/eswitch.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -827,7 +827,7 @@ void mlx5_esw_vport_vhca_id_clear(struct mlx5_eswitch *esw, u16 vport_num);
827827
int mlx5_eswitch_vhca_id_to_vport(struct mlx5_eswitch *esw, u16 vhca_id, u16 *vport_num);
828828

829829
/**
830-
* mlx5_esw_event_info - Indicates eswitch mode changed/changing.
830+
* struct mlx5_esw_event_info - Indicates eswitch mode changed/changing.
831831
*
832832
* @new_mode: New mode of eswitch.
833833
*/

0 commit comments

Comments
 (0)