X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=app%2Ftest-pmd%2Ftxonly.c;h=7070ddc3b08501d38021b1aa4ab858ea1f25b154;hb=9a52f37bd2eadccc5d45e05762088c615fe0b9da;hp=8513a062061b5582cad14595f7dc04459664a846;hpb=a1b87645d39d6aca7168e0863cd13b112efd102d;p=dpdk.git diff --git a/app/test-pmd/txonly.c b/app/test-pmd/txonly.c index 8513a06206..7070ddc3b0 100644 --- a/app/test-pmd/txonly.c +++ b/app/test-pmd/txonly.c @@ -56,10 +56,8 @@ #include #include #include -#include #include #include -#include #include #include #include @@ -68,6 +66,7 @@ #include #include #include +#include #include "testpmd.h" @@ -214,6 +213,8 @@ pkt_burst_transmit(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 (nb_pkt = 0; nb_pkt < nb_pkt_per_burst; nb_pkt++) { pkt = rte_mbuf_raw_alloc(mbp); if (pkt == NULL) {