]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: Add get_media_type ops support for VF
authorPeng Li <lipeng321@huawei.com>
Fri, 21 Sep 2018 15:41:46 +0000 (16:41 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 22 Sep 2018 02:29:32 +0000 (19:29 -0700)
commit389af85f3c10833ef2f3f83f07e50fd6c4598552
tree3eb513fdf72995c4d9f06d82e47e712622a52a77
parentf46bef20f6060bdf8488effe23ff642bc0a1dac1
net: hns3: Add get_media_type ops support for VF

This patch adds the ops of get_media_type support for VF.

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/hnae3.h
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h