diff options
author | Steven Luong <sluong@cisco.com> | 2019-03-14 09:57:09 -0700 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2019-03-18 11:11:50 +0000 |
commit | ee8ba6877efb916b88255821f94ef33437724f75 (patch) | |
tree | aeb507c38ba53a60791c7084f6f47d540608971f /src/plugins/vmxnet3/vmxnet3_api.c | |
parent | a990a2e4930014f025338d8ce186abfa12ec09ff (diff) |
vmxnet3: auto bind support
For creating the vmxnet3 interface, add the bind option to automatically bind
the pci to vfio-pci module which removes the need for manual bind. Manual bind
still works, should people prefer to go that route.
Change-Id: Ife75926f8755d754a08dd0ecff0f1de326ad5ba1
Signed-off-by: Steven Luong <sluong@cisco.com>
Diffstat (limited to 'src/plugins/vmxnet3/vmxnet3_api.c')
-rw-r--r-- | src/plugins/vmxnet3/vmxnet3_api.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/vmxnet3/vmxnet3_api.c b/src/plugins/vmxnet3/vmxnet3_api.c index 0a66ffe0778..5e1bb9e2f18 100644 --- a/src/plugins/vmxnet3/vmxnet3_api.c +++ b/src/plugins/vmxnet3/vmxnet3_api.c @@ -72,6 +72,8 @@ vl_api_vmxnet3_create_t_handler (vl_api_vmxnet3_create_t * mp) args.rxq_size = ntohs (mp->rxq_size); args.txq_size = ntohs (mp->txq_size); args.txq_num = ntohs (mp->txq_num); + args.rxq_num = ntohs (mp->rxq_num); + args.bind = mp->bind; vmxnet3_create_if (vm, &args); rv = args.rv; |