[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <167661781786.4204.9196824978376893308.git-patchwork-notify@kernel.org>
Date: Fri, 17 Feb 2023 07:10:17 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Maciej Fijalkowski <maciej.fijalkowski@...el.com>
Cc: bpf@...r.kernel.org, ast@...nel.org, daniel@...earbox.net,
andrii@...nel.org, netdev@...r.kernel.org,
magnus.karlsson@...el.com, bjorn@...nel.org,
michal.kubiak@...el.com
Subject: Re: [PATCH bpf] xsk: check IFF_UP earlier in Tx path
Hello:
This patch was applied to bpf/bpf.git (master)
by Martin KaFai Lau <martin.lau@...nel.org>:
On Wed, 15 Feb 2023 15:33:09 +0100 you wrote:
> Xsk Tx can be triggered via either sendmsg() or poll() syscalls. These
> two paths share a call to common function xsk_xmit() which has two
> sanity checks within. A pseudo code example to show the two paths:
>
> __xsk_sendmsg() : xsk_poll():
> if (unlikely(!xsk_is_bound(xs))) if (unlikely(!xsk_is_bound(xs)))
> return -ENXIO; return mask;
> if (unlikely(need_wait)) (...)
> return -EOPNOTSUPP; xsk_xmit()
> mark napi id
> (...)
> xsk_xmit()
>
> [...]
Here is the summary with links:
- [bpf] xsk: check IFF_UP earlier in Tx path
https://git.kernel.org/bpf/bpf/c/92a3f9895236
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists