summaryrefslogtreecommitdiff
path: root/include/linux/debugfs.h
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2017-06-27 10:50:23 +0300
committerDavid S. Miller <davem@davemloft.net>2017-06-27 22:48:48 +0300
commit39ae7eb69db3a3daa3aa2f6c66e37dba1975ef00 (patch)
treeaa3e13945b9ca10db383d33b8942a647058160e1 /include/linux/debugfs.h
parent5d7c64a70fa15aef903469b05ca664f7cd17d769 (diff)
downloadlinux-39ae7eb69db3a3daa3aa2f6c66e37dba1975ef00.tar.xz
nfp: allow converting representor's netdev into nfp_port
Based on struct net_device_ops figure out if netdev is a nfp_repr. Use this knowledge to convert netdev directly to nfp_port. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Simon Horman <simon.horman@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/debugfs.h')
0 files changed, 0 insertions, 0 deletions