diff options
author | Yufeng Mo <moyufeng@huawei.com> | 2019-04-19 11:05:47 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-04-19 18:43:16 -0700 |
commit | 97afd47b36dbe976c72191cf862a92d2e8756fa9 (patch) | |
tree | 53a4496e8be6b0e8805d21653ebbdd6d698ea110 /drivers/net/xen-netback/common.h | |
parent | db01afeb6614b75299b0ecba06b246143d4b894d (diff) |
net: hns3: add function type check for debugfs help information
PF supports all debugfs command, but VF only supports part of
debugfs command. So VF should not show unsupported help information.
This patch adds a check for PF and PF to show the supportable help
information.
Signed-off-by: Yufeng Mo <moyufeng@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/xen-netback/common.h')
0 files changed, 0 insertions, 0 deletions