mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 06:15:47 +00:00
netdev-dpdk: replace uint8_t with dpdk_port_t
netdev_dpdk_detach() declares a 'port_id' variable, of type uint8_t.
This variable should instead be of type dpdk_port_t.
Fixes: bb37956ac
("netdev-dpdk: Use uint8_t for port_id.")
CC: Ilya Maximets <i.maximets@samsung.com>
Signed-off-by: Mark Kavanagh <mark.b.kavanagh@intel.com>
Acked-by: Ilya Maximets <i.maximets@samsung.com>
Signed-off-by: Ian Stokes <ian.stokes@intel.com>
This commit is contained in:
committed by
Ian Stokes
parent
1ae83bb206
commit
7ee94cbac8
@@ -2582,7 +2582,7 @@ netdev_dpdk_detach(struct unixctl_conn *conn, int argc OVS_UNUSED,
|
||||
{
|
||||
int ret;
|
||||
char *response;
|
||||
uint8_t port_id;
|
||||
dpdk_port_t port_id;
|
||||
char devname[RTE_ETH_NAME_MAX_LEN];
|
||||
struct netdev_dpdk *dev;
|
||||
|
||||
|
Reference in New Issue
Block a user