net/mlx5e: Add data path for SHAMPO feature
authorBen Ben-Ishay <benishay@nvidia.com>
Mon, 14 Sep 2020 09:51:57 +0000 (12:51 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 27 Oct 2021 02:30:40 +0000 (19:30 -0700)
commit64509b05252587fbf9a02fb1458eeb81bf942bb8
treef9a8f36f0ac00f625b9c68d4d577bca206c5a3a5
parentf97d5c2a453e26071e3b0ec12161de57c4a237c4
net/mlx5e: Add data path for SHAMPO feature

The header buffer is used to store the headers of the rx packets.
The header buffer size deduced from WorkQueue size + restriction
of max packets per WorkQueueElement.
This commit adds the functionality for posting/updating memory for
the header buffer during the posting/updating of WQEs.

Signed-off-by: Ben Ben-Ishay <benishay@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en/txrx.h
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c