Re: [PATCH net-next v4 06/10] virtio-net: unify the code for recycling the xmit ptr

2021-04-13 Thread Jason Wang
在 2021/4/13 上午11:15, Xuan Zhuo 写道: Now there are two types of "skb" and "xdp frame" during recycling old xmit. There are two completely similar and independent implementations. This is inconvenient for the subsequent addition of new types. So extract a function from this piece of code and call

[PATCH net-next v4 06/10] virtio-net: unify the code for recycling the xmit ptr

2021-04-12 Thread Xuan Zhuo
Now there are two types of "skb" and "xdp frame" during recycling old xmit. There are two completely similar and independent implementations. This is inconvenient for the subsequent addition of new types. So extract a function from this piece of code and call this function uniformly to recover old