diff options
author | Ong Boon Leong <boon.leong.ong@intel.com> | 2021-04-13 17:36:24 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-04-13 15:06:50 -0700 |
commit | bba71cac680f30de93486c989ee283cccedc5f77 (patch) | |
tree | 816e8b241fe43690c894d6fb3b0d61b7431f7ecb /tools/perf/scripts/python/stackcollapse.py | |
parent | de0b90e52a116a951ca8b13c924c359d5fc39fa0 (diff) |
net: stmmac: Refactor __stmmac_xdp_run_prog for XDP ZC
Prepare stmmac_xdp_run_prog() for AF_XDP zero-copy support which will be
added by upcoming patches by splitting out the XDP verdict processing
into __stmmac_xdp_run_prog() and it callable for XDP ZC path which does
not need to verify bpf_prog is not NULL.
The stmmac_xdp_run_prog() is used for regular XDP Rx path which requires
bpf_prog to be verified.
Signed-off-by: Ong Boon Leong <boon.leong.ong@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions