]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/vhost/rte_eth_vhost.h
net: fix RARP generation
[dpdk.git] / drivers / net / vhost / rte_eth_vhost.h
index 39ca77197140c13b349a5edc3214bb7689c6c6df..948f3c8107374965b8841d3679a1db33eee5f8eb 100644 (file)
@@ -69,7 +69,7 @@ struct rte_eth_vhost_queue_event {
  *  - On success, zero.
  *  - On failure, a negative value.
  */
-int rte_eth_vhost_get_queue_event(uint8_t port_id,
+int rte_eth_vhost_get_queue_event(uint16_t port_id,
                struct rte_eth_vhost_queue_event *event);
 
 /**
@@ -79,7 +79,7 @@ int rte_eth_vhost_get_queue_event(uint8_t port_id,
  *  - On success, the 'vid' associated with 'port_id'.
  *  - On failure, a negative value.
  */
-int rte_eth_vhost_get_vid_from_port_id(uint8_t port_id);
+int rte_eth_vhost_get_vid_from_port_id(uint16_t port_id);
 
 #ifdef __cplusplus
 }