mbuf: remove the rte_pktmbuf structure
[dpdk.git] / app / test-pmd / macfwd-retry.c
index f4e06c4..5122983 100644 (file)
@@ -119,7 +119,7 @@ pkt_burst_mac_retry_forward(struct fwd_stream *fs)
        fs->rx_packets += nb_rx;
        for (i = 0; i < nb_rx; i++) {
                mb = pkts_burst[i];
-               eth_hdr = (struct ether_hdr *) mb->pkt.data;
+               eth_hdr = (struct ether_hdr *) mb->data;
                ether_addr_copy(&peer_eth_addrs[fs->peer_addr],
                                &eth_hdr->d_addr);
                ether_addr_copy(&ports[fs->tx_port].eth_addr,