rte_pktmbuf_free(pkts_burst[--tx_count]);
}
}
- for (i = 0; i < tx_count; ++i)
- virtio_tx_route(vdev, pkts_burst[i], (uint16_t)dev->device_fh);
+ for (i = 0; i < tx_count; ++i) {
+ virtio_tx_route(vdev, pkts_burst[i],
+ vlan_tags[(uint16_t)dev->device_fh]);
+ }
}
/*move to the next device in the list*/