[PATCH 1/3] net/hns3: fix the hardware GRO function is abnormal
Stephen Hemminger
stephen at networkplumber.org
Mon Jun 9 19:13:54 CEST 2025
On Mon, 9 Jun 2025 21:06:49 +0800
Dengdui Huang <huangdengdui at huawei.com> wrote:
> + rem = dma_addr & (HNS3_RX_DMA_ADDR_ALIGN_128 - 1);
> + if ((rx_offload & RTE_ETH_RX_OFFLOAD_TCP_LRO) && rem > 0) {
> + hns3_err(hw, "Hardware GRO is not supported when mbuf DMA "
> + "address is 64-byte aligned");
> + return -EINVAL;
Best to not break messages across source lines, it makes it harder for users
and tools looking for error messages in the source.
I.e do:
hns3_err(hw,
"Hardware GRO is not supported for if mbuf DMA not 64-byte aligned");
"
I can fix during merge if that is ok? or you can resubmit
More information about the dev
mailing list