net: hns3: fix the TX/RX ring.queue_index in hns3_ring_get_cfg
authorLipeng <lipeng321@huawei.com>
Mon, 23 Oct 2017 11:51:05 +0000 (19:51 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Oct 2017 00:16:42 +0000 (01:16 +0100)
commit66b447301ac710ee237dba8b653244018fbb6168
tree01bafd5a323c201176b95ea3228cb6074f9261dc
parent709eb41ad8cd56ee68f9ca5140cfd46839d35837
net: hns3: fix the TX/RX ring.queue_index in hns3_ring_get_cfg

The interface hns3_ring_get_cfg only update TX ring queue_index,
but do not update RX ring queue_index. This patch fixes it.

Fixes: 76ad4f0 (net: hns3: Add support of HNS3 Ethernet Driver for hip08 SoC)

Signed-off-by: Lipeng <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hns3_enet.c