diff options
author | Cristian Dumitrescu <cristian.dumitrescu@intel.com> | 2021-01-14 17:33:18 +0300 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2021-02-09 04:19:03 +0300 |
commit | f020fa1a79ff276ff6cc742c71004f2b4ec0b8c2 (patch) | |
tree | e746daeea27088f399bfa3d9ff9e30141e60f446 /scripts/clang-tools/gen_compile_commands.py | |
parent | d4178c31a5622ce972785848637f0910bc00561b (diff) | |
download | linux-f020fa1a79ff276ff6cc742c71004f2b4ec0b8c2.tar.xz |
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 <cristian.dumitrescu@intel.com>
Tested-by: Kiran Bhandare <kiranx.bhandare@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions