From: Alejandro Lucero Date: Wed, 23 May 2018 10:14:44 +0000 (+0100) Subject: net/nfp: remove reference to old offload API X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=f0caa20c40a55639abc5b218ae910ebcb73e67ef;p=dpdk.git net/nfp: remove reference to old offload API This was missed in a previous patch for using new offload API. It turns out the line can be removed because that internal PMD crc_len data is not being used. Fixes: a922c6a789ff ("net/nfp: support new HW offloads API") Signed-off-by: Alejandro Lucero --- diff --git a/drivers/net/nfp/nfp_net.c b/drivers/net/nfp/nfp_net.c index 80dc2731ca..34a8cad043 100644 --- a/drivers/net/nfp/nfp_net.c +++ b/drivers/net/nfp/nfp_net.c @@ -1508,8 +1508,6 @@ nfp_net_rx_queue_setup(struct rte_eth_dev *dev, rxq->rx_count = nb_desc; rxq->port_id = dev->data->port_id; rxq->rx_free_thresh = rx_conf->rx_free_thresh; - rxq->crc_len = (uint8_t) ((dev->data->dev_conf.rxmode.hw_strip_crc) ? 0 - : ETHER_CRC_LEN); rxq->drop_en = rx_conf->rx_drop_en; /*