Ilya Maximets <[email protected]> writes: > Currently, signed integer is used for 'port_id' variable and > '-1' as identifier of bad or uninitialized 'port_id'. > > This inconsistent with dpdk library and, also, in few cases, > leads to passing '-1' to dpdk functions where uint8_t expected. > > Such behaviour doesn't produce any issues, but it's better to > use same type as in dpdk library for consistency. > > Also, magic number '-1' replaced with DPDK_ETH_PORT_ID_INVALID > macro. > > Signed-off-by: Ilya Maximets <[email protected]> > ---
Acked-by: Aaron Conole <[email protected]> _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
