summaryrefslogtreecommitdiffstats
path: root/src/plugins/dpdk/device/cli.c
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2017-04-28 17:10:38 +0200
committerFlorin Coras <florin.coras@gmail.com>2017-05-09 17:52:57 +0000
commite6c5941b982083840a48e1de06f5324893153d8f (patch)
tree6c2b4b773df661a05ba1b2ed0f64983d8af8dc61 /src/plugins/dpdk/device/cli.c
parent7bee80c823ca77de3aca803fdede77e4c7385a52 (diff)
dpdk: refactor setup, start, stop code
Change-Id: I0fec86914ec027383ff511b7092beac2363f55f7 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins/dpdk/device/cli.c')
-rw-r--r--src/plugins/dpdk/device/cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/dpdk/device/cli.c b/src/plugins/dpdk/device/cli.c
index 17d1bfe1a44..c7e5090dd81 100644
--- a/src/plugins/dpdk/device/cli.c
+++ b/src/plugins/dpdk/device/cli.c
@@ -537,7 +537,7 @@ set_dpdk_if_desc (vlib_main_t * vm, unformat_input_t * input,
if (nb_tx_desc != (u32) ~ 0)
xd->nb_tx_desc = nb_tx_desc;
- error = dpdk_port_setup (dm, xd);
+ error = dpdk_device_setup (xd);
done:
unformat_free (line_input);