search for: refoctor

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

Did you mean: refactor
2023 Mar 23
0
[PATCH net-next 2/8] virtio_net: mergeable xdp: introduce mergeable_xdp_prepare
...t;>> > >>> No skb here. > >> > >> I means following the semantics of pskb_expand_head() and __skb_linearize(), > >> not to combine the headroom expanding and linearizing into one function as > >> xdp_linearize_page() does now if we want a better refoctor result. > > > > Not sure it's worth it, since the use is very specific unless we could > > find a case that wants only one of them. > > It seems receive_small() only need the headroom expanding one. > For receive_mergeable(), it seems we can split into the below cases...
2023 Mar 23
0
[PATCH net-next 1/8] virtio_net: mergeable xdp: put old page immediately
...uot;else if" block. > >> > >>> } else { > >>> xdp_page = page; > >>> } > >> > >> It seems the above else block is not needed anymore. > > > > Yes, the follow-up patch has this optimization. > > Isn't refoctor patch supposed to be self-contianed too, instead of > depending on follow-up patch? I mean that the #2 patch do this. Thanks.