summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/hisilicon/hns3/hnae3.h
diff options
context:
space:
mode:
authorPeng Li2018-09-21 17:41:46 +0200
committerDavid S. Miller2018-09-22 04:29:32 +0200
commitc136b88425890030d7ba09a8e62abc29ed9b98da (patch)
tree3eb513fdf72995c4d9f06d82e47e712622a52a77 /drivers/net/ethernet/hisilicon/hns3/hnae3.h
parentnet: hns3: Remove print messages for error packet (diff)
downloadkernel-qcow2-linux-c136b88425890030d7ba09a8e62abc29ed9b98da.tar.gz
kernel-qcow2-linux-c136b88425890030d7ba09a8e62abc29ed9b98da.tar.xz
kernel-qcow2-linux-c136b88425890030d7ba09a8e62abc29ed9b98da.zip
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>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns3/hnae3.h')
-rw-r--r--drivers/net/ethernet/hisilicon/hns3/hnae3.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/hisilicon/hns3/hnae3.h b/drivers/net/ethernet/hisilicon/hns3/hnae3.h
index 17db631e9ce9..fc87e1b47396 100644
--- a/drivers/net/ethernet/hisilicon/hns3/hnae3.h
+++ b/drivers/net/ethernet/hisilicon/hns3/hnae3.h
@@ -107,6 +107,7 @@ enum hnae3_media_type {
HNAE3_MEDIA_TYPE_FIBER,
HNAE3_MEDIA_TYPE_COPPER,
HNAE3_MEDIA_TYPE_BACKPLANE,
+ HNAE3_MEDIA_TYPE_NONE,
};
enum hnae3_reset_notify_type {