Dear Wander,
Thank you for your patch.
Am 20.09.24 um 20:59 schrieb Wander Lairson Costa:
tx_queue_lock and stats_lock are declared and initialized, but never
used. Remove them.
Signed-off-by: Wander Lairson Costa
It’d be great if you added a Fixes: tag.
---
drivers/net/ethernet/intel/
Introduce xdp_rx_meta structure as a container to store the already
supported xdp rx hints (rx_hash and rx_vlan) in the xdp_buff and
xdp_frame structures (the rx_timestamp will be added to the skb_shared_info
area). Rely on the xdp_buff/xdp_frame flag field to indicate what kind of
rx hints have be
Set rx_timestamp in xdp_rx_meta struct of xdp_buff/xdp_frame according
to the value reported by the hw.
Update the xmo_rx_timestamp callback of xdp_metadata_ops for the
following drivers:
- ice
- igc
- mlx5
- mlx4
- stmmac
- veth
Set rx_timestamp reported by the hw converting the xdp_frame into a
s
Set rx_hash in xdp_rx_meta struct of xdp_buff/xdp_frame according to
the value reported by the hw.
Update the xmo_rx_hash callback of xdp_metadata_ops for the following
drivers:
- ice
- igc
- mlx4
- mlx5
- veth
- virtio_net
Set rx_hash value/type reported by the hw converting the xdp_frame into
a s
Set vlan_proto and vlan_tci in xdp_rx_meta struct of xdp_buff/xdp_frame
according to the value reported by the hw.
Update the xmo_rx_vlan_tag callback of xdp_metadata_ops for the
following drivers:
- ice
- mlx5
- veth
Set rx vlan_{prot, tci} reported by the hw converting the xdp_frame into
a sk_buf
This series introduces the xdp_rx_meta struct in the xdp_buff/xdp_frame
one as a container to store the already supported xdp rx hw hints (rx_hash
and rx_vlan, rx_timestamp will be stored in skb_shared_info area) when the
eBPF program running on the nic performs XDP_REDIRECT. Doing so, we are able
From: Lorenzo Bianconi
Date: Sat, 21 Sep 2024 18:52:56 +0200
> This series introduces the xdp_rx_meta struct in the xdp_buff/xdp_frame
&xdp_buff is on the stack.
&xdp_frame consumes headroom.
IOW they're size-sensitive and putting metadata directly there might
play bad; if not now, then later.
On 21/09/2024 22.17, Alexander Lobakin wrote:
From: Lorenzo Bianconi
Date: Sat, 21 Sep 2024 18:52:56 +0200
This series introduces the xdp_rx_meta struct in the xdp_buff/xdp_frame
&xdp_buff is on the stack.
&xdp_frame consumes headroom.
IOW they're size-sensitive and putting metadata dire