Re: [PATCH 0/3] xsk: fix for xsk_poll writeable

2020-11-24 Thread Magnus Karlsson
On Tue, Nov 24, 2020 at 10:01 AM Magnus Karlsson wrote: > > On Mon, Nov 23, 2020 at 4:21 PM Xuan Zhuo wrote: > > > > On Mon, 23 Nov 2020 15:00:48 +0100, Magnus Karlsson > > wrote: > > > On Wed, Nov 18, 2020 at 9:25 AM Xuan Zhuo > > > wrote: > > > > > > > > I tried to combine cq available and

Re: [PATCH 0/3] xsk: fix for xsk_poll writeable

2020-11-24 Thread Magnus Karlsson
On Mon, Nov 23, 2020 at 4:21 PM Xuan Zhuo wrote: > > On Mon, 23 Nov 2020 15:00:48 +0100, Magnus Karlsson > wrote: > > On Wed, Nov 18, 2020 at 9:25 AM Xuan Zhuo > > wrote: > > > > > > I tried to combine cq available and tx writeable, but I found it very > > > difficult. > > > Sometimes we pay

Re: [PATCH 0/3] xsk: fix for xsk_poll writeable

2020-11-23 Thread Magnus Karlsson
On Wed, Nov 18, 2020 at 9:25 AM Xuan Zhuo wrote: > > I tried to combine cq available and tx writeable, but I found it very > difficult. > Sometimes we pay attention to the status of "available" for both, but > sometimes, > we may only pay attention to one, such as tx writeable, because we can us

[PATCH 0/3] xsk: fix for xsk_poll writeable

2020-11-18 Thread Xuan Zhuo
I tried to combine cq available and tx writeable, but I found it very difficult. Sometimes we pay attention to the status of "available" for both, but sometimes, we may only pay attention to one, such as tx writeable, because we can use the item of fq to write to tx. And this kind of demand may be