summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorMaciej Fijalkowski <maciej.fijalkowski@intel.com>2020-02-05 05:58:32 +0100
committerDaniel Borkmann <daniel@iogearbox.net>2020-02-05 22:06:08 +0100
commitc77e9f09143822623dd71a0fdc84331129e97c3a (patch)
treead17a26e849fee488d9014f9a7e7f9ba2ce1cc1e /samples
parentfc9e34f8de001c92e6cfc6481bb30a34dbda4f5c (diff)
i40e: Relax i40e_xsk_wakeup's return value when PF is busy
Return -EAGAIN instead of -ENETDOWN to provide a slightly milder information to user space so that an application will know to retry the syscall when __I40E_CONFIG_BUSY bit is set on pf->state. Fixes: b3873a5be757 ("net/i40e: Fix concurrency issues between config flow and XSK") Signed-off-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Björn Töpel <bjorn.topel@intel.com> Link: https://lore.kernel.org/bpf/20200205045834.56795-2-maciej.fijalkowski@intel.com
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions