]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/i40e/i40e_rxtx.c
net/hns3: fix return value for unsupported tuple
[dpdk.git] / drivers / net / i40e / i40e_rxtx.c
index 25a28ecea22c7f667480f35f30959802b613b143..788ffb51c272ad00a7b76ff486f4765e22a0263d 100644 (file)
@@ -1523,6 +1523,7 @@ i40e_xmit_pkts_vec(void *tx_queue, struct rte_mbuf **tx_pkts,
        while (nb_pkts) {
                uint16_t ret, num;
 
+               /* cross rs_thresh boundary is not allowed */
                num = (uint16_t)RTE_MIN(nb_pkts, txq->tx_rs_thresh);
                ret = i40e_xmit_fixed_burst_vec(tx_queue, &tx_pkts[nb_tx],
                                                num);