summaryrefslogtreecommitdiffstats
path: root/src/plugins/dpdk/device/dpdk.h
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2018-05-30 11:14:10 +0200
committerMarco Varlese <marco.varlese@suse.de>2018-05-30 10:36:54 +0000
commited256991f326ce91dd12f6584baf81b2aa5aae4a (patch)
treeef3022beb961c1f9fcb1f05f49b6afb489d99476 /src/plugins/dpdk/device/dpdk.h
parentb0861820b92ede0f2022151c275458eb1b702e6d (diff)
dpdk: rename port_id to *_instance_num
port_id be used for dpdk port_id Change-Id: Ia7d8cdc5dec2ad658c11f9c0f3ef8005a470ac3c Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins/dpdk/device/dpdk.h')
-rw-r--r--src/plugins/dpdk/device/dpdk.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/dpdk/device/dpdk.h b/src/plugins/dpdk/device/dpdk.h
index b1610e72fa1..86cc6705721 100644
--- a/src/plugins/dpdk/device/dpdk.h
+++ b/src/plugins/dpdk/device/dpdk.h
@@ -233,7 +233,8 @@ typedef struct
dpdk_device_hqos_per_hqos_thread_t *hqos_ht;
/* af_packet or BondEthernet instance number */
- dpdk_portid_t port_id;
+ u16 af_packet_instance_num;
+ u16 bond_instance_num;
/* Bonded interface port# of a slave -
only valid if DPDK_DEVICE_FLAG_BOND_SLAVE bit is set */