diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2017-12-01 15:09:01 -0800 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2017-12-03 00:27:58 +0100 |
commit | 79579220566cd33fe3b15ce8249c57e10251b258 (patch) | |
tree | 459abfe0795c867ddc395ba8b97cd5dcff090d87 /drivers/net/dummy.c | |
parent | 417ec26477a5c19abc72dd0298f48ebe5d2db43a (diff) | |
download | linux-79579220566cd33fe3b15ce8249c57e10251b258.tar.bz2 |
netdevsim: add SR-IOV functionality
dummy driver was extended with VF-related netdev APIs for testing
SR-IOV-related software. netdevsim did not exist back then.
Implement SR-IOV functionality in netdevsim. Notable difference
is that since netdevsim has no module parameters, we will actually
create a device with sriov_numvfs attribute for each netdev.
The zero MAC address is accepted as some HW use it to mean any
address is allowed. Link state is also now validated.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'drivers/net/dummy.c')
0 files changed, 0 insertions, 0 deletions