summaryrefslogtreecommitdiffstats
path: root/drivers/net/netdevsim/netdevsim.h
diff options
context:
space:
mode:
authorDmytro Linkin <dlinkin@nvidia.com>2021-06-02 14:17:17 +0200
committerDavid S. Miller <davem@davemloft.net>2021-06-02 23:08:36 +0200
commit92ba1f29e6e2f16eb93a0a2c7c01985920b89222 (patch)
treed82eada97d5f10711b4b59eca3b114ae3ce6660d /drivers/net/netdevsim/netdevsim.h
parentnetdevsim: Implement port types and indexing (diff)
downloadlinux-92ba1f29e6e2f16eb93a0a2c7c01985920b89222.tar.xz
linux-92ba1f29e6e2f16eb93a0a2c7c01985920b89222.zip
netdevsim: Implement VFs
Allow creation of netdevsim ports for VFs along with allocations of corresponding net devices and devlink ports. Add enums and helpers to distinguish PFs' ports from VFs' ports. Ports creation/deletion debugfs API intended to be used with physical ports only. VFs instantiation will be done in one of the next patches. Signed-off-by: Dmytro Linkin <dlinkin@nvidia.com> Reviewed-by: Jiri Pirko <jiri@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/netdevsim/netdevsim.h')
0 files changed, 0 insertions, 0 deletions