OSDN Git Service

net/mlx5e: RX, Prepare non-linear striding RQ for XDP multi-buffer support
authorTariq Toukan <tariqt@nvidia.com>
Mon, 17 Apr 2023 12:19:02 +0000 (15:19 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Apr 2023 07:59:27 +0000 (08:59 +0100)
commit2cb0e27d43b4eec70e20103cb09055303f70b6d9
tree073b39e8e314657f5df79c52a996ea2be3286a8a
parent221c8c7ad7a2d414d6d64b5e5bbf7723ae23d3f5
net/mlx5e: RX, Prepare non-linear striding RQ for XDP multi-buffer support

In preparation for supporting XDP multi-buffer in striding RQ, use
xdp_buff struct to describe the packet. Make its skb_shared_info collide
the one of the allocated SKB, then add the fragments using the xdp_buff
API.

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