net: mana: Enable RX path to handle various MTU sizes
authorHaiyang Zhang <haiyangz@microsoft.com>
Wed, 12 Apr 2023 21:16:02 +0000 (14:16 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 Apr 2023 07:56:19 +0000 (08:56 +0100)
commit2fbbd712baf1c60996554326728bbdbef5616e12
treeb074988c51c3192313d53c613d6a0e96dc1a4193
parenta2917b23497e4205db32271e4e06e142a9f8a6aa
net: mana: Enable RX path to handle various MTU sizes

Update RX data path to allocate and use RX queue DMA buffers with
proper size based on potentially various MTU sizes.

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>
drivers/net/ethernet/microsoft/mana/mana_en.c
include/net/mana/mana.h