]> git.baikalelectronics.ru Git - kernel.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)
commit6780530c77003c414130781f093ac8b76c3eae8a
tree060a212d210605f6ee2c7184d7fce982eac46c9f
parentc81ef0795eb84d654b6a74244e964e0af9fd8bb0
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