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)
commitc1e80bf4ad3e91dd21a8ccdee129052e25ace7e6
tree762af3b3531bdec7abe03956eca2f5743246a089
parent9625bf39bd4140cebd60cc658846505f4ab6c8ca
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