diff options
author | Haiyang Zhang <haiyangz@microsoft.com> | 2023-04-13 00:16:01 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-04-14 10:56:19 +0300 |
commit | a2917b23497e4205db32271e4e06e142a9f8a6aa (patch) | |
tree | 6e24115bb3195d45d587c6f5639f1dcdef06c48f /net/sunrpc/sunrpc.h | |
parent | ce518bc3e9ca342309995c9270c3ec4892963695 (diff) | |
download | linux-a2917b23497e4205db32271e4e06e142a9f8a6aa.tar.xz |
net: mana: Refactor RX buffer allocation code to prepare for various MTU
Move out common buffer allocation code from mana_process_rx_cqe() and
mana_alloc_rx_wqe() to helper functions.
Refactor related variables so they can be changed in one place, and buffer
sizes are in sync.
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Reviewed-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sunrpc/sunrpc.h')
0 files changed, 0 insertions, 0 deletions