ethdev: add new offload flag to keep CRC
[dpdk.git] / drivers / net / pcap / rte_eth_pcap.c
index b21930b..78c54fc 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