vmxnet3: custom dump and debug cli fix 45/20345/2
authorSteven Luong <sluong@cisco.com>
Wed, 26 Jun 2019 05:36:26 +0000 (22:36 -0700)
committerNeale Ranns <nranns@cisco.com>
Wed, 26 Jun 2019 07:51:54 +0000 (07:51 +0000)
commit4201e96cbc80525b2a42295b1ab43967f844160f
tree50b365290dd3864a65173e36e0cbaf2b6c452abc
parentf6a9ec5cfccb26553e8fefddd355fe2e400ad396
vmxnet3: custom dump and debug cli fix

Add missing custom dump for vmxnet3_create, vmxnet3_delete, and
vmxnet3_dump.

Fix vmxnet3_create debug cli which may not parse all parameters
correctly due to passing address of u16 to unformat(). The fix is
to use a u32 local variable to receive the correct value from
unformat().

Type: fix

Change-Id: I04251c9ed0ab397ed4b1b5843a73880aec98b9f6
Signed-off-by: Steven Luong <sluong@cisco.com>
src/plugins/vmxnet3/cli.c
src/plugins/vmxnet3/vmxnet3_api.c
src/plugins/vmxnet3/vmxnet3_test.c