X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=app%2Ftest-pmd%2Fmacswap.c;h=19cda0eac4748244da0bcffb36aab50804db3ba9;hb=15543fe12e106c35b1ac1cd02881ba00944446cd;hp=f9960398fdc4c54ad84bbb8090501e2653267ff8;hpb=938a184a1870bcc139b49a284ae599457e8fb8ce;p=dpdk.git diff --git a/app/test-pmd/macswap.c b/app/test-pmd/macswap.c index f9960398fd..19cda0eac4 100644 --- a/app/test-pmd/macswap.c +++ b/app/test-pmd/macswap.c @@ -56,7 +56,6 @@ #include #include #include -#include #include #include #include @@ -113,6 +112,8 @@ pkt_burst_mac_swap(struct fwd_stream *fs) ol_flags = PKT_TX_VLAN_PKT; if (txp->tx_ol_flags & TESTPMD_TX_OFFLOAD_INSERT_QINQ) ol_flags |= PKT_TX_QINQ_PKT; + if (txp->tx_ol_flags & TESTPMD_TX_OFFLOAD_MACSEC) + ol_flags |= PKT_TX_MACSEC; for (i = 0; i < nb_rx; i++) { if (likely(i < nb_rx - 1)) rte_prefetch0(rte_pktmbuf_mtod(pkts_burst[i + 1],