search for: refoctoring

Displaying 2 results from an estimated 2 matches for "refoctoring".

Did you mean: refactoring
2023 Mar 23
0
[PATCH net-next 2/8] virtio_net: mergeable xdp: introduce mergeable_xdp_prepare
...rog->aux->xdp_has_frags && (num_buf > 1 || headroom < virtnet_get_headroom(vi)))" > case only need linearizing. > 2. other cases only need headroom/tailroom expanding. > > Anyway, it is your call to decide if you want to take this > opportunity do a better refoctoring to virtio_net. Compared to the chaotic state of the virtio-net XDP, this is a small point. And I don?t think this brings any practical optimization. If you think this division is better. You can submit a new patch on the top of this patch set. I think the code can be clearer. Thanks. > > &...
2023 Mar 23
0
[PATCH net-next 1/8] virtio_net: mergeable xdp: put old page immediately
On Thu, 23 Mar 2023 11:38:34 +0800, Yunsheng Lin <linyunsheng at huawei.com> wrote: > On 2023/3/23 9:36, Xuan Zhuo wrote: > > On Wed, 22 Mar 2023 16:22:18 +0800, Yunsheng Lin <linyunsheng at huawei.com> wrote: > >> On 2023/3/22 11:03, Xuan Zhuo wrote: > >>> In the xdp implementation of virtio-net mergeable, it always checks > >>> whether two