Re: [PATCH bpf-next v2 1/3] net: add priv_flags for allow tx skb without linear

2021-01-19 Thread Jason Wang
On 2021/1/19 下午5:45, Xuan Zhuo wrote: In some cases, we hope to construct skb directly based on the existing memory without copying data. In this case, the page will be placed directly in the skb, and the linear space of skb is empty. But unfortunately, many the network card does not support th

[PATCH bpf-next v2 1/3] net: add priv_flags for allow tx skb without linear

2021-01-19 Thread Xuan Zhuo
In some cases, we hope to construct skb directly based on the existing memory without copying data. In this case, the page will be placed directly in the skb, and the linear space of skb is empty. But unfortunately, many the network card does not support this operation. For example Mellanox Technol