]> asedeno.scripts.mit.edu Git - linux.git/commit
net/mlx5e: RX, Dedicate a function for copying SKB header
authorTariq Toukan <tariqt@mellanox.com>
Mon, 16 Apr 2018 14:11:07 +0000 (17:11 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 1 Jun 2018 23:48:14 +0000 (16:48 -0700)
commit386471f16b73ddc52d1f711d63c7dba5559c31f6
tree060a212d210605f6ee2c7184d7fce982eac46c9f
parentfa698366b79a07b7cb0e16d3f4b9fd9d89acfd40
net/mlx5e: RX, Dedicate a function for copying SKB header

Get the logic of copying the packet header into the SKB linear part
into a generic function. Function does copy length alignment
and dma buffer sync.

It is currently called only within the MPWQE flow.
In a downstream patch, it will be called within the legacy RQ flow
as well.

Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c