vmxnet3: remove useless adapter wrapper
authorStephen Hemminger <stephen@networkplumber.org>
Fri, 13 Jun 2014 01:39:58 +0000 (18:39 -0700)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 22 Jul 2014 14:40:55 +0000 (16:40 +0200)
commitfb8251bcc5e243c7195263dc4a811546047ae1e8
treef2d70f587a647f07746533e134de2c2e3cd6a963
parent8073d567715d0a053d9ec2b643a3537c54966f5f
vmxnet3: remove useless adapter wrapper

The adapter struct is just a wrapper around the vmxnet3_hw
structure. Eliminate the wrapper and get rid of the macro
used to access and needlessly cast the private data.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
lib/librte_pmd_vmxnet3/vmxnet3_ethdev.c
lib/librte_pmd_vmxnet3/vmxnet3_ethdev.h
lib/librte_pmd_vmxnet3/vmxnet3_rxtx.c