Thread (3 messages) flat view 3 messages, 3 authors, 2021-05-28

Re: [PATCH bpf-next] bpf/devmap: remove drops variable from bq_xmit_all()

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-05-28 20:20:06
Also in: bpf, lkml

Hello:

This patch was applied to bpf/bpf-next.git (refs/heads/master):

On Thu, 27 May 2021 22:43:56 -0400 you wrote:
As Colin pointed out, the first drops assignment after declaration will
be overwritten by the second drops assignment before using, which makes
it useless.

Since the drops variable will be used only once. Just remove it and
use "cnt - sent" in trace_xdp_devmap_xmit()

[...]
Here is the summary with links:
  - [bpf-next] bpf/devmap: remove drops variable from bq_xmit_all()
    https://git.kernel.org/bpf/bpf-next/c/e8e0f0f48478

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help