diff options
author | Alex Elder <elder@linaro.org> | 2021-01-26 12:56:59 -0600 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-01-28 20:23:25 -0800 |
commit | 162fbc6f4519f9b083fbd96b60d908c78a9c87f6 (patch) | |
tree | 0928a4f26a8999ef058a5672b8d5feba506527da /drivers/net/ipa/ipa_mem.c | |
parent | aa56e3e5cdb4f7e1aee6dd04f0934a7429d30246 (diff) |
net: ipa: minor update to handling of packet with status
Rearrange some comments and assignments made when handling a packet
that is received with status, aiming to improve understandability.
Use DIV_ROUND_CLOSEST() to get a better per-packet true size estimate.
Signed-off-by: Alex Elder <elder@linaro.org>
Acked-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ipa/ipa_mem.c')
0 files changed, 0 insertions, 0 deletions