]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/pcap/rte_eth_pcap.c
ethdev: add new offload flag to keep CRC
[dpdk.git] / drivers / net / pcap / rte_eth_pcap.c
index b21930b4952086bc4d1dd529397adf3fe464156c..78c54fcca103e47e97004b588e778e9690c78bd7 100644 (file)
@@ -538,6 +538,7 @@ eth_dev_info(struct rte_eth_dev *dev,
        dev_info->max_rx_queues = dev->data->nb_rx_queues;
        dev_info->max_tx_queues = dev->data->nb_tx_queues;
        dev_info->min_rx_bufsize = 0;
+       dev_info->rx_offload_capa = DEV_RX_OFFLOAD_CRC_STRIP;
 }
 
 static int