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

2021-01-21 Thread Alexander Lobakin
From: Xuan Zhuo Date: Thu, 21 Jan 2021 21:47:07 +0800 > 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 ca

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

2021-01-21 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