]> 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)
commit372e9cc2f7df2c0f13f1ad2a81a71df9cba2862d
tree060a212d210605f6ee2c7184d7fce982eac46c9f
parent7a583898fb67ddddc3c765c709d5a870a794969d
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