search for: bpf_warn_invalid_xdp_buff

Displaying 6 results from an estimated 6 matches for "bpf_warn_invalid_xdp_buff".

2016 Dec 23
1
[PATCH net 1/9] virtio-net: remove the warning before XDP linearizing
...e than a single buffer when XDP conditions are > - * met. However it is not strictly illegal so the case > - * is handled as an exception and a warning is thrown. > - */ > + /* This happens when rx buffer size is underestimated */ > if (unlikely(num_buf > 1)) { > - bpf_warn_invalid_xdp_buffer(); Could you also remove the bpf_warn_invalid_xdp_buffer(), which got added just for this? Thanks. > /* linearize data for XDP */ > xdp_page = xdp_linearize_page(rq, num_buf, > page, offset, &len); >
2016 Dec 23
1
[PATCH net 1/9] virtio-net: remove the warning before XDP linearizing
...e than a single buffer when XDP conditions are > - * met. However it is not strictly illegal so the case > - * is handled as an exception and a warning is thrown. > - */ > + /* This happens when rx buffer size is underestimated */ > if (unlikely(num_buf > 1)) { > - bpf_warn_invalid_xdp_buffer(); Could you also remove the bpf_warn_invalid_xdp_buffer(), which got added just for this? Thanks. > /* linearize data for XDP */ > xdp_page = xdp_linearize_page(rq, num_buf, > page, offset, &len); >
2016 Dec 27
0
[PATCH net 1/9] virtio-net: remove the warning before XDP linearizing
...* met. However it is not strictly illegal so the case >> - * is handled as an exception and a warning is thrown. >> - */ >> + /* This happens when rx buffer size is underestimated */ >> if (unlikely(num_buf > 1)) { >> - bpf_warn_invalid_xdp_buffer(); > > Could you also remove the bpf_warn_invalid_xdp_buffer(), which got added > just for this? > > Thanks. Posted. Thanks
2016 Dec 23
0
[PATCH net 1/9] virtio-net: remove the warning before XDP linearizing
...uld send packets with - * more than a single buffer when XDP conditions are - * met. However it is not strictly illegal so the case - * is handled as an exception and a warning is thrown. - */ + /* This happens when rx buffer size is underestimated */ if (unlikely(num_buf > 1)) { - bpf_warn_invalid_xdp_buffer(); - /* linearize data for XDP */ xdp_page = xdp_linearize_page(rq, num_buf, page, offset, &len); -- 2.7.4
2016 Dec 23
21
[PATCH net 0/9] several fixups for virtio-net XDP
Merry Xmas and a Happy New year to all: This series tries to fixes several issues for virtio-net XDP which could be categorized into several parts: - fix several issues during XDP linearizing - allow csumed packet to work for XDP_PASS - make EWMA rxbuf size estimation works for XDP - forbid XDP when GUEST_UFO is support - remove big packet XDP support - add XDP support or small buffer Please
2016 Dec 23
21
[PATCH net 0/9] several fixups for virtio-net XDP
Merry Xmas and a Happy New year to all: This series tries to fixes several issues for virtio-net XDP which could be categorized into several parts: - fix several issues during XDP linearizing - allow csumed packet to work for XDP_PASS - make EWMA rxbuf size estimation works for XDP - forbid XDP when GUEST_UFO is support - remove big packet XDP support - add XDP support or small buffer Please