]> git.droids-corp.org - dpdk.git/blobdiff - examples/l3fwd/l3fwd_lpm_sse.h
examples/l3fwd: add switch fall-through comments
[dpdk.git] / examples / l3fwd / l3fwd_lpm_sse.h
index aa06b6d34346ca98a8c263656583531660e3ec26..e92814b10a1fd631cb4e1dce50d5c92ad98dbe4e 100644 (file)
@@ -199,9 +199,11 @@ l3fwd_lpm_send_packets(int nb_rx, struct rte_mbuf **pkts_burst,
        case 3:
                dst_port[j] = lpm_get_dst_port(qconf, pkts_burst[j], portid);
                j++;
+               /* fall-through */
        case 2:
                dst_port[j] = lpm_get_dst_port(qconf, pkts_burst[j], portid);
                j++;
+               /* fall-through */
        case 1:
                dst_port[j] = lpm_get_dst_port(qconf, pkts_burst[j], portid);
                j++;