]> git.droids-corp.org - dpdk.git/blobdiff - doc/guides/sample_app_ug/link_status_intr.rst
doc: update port id type
[dpdk.git] / doc / guides / sample_app_ug / link_status_intr.rst
index f9af4749268292967ed53b8d4042b2a72c43e723..abc1d8f0dbd9ae334344f90fe09e6e2d47be3a6f 100644 (file)
@@ -219,7 +219,7 @@ An example callback function that has been written as indicated below.
 .. code-block:: c
 
     static void
-    lsi_event_callback(uint8_t port_id, enum rte_eth_event_type type, void *param)
+    lsi_event_callback(uint16_t port_id, enum rte_eth_event_type type, void *param)
     {
         struct rte_eth_link link;
 
@@ -405,7 +405,7 @@ If the table is full, the whole packets table is transmitted using the lsi_send_
     /* Send the packet on an output interface */
 
     static int
-    lsi_send_packet(struct rte_mbuf *m, uint8_t port)
+    lsi_send_packet(struct rte_mbuf *m, uint16_t port)
     {
         unsigned lcore_id, len;
         struct lcore_queue_conf *qconf;