Re: mlx5 error when the skb linear space is empty

2021-01-12 Thread Magnus Karlsson
On Tue, Jan 12, 2021 at 9:35 PM Saeed Mahameed wrote: > > On Mon, 2021-01-11 at 09:02 +0100, Magnus Karlsson wrote: > > On Tue, Jan 5, 2021 at 9:51 PM Saeed Mahameed > > wrote: > > > On Mon, 2021-01-04 at 18:59 +0800, Xuan Zhuo wrote: > > > > hi > > > > > > > > In the process of developing xdp so

Re: mlx5 error when the skb linear space is empty

2021-01-12 Thread Saeed Mahameed
On Mon, 2021-01-11 at 09:02 +0100, Magnus Karlsson wrote: > On Tue, Jan 5, 2021 at 9:51 PM Saeed Mahameed > wrote: > > On Mon, 2021-01-04 at 18:59 +0800, Xuan Zhuo wrote: > > > hi > > > > > > In the process of developing xdp socket, we tried to directly use > > > page to > > > construct skb direc

Re: mlx5 error when the skb linear space is empty

2021-01-11 Thread Magnus Karlsson
On Tue, Jan 5, 2021 at 9:51 PM Saeed Mahameed wrote: > > On Mon, 2021-01-04 at 18:59 +0800, Xuan Zhuo wrote: > > hi > > > > In the process of developing xdp socket, we tried to directly use > > page to > > construct skb directly, to avoid data copy. And the MAC information > > is also in > > the p

Re: mlx5 error when the skb linear space is empty

2021-01-05 Thread Saeed Mahameed
On Mon, 2021-01-04 at 18:59 +0800, Xuan Zhuo wrote: > hi > > In the process of developing xdp socket, we tried to directly use > page to > construct skb directly, to avoid data copy. And the MAC information > is also in > the page, which caused the linear space of skb to be empty. In this > case,

mlx5 error when the skb linear space is empty

2021-01-04 Thread Xuan Zhuo
hi In the process of developing xdp socket, we tried to directly use page to construct skb directly, to avoid data copy. And the MAC information is also in the page, which caused the linear space of skb to be empty. In this case, I encountered a problem : mlx5_core :3b:00.1 eth1: Error cqe on