]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: Fix comments for hclge_get_ring_chain_from_mbx
authorFuyun Liang <liangfuyun1@huawei.com>
Mon, 16 Jul 2018 15:36:27 +0000 (16:36 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Jul 2018 18:16:45 +0000 (11:16 -0700)
commitb0da569b097928660c08d11d99bafe7454aaf2e0
tree460b4befea2fadedd76794e2c74da3c85785fed5
parentc57e2d09d5e203595c26e3a463154d2b2f52bf7a
net: hns3: Fix comments for hclge_get_ring_chain_from_mbx

Actually, hclge_get_ring_chain_from_mbx is used to get ring type, tqp id,
and int_gl index from mailbox message. So the comments is incorrect. This
patch fixes it.

Fixes: 36e2e5ac2755 ("net: hns3: Add mailbox support to PF driver")
Signed-off-by: Fuyun Liang <liangfuyun1@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c