net/mlx5e: TX, Obsolete maintaining local copies of skb->len/data
authorTariq Toukan <tariqt@mellanox.com>
Thu, 24 May 2018 10:44:24 +0000 (13:44 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 1 Jun 2018 23:48:14 +0000 (16:48 -0700)
commit5e7d77a9c5738457cdaa6bc230799c8f80733481
tree11df478510455afedd88703fba07a8d8dc2d9974
parent98db16bab59fed3834cd0c0f4a3dbca57a61fad5
net/mlx5e: TX, Obsolete maintaining local copies of skb->len/data

Instead of maintaining a local copy of skb->len/data and updating
it upon every copy to the WQE inline part, just calculate it once
when needed, using the ihs.

This obsoletes the function mlx5e_tx_skb_pull_inline.

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