dpdk: use port_id as interface name suffix for representors 91/24791/3
authorHaggai Eran <haggai.eran@gmail.com>
Tue, 4 Feb 2020 12:32:19 +0000 (14:32 +0200)
committerDamjan Marion <dmarion@me.com>
Wed, 5 Feb 2020 09:20:26 +0000 (09:20 +0000)
commita80f8f371733a73a0fa8351a66bd1e519f1b90cd
tree2b7ed2ff364d5dc52b666ab8bec829c2d9ed59a9
parent2347278d9530690e0cec815652f5749def673404
dpdk: use port_id as interface name suffix for representors

Type: feature

Representor devices include a port ID as part of their switch_info struct, and
it is helpful to use that in the interface name.

Signed-off-by: Haggai Eran <haggai.eran@gmail.com>
Change-Id: Id24627e7daf857f8b0e8ace2f592c098678081c7
src/plugins/dpdk/device/init.c