diff options
author | Shannon Nelson <shannon.nelson@amd.com> | 2024-03-06 15:29:53 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-03-08 11:54:34 +0000 |
commit | 36a47c906b23240b3d7fd0cc3f36d511d5b36700 (patch) | |
tree | b913cbade0b722e8afd9642bdd21cec2715683a1 /drivers/net/netdevsim/dev.c | |
parent | 8599bd4cf30f0e32954ae3915f65db05a0c3d5ea (diff) |
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 'drivers/net/netdevsim/dev.c')
0 files changed, 0 insertions, 0 deletions