]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Add support for using xdp->data_meta
authorAlex Liu <liualex@fb.com>
Thu, 20 Jan 2022 19:34:59 +0000 (11:34 -0800)
committerSaeed Mahameed <saeedm@nvidia.com>
Thu, 17 Feb 2022 07:55:13 +0000 (23:55 -0800)
commit2a71a9eb722874f0c35a8d5517d00b461c96bdb7
tree762af3b3531bdec7abe03956eca2f5743246a089
parentdc73b0287e806ee9784a804b7f5ff20c66ce448f
net/mlx5e: Add support for using xdp->data_meta

Add support for using xdp->data_meta for cross-program communication

Pass "true" to the last argument of xdp_prepare_buff().

After SKB is built, call skb_metadata_set() if metadata was pushed.

Signed-off-by: Alex Liu <liualex@fb.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c