]> git.droids-corp.org - dpdk.git/blobdiff - examples/ip_fragmentation/main.c
examples/ipsec-secgw: support flow director
[dpdk.git] / examples / ip_fragmentation / main.c
index 104612339c9442992935262012daf04966b2bad5..5eca7ba994829a059c9fe1c6cad503e16d673785 100644 (file)
@@ -382,7 +382,7 @@ l3fwd_simple_forward(struct rte_mbuf *m, struct lcore_queue_conf *qconf,
 
 /* main processing loop */
 static int
-main_loop(__attribute__((unused)) void *dummy)
+main_loop(__rte_unused void *dummy)
 {
        struct rte_mbuf *pkts_burst[MAX_PKT_BURST];
        unsigned lcore_id;
@@ -646,7 +646,7 @@ check_all_ports_link_status(uint32_t port_mask)
        }
 }
 
-/* Check L3 packet type detection capablity of the NIC port */
+/* Check L3 packet type detection capability of the NIC port */
 static int
 check_ptype(int portid)
 {