diff options
author | 2023-04-12 14:16:01 -0700 | |
---|---|---|
committer | 2023-04-14 08:56:19 +0100 | |
commit | a2917b23497e4205db32271e4e06e142a9f8a6aa (patch) | |
tree | 6e24115bb3195d45d587c6f5639f1dcdef06c48f /drivers/net/ethernet/google | |
parent | net: mana: Use napi_build_skb in RX path (diff) | |
download | linux-a2917b23497e4205db32271e4e06e142a9f8a6aa.tar.gz linux-a2917b23497e4205db32271e4e06e142a9f8a6aa.tar.bz2 linux-a2917b23497e4205db32271e4e06e142a9f8a6aa.zip |
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 'drivers/net/ethernet/google')
0 files changed, 0 insertions, 0 deletions