diff options
author | Yunsheng Lin <linyunsheng@huawei.com> | 2021-10-19 17:16:31 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-10-27 10:56:54 +0300 |
commit | 69078a94365a74cfbf113890ca9cc86ba1d1e5c0 (patch) | |
tree | 9581facfaed4c6ea62f3725619b4a0408261fcb5 /scripts | |
parent | f40c2281d2c0674d32ba732fee45222d76495472 (diff) | |
download | linux-69078a94365a74cfbf113890ca9cc86ba1d1e5c0.tar.xz |
net: hns3: fix the max tx size according to user manual
commit adfb7b4966c0c4c63a791f202b8b3837b07a9ece upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions