Re: [PATCH bpf-next] xsk: save the undone skb

2020-12-11 Thread Magnus Karlsson
On Fri, Dec 11, 2020 at 2:12 PM Xuan Zhuo wrote: > > We can reserve the skb. When sending fails, NETDEV_TX_BUSY or > xskq_prod_reserve fails. As long as skb is successfully generated and > successfully configured, we can reserve skb if we encounter exceptions > later. > > Especially when NETDEV_TX

[PATCH bpf-next] xsk: save the undone skb

2020-12-11 Thread Xuan Zhuo
We can reserve the skb. When sending fails, NETDEV_TX_BUSY or xskq_prod_reserve fails. As long as skb is successfully generated and successfully configured, we can reserve skb if we encounter exceptions later. Especially when NETDEV_TX_BUSY fails, there is no need to deal with the problem that xsk