commit | 6c5c9581044dd6e0cd284ab653502fb9264f08b6 | [log] [tgz] |
---|---|---|
author | Magnus Karlsson <magnus.karlsson@intel.com> | Tue Aug 28 14:44:28 2018 +0200 |
committer | Alexei Starovoitov <ast@kernel.org> | Wed Aug 29 12:25:53 2018 -0700 |
tree | e6fa178bc5bebdf6a58110ede60352ec5ba50151 | |
parent | 902540342096af8a13351f6a22bfdd7a8e19ffd2 [diff] |
net: add napi_if_scheduled_mark_missed The function napi_if_scheduled_mark_missed is used to check if the NAPI context is scheduled, if so set NAPIF_STATE_MISSED and return true. Used by the AF_XDP zero-copy i40e Tx code implementation in order to make sure that irq affinity is honored by the napi context. Signed-off-by: Magnus Karlsson <magnus.karlsson@intel.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>