Displaying 5 results from an estimated 5 matches for "bpf_xdp_adjust_tail".
2018 Mar 01
2
[PATCH net-next 0/2] virtio-net: re enable XDP_REDIRECT for mergeable buffer
...tisfy these XDP requiresments e.g. by having a
??? function xdp_linearize_page() that allocates and memcpy RX buffers
??? around (in case packet is scattered across multiple rx buffers).? This
??? does currently satisfy XDP_PASS, XDP_DROP and XDP_TX (but only because
??? we have not implemented bpf_xdp_adjust_tail yet).
"""
So I consider the tailroom is a must for the (future) tail adjustment.
>
> You could re-enable native redirect, and push the responsibility to
> cpumap for detecting this too-small frame "missing tailroom" (and avoid
> crashing...). (If we really wan...
2018 Mar 01
2
[PATCH net-next 0/2] virtio-net: re enable XDP_REDIRECT for mergeable buffer
...tisfy these XDP requiresments e.g. by having a
??? function xdp_linearize_page() that allocates and memcpy RX buffers
??? around (in case packet is scattered across multiple rx buffers).? This
??? does currently satisfy XDP_PASS, XDP_DROP and XDP_TX (but only because
??? we have not implemented bpf_xdp_adjust_tail yet).
"""
So I consider the tailroom is a must for the (future) tail adjustment.
>
> You could re-enable native redirect, and push the responsibility to
> cpumap for detecting this too-small frame "missing tailroom" (and avoid
> crashing...). (If we really wan...
2018 Mar 01
0
[PATCH net-next 0/2] virtio-net: re enable XDP_REDIRECT for mergeable buffer
...iresments e.g. by having a
> ??? function xdp_linearize_page() that allocates and memcpy RX buffers
> ??? around (in case packet is scattered across multiple rx buffers).? This
> ??? does currently satisfy XDP_PASS, XDP_DROP and XDP_TX (but only because
> ??? we have not implemented bpf_xdp_adjust_tail yet).
> """
>
> So I consider the tailroom is a must for the (future) tail adjustment.
That is true, BUT implementing the "data_hard_end" extension is a
pre-requisite. It will also be to catch the issue of too little
tail-room if/when implementing bpf_xdp_adjust...
2018 Mar 01
3
[PATCH net-next 0/2] virtio-net: re enable XDP_REDIRECT for mergeable buffer
On 2018?03?01? 17:10, Jesper Dangaard Brouer wrote:
> On Thu, 1 Mar 2018 11:19:03 +0800
> Jason Wang <jasowang at redhat.com> wrote:
>
>> This series tries to re-enable XDP_REDIRECT for mergeable buffer which
>> was removed since commit 7324f5399b06 ("virtio_net: disable
>> XDP_REDIRECT in receive_mergeable() case"). Main concerns are:
>>
>>
2018 Mar 01
3
[PATCH net-next 0/2] virtio-net: re enable XDP_REDIRECT for mergeable buffer
On 2018?03?01? 17:10, Jesper Dangaard Brouer wrote:
> On Thu, 1 Mar 2018 11:19:03 +0800
> Jason Wang <jasowang at redhat.com> wrote:
>
>> This series tries to re-enable XDP_REDIRECT for mergeable buffer which
>> was removed since commit 7324f5399b06 ("virtio_net: disable
>> XDP_REDIRECT in receive_mergeable() case"). Main concerns are:
>>
>>