]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/hinic/hinic_pmd_tx.c
net/hinic: fix Tx mbuf length while copying
[dpdk.git] / drivers / net / hinic / hinic_pmd_tx.c
index 996e0b26ffa7001650c14a5ef9815777523f66fc..bd39f9364fda149577f5b7081b7f019423d3397b 100644 (file)
@@ -313,6 +313,8 @@ static inline struct rte_mbuf *hinic_copy_tx_mbuf(struct hinic_nic_dev *nic_dev,
                mbuf = mbuf->next;
        }
 
+       dst_mbuf->pkt_len = dst_mbuf->data_len;
+
        return dst_mbuf;
 }