]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
net/mlx5e: IPOIB, Add a missing skb_pull
authorTariq Toukan <tariqt@mellanox.com>
Thu, 31 May 2018 15:04:23 +0000 (18:04 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 1 Jun 2018 23:48:14 +0000 (16:48 -0700)
A call to mlx5e_tx_skb_pull_inline was mistakenly dropped
in the cited patch. Get it back.

Fixes: 043dc78ecf07 ("net/mlx5e: TX, Use actual WQE size for SQ edge fill")
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_tx.c

index 9829ee02de31a3aec7ae91dbe6d920ce64e7c0e2..725c06221e95697f0311cb9e8809367f1f4cd56b 100644 (file)
@@ -705,6 +705,7 @@ netdev_tx_t mlx5i_sq_xmit(struct mlx5e_txqsq *sq, struct sk_buff *skb,
 
        if (ihs) {
                memcpy(eseg->inline_hdr.start, skb_data, ihs);
+               mlx5e_tx_skb_pull_inline(&skb_data, &skb_len, ihs);
                eseg->inline_hdr.sz = cpu_to_be16(ihs);
                dseg += ds_cnt_inl;
        }