mbox series

[bpf,0/2] xsk: fix two bugs in the SKB Tx path

Message ID 20201214152757.7632-1-magnus.karlsson@gmail.com (mailing list archive)
Headers show
Series xsk: fix two bugs in the SKB Tx path | expand

Message

Magnus Karlsson Dec. 14, 2020, 3:27 p.m. UTC
This patch set contains two bug fixes to the Tx SKB path. Details can
be found in the individual commit messages. Special thanks to Xuan
Zhuo for spotting both of them.

Thanks: Magnus

Magnus Karlsson (2):
  xsk: fix race in SKB mode transmit with shared cq
  xsk: rollback reservation at NETDEV_TX_BUSY

 include/net/xdp_sock.h      |  4 ----
 include/net/xsk_buff_pool.h |  5 +++++
 net/xdp/xsk.c               | 12 +++++++++---
 net/xdp/xsk_buff_pool.c     |  1 +
 net/xdp/xsk_queue.h         |  5 +++++
 5 files changed, 20 insertions(+), 7 deletions(-)


base-commit: d9838b1d39283c1200c13f9076474c7624b8ec34
--
2.29.0

Comments

Björn Töpel Dec. 16, 2020, 2:09 p.m. UTC | #1
On Mon, 14 Dec 2020 at 16:35, Magnus Karlsson <magnus.karlsson@gmail.com> wrote:
>
> This patch set contains two bug fixes to the Tx SKB path. Details can
> be found in the individual commit messages. Special thanks to Xuan
> Zhuo for spotting both of them.
>
> Thanks: Magnus
>
> Magnus Karlsson (2):
>   xsk: fix race in SKB mode transmit with shared cq
>   xsk: rollback reservation at NETDEV_TX_BUSY
>

For the series:

Acked-by: Björn Töpel <bjorn.topel@intel.com>

>  include/net/xdp_sock.h      |  4 ----
>  include/net/xsk_buff_pool.h |  5 +++++
>  net/xdp/xsk.c               | 12 +++++++++---
>  net/xdp/xsk_buff_pool.c     |  1 +
>  net/xdp/xsk_queue.h         |  5 +++++
>  5 files changed, 20 insertions(+), 7 deletions(-)
>
>
> base-commit: d9838b1d39283c1200c13f9076474c7624b8ec34
> --
> 2.29.0