diff options
author | Shannon Nelson <shannon.nelson@amd.com> | 2024-03-07 02:29:53 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-03-08 14:54:34 +0300 |
commit | 36a47c906b23240b3d7fd0cc3f36d511d5b36700 (patch) | |
tree | b913cbade0b722e8afd9642bdd21cec2715683a1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 8599bd4cf30f0e32954ae3915f65db05a0c3d5ea (diff) | |
download | linux-36a47c906b23240b3d7fd0cc3f36d511d5b36700.tar.xz |
ionic: refactor skb building
The existing ionic_rx_frags() code is a bit of a mess and can
be cleaned up by unrolling the first frag/header setup from
the loop, then reworking the do-while-loop into a for-loop. We
rename the function to a more descriptive ionic_rx_build_skb().
We also change a couple of related variable names for readability.
Reviewed-by: Brett Creeley <brett.creeley@amd.com>
Signed-off-by: Shannon Nelson <shannon.nelson@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions