]> 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)
commit97cc4ea4949359ead2e95bedc022e919af8e2ed2
tree762af3b3531bdec7abe03956eca2f5743246a089
parente332003924bf536188d909267766edc7902a4ea9
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