search for: 436c9453a1ac0

Displaying 5 results from an estimated 5 matches for "436c9453a1ac0".

2020 May 06
2
[PATCH net-next 1/2] virtio-net: don't reserve space for vnet header for XDP
...e the packet could be >> modified by XDP which may invalidate the information stored in the >> header and there's no way for XDP to know the existence of the vnet >> header currently. > What do you mean? Doesn't XDP_PASS use the header in the buffer? We don't, see 436c9453a1ac0 ("virtio-net: keep vnet header zeroed after processing XDP") If there's other place, it should be a bug. > >> So let's just not reserve space for vnet header in this case. > In any case, we can find out XDP does head adjustments > if we need to. But XDP progra...
2020 May 06
2
[PATCH net-next 1/2] virtio-net: don't reserve space for vnet header for XDP
...e the packet could be >> modified by XDP which may invalidate the information stored in the >> header and there's no way for XDP to know the existence of the vnet >> header currently. > What do you mean? Doesn't XDP_PASS use the header in the buffer? We don't, see 436c9453a1ac0 ("virtio-net: keep vnet header zeroed after processing XDP") If there's other place, it should be a bug. > >> So let's just not reserve space for vnet header in this case. > In any case, we can find out XDP does head adjustments > if we need to. But XDP progra...
2020 May 06
0
[PATCH net-next 1/2] virtio-net: don't reserve space for vnet header for XDP
...odified by XDP which may invalidate the information stored in the > > > header and there's no way for XDP to know the existence of the vnet > > > header currently. > > What do you mean? Doesn't XDP_PASS use the header in the buffer? > > > We don't, see 436c9453a1ac0 ("virtio-net: keep vnet header zeroed after > processing XDP") > > If there's other place, it should be a bug. > > > > > > > So let's just not reserve space for vnet header in this case. > > In any case, we can find out XDP does head adjustm...
2020 May 06
6
[PATCH net-next 1/2] virtio-net: don't reserve space for vnet header for XDP
We tried to reserve space for vnet header before xdp.data_hard_start. But this is useless since the packet could be modified by XDP which may invalidate the information stored in the header and there's no way for XDP to know the existence of the vnet header currently. So let's just not reserve space for vnet header in this case. Cc: Jesper Dangaard Brouer <brouer at redhat.com>
2020 May 06
6
[PATCH net-next 1/2] virtio-net: don't reserve space for vnet header for XDP
We tried to reserve space for vnet header before xdp.data_hard_start. But this is useless since the packet could be modified by XDP which may invalidate the information stored in the header and there's no way for XDP to know the existence of the vnet header currently. So let's just not reserve space for vnet header in this case. Cc: Jesper Dangaard Brouer <brouer at redhat.com>