diff options
author | Cristian Dumitrescu <[email protected]> | 2021-01-14 14:33:18 +0000 |
---|---|---|
committer | Tony Nguyen <[email protected]> | 2021-02-08 17:19:03 -0800 |
commit | f020fa1a79ff276ff6cc742c71004f2b4ec0b8c2 (patch) | |
tree | e746daeea27088f399bfa3d9ff9e30141e60f446 /tools/perf/scripts/python/check-perf-trace.py | |
parent | d4178c31a5622ce972785848637f0910bc00561b (diff) |
i40e: consolidate handling of XDP program actions
Consolidate the actions performed on the packet based on the XDP
program result into a separate function that is easier to read and
maintain. Simplify the i40e_construct_skb_zc function, so that the
input xdp buffer is always freed, regardless of whether the output
skb is successfully created or not. Simplify the behavior of the
i40e_clean_rx_irq_zc function, so that the current packet descriptor
is dropped when function i40_construct_skb_zc returns an error as
opposed to re-processing the same description on the next invocation.
Signed-off-by: Cristian Dumitrescu <[email protected]>
Tested-by: Kiran Bhandare <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions