OSDN Git Service

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)
commit5550aa4d4771f61f5119b45e8de7dd6f66060817
tree460b4befea2fadedd76794e2c74da3c85785fed5
parentcf4103c699c2b3dd88bea169f47ad75d872b4a80
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: dde1a86e93ca ("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