net/mlx5e: RX, Take shared info fragment addition into a function
authorTariq Toukan <tariqt@nvidia.com>
Mon, 17 Apr 2023 12:19:00 +0000 (15:19 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Apr 2023 07:59:27 +0000 (08:59 +0100)
commit27602319e32862717c15c32283a727dc5bed695d
tree3a75223a8e7f77cd04e90406f755fd3949903559
parent63abf14e13ed09ead1d979949963fe08ced3a77c
net/mlx5e: RX, Take shared info fragment addition into a function

Introduce mlx5e_add_skb_shared_info_frag(), a function dedicated for
adding a fragment into a struct skb_shared_info object.

Use it in the Legacy RQ flow. Similar usage will be added in a
downstream patch by the corresponding Striding RQ flow.

Reviewed-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c