]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
xdp: document xdp_do_flush() before napi_complete_done()
authorMagnus Karlsson <magnus.karlsson@intel.com>
Tue, 17 Jan 2023 09:43:05 +0000 (10:43 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Jan 2023 14:33:34 +0000 (14:33 +0000)
commit68e5b6aa2795fd05c6ff58616cb16f2f216e4123
treee9da14bb8e0a1be9848be5c91bc063ce2fb16a76
parentbed91ac0810634e0ae58e575d8a1fb7893b4ac72
xdp: document xdp_do_flush() before napi_complete_done()

Document in the XDP_REDIRECT manual section that drivers must call
xdp_do_flush() before napi_complete_done(). The two reasons behind
this can be found following the links below.

Signed-off-by: Magnus Karlsson <magnus.karlsson@intel.com>
Link: https://lore.kernel.org/r/20221220185903.1105011-1-sbohrer@cloudflare.com
Link: https://lore.kernel.org/all/20210624160609.292325-1-toke@redhat.com/
Acked-by: Toke Høiland-Jørgensen <toke@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/filter.c