doc: postpone devargs clean-up
[dpdk.git] / lib / librte_port / rte_port_ethdev.c
index 7f7b16e..4ed10f2 100644 (file)
@@ -60,7 +60,7 @@ struct rte_port_ethdev_reader {
        struct rte_port_in_stats stats;
 
        uint16_t queue_id;
-       uint8_t port_id;
+       uint16_t port_id;
 };
 
 static void *
@@ -156,7 +156,7 @@ struct rte_port_ethdev_writer {
        uint16_t tx_buf_count;
        uint64_t bsz_mask;
        uint16_t queue_id;
-       uint8_t port_id;
+       uint16_t port_id;
 };
 
 static void *
@@ -337,7 +337,7 @@ struct rte_port_ethdev_writer_nodrop {
        uint64_t bsz_mask;
        uint64_t n_retries;
        uint16_t queue_id;
-       uint8_t port_id;
+       uint16_t port_id;
 };
 
 static void *
@@ -456,8 +456,8 @@ rte_port_ethdev_writer_nodrop_tx_bulk(void *port,
                        return 0;
 
                /*
-                * If we didnt manage to send all packets in single burst, move
-                * remaining packets to the buffer and call send burst.
+                * If we did not manage to send all packets in single burst,
+                * move remaining packets to the buffer and call send burst.
                 */
                for (; n_pkts_ok < n_pkts; n_pkts_ok++) {
                        struct rte_mbuf *pkt = pkts[n_pkts_ok];