app/test: put dev_ops in private
authorStephen Hemminger <stephen@networkplumber.org>
Tue, 7 Apr 2015 21:21:02 +0000 (14:21 -0700)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 13 Apr 2015 20:50:10 +0000 (22:50 +0200)
commit36d40d0b0ecddcc369fd13ee225f8f532dbb6683
treeee6e20a1860b7d2a2f675412cbd339c5bd48d849
parent80d8c6a5bb0893b7484f869f802b08697b2b6769
app/test: put dev_ops in private

The test PMD uses a special type of eth_dev_ops to test features.
Rather allocating this separately, just put in the private data area.
This allows for next change to make dev_ops const.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
app/test/virtual_pmd.c