linux/drivers/net/ethernet/hisilicon/hns3
Fuyun Liang 5fd4789a98 net: hns3: refactor interrupt coalescing init function
In the hardware, the coalesce configurable registers include GL0, GL1,
GL2. In the driver, the TX queues use the register GL1 and the RX queues
use the register GL0. This function initializes the configuration of the
interrupt coalescing, but does not distinguish between the TX direction
and the RX direction. It will cause some confusion.

This patch refactors the function to initialize the TX GL and the RX GL
separately. And the initialization of related variables also is added to
this patch.

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>
2018-01-12 10:12:32 -05:00
..
hns3pf net: hns3: Add more packet size statisctics 2018-01-08 14:06:19 -05:00
hns3vf net: hns3: remove TSO config command from VF driver 2018-01-12 10:12:32 -05:00
hclge_mbx.h net: hns3: Add mailbox support to VF driver 2017-12-15 10:55:34 -05:00
hnae3.c net: hns3: Unified HNS3 {VF|PF} Ethernet Driver for hip08 SoC 2017-12-15 10:55:34 -05:00
hnae3.h net: hns3: add ethtool_ops.get_coalesce support to PF 2018-01-12 10:12:32 -05:00
hns3_dcbnl.c net: hns3: Unified HNS3 {VF|PF} Ethernet Driver for hip08 SoC 2017-12-15 10:55:34 -05:00
hns3_enet.c net: hns3: refactor interrupt coalescing init function 2018-01-12 10:12:32 -05:00
hns3_enet.h net: hns3: add ethtool_ops.set_coalesce support to PF 2018-01-12 10:12:32 -05:00
hns3_ethtool.c net: hns3: add ethtool_ops.set_coalesce support to PF 2018-01-12 10:12:32 -05:00
Makefile net: hns3: Unified HNS3 {VF|PF} Ethernet Driver for hip08 SoC 2017-12-15 10:55:34 -05:00