Revision adfb7b4966c0c4c63a791f202b8b3837b07a9ece authored by Yunsheng Lin on 19 October 2021, 14:16:31 UTC, committed by David S. Miller on 20 October 2021, 10:38:11 UTC
Currently the max tx size supported by the hw is calculated by
using the max BD num supported by the hw. According to the hw
user manual, the max tx size is fixed value for both non-TSO and
TSO skb.

This patch updates the max tx size according to the manual.

Fixes: 8ae10cfb5089("net: hns3: support tx-scatter-gather-fraglist feature")
Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 731797f
History

back to top