diff options
author | Fuyun Liang <liangfuyun1@huawei.com> | 2018-01-12 16:23:12 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-12 10:12:32 -0500 |
commit | 8b1ff1ea2ccb09907d1af268e6450c061f477112 (patch) | |
tree | 6e839dd84a4d0ed9fb006334c34c9ae810615aeb /drivers/scsi/Kconfig | |
parent | 5fd4789a98f8661a0e8db3daf21b774213c99487 (diff) | |
download | linux-8b1ff1ea2ccb09907d1af268e6450c061f477112.tar.bz2 |
net: hns3: refactor GL update function
The GL update function uses the max GL value between tx_int_gl and
rx_int_gl to set both new tx_int_gl and new rx_int_gl. Therefore, User
can not enable TX GL self-adaptive or RX GL self-adaptive individually.
This patch refactors the code to update the TX GL and the RX GL
separately, making user can enable TX GL self-adaptive or RX GL
self-adaptive individually.
Signed-off-by: Fuyun Liang <liangfuyun1@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/scsi/Kconfig')
0 files changed, 0 insertions, 0 deletions