From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from netronome.com (host-79-78-33-110.static.as9105.net [79.78.33.110]) by dpdk.org (Postfix) with ESMTP id B6C6D28F3 for ; Wed, 23 May 2018 12:16:00 +0200 (CEST) Received: from netronome.com (localhost [127.0.0.1]) by netronome.com (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id w4NAEjS9035451 for ; Wed, 23 May 2018 11:14:45 +0100 Received: (from alucero@localhost) by netronome.com (8.14.4/8.14.4/Submit) id w4NAEiwx035450 for dev@dpdk.org; Wed, 23 May 2018 11:14:44 +0100 From: Alejandro Lucero To: dev@dpdk.org Date: Wed, 23 May 2018 11:14:44 +0100 Message-Id: <1527070484-35412-1-git-send-email-alejandro.lucero@netronome.com> X-Mailer: git-send-email 1.9.1 Subject: [dpdk-dev] [PATCH] net/nfp: remove reference to old offload API X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 May 2018 10:16:01 -0000 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 --- drivers/net/nfp/nfp_net.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/nfp/nfp_net.c b/drivers/net/nfp/nfp_net.c index 80dc273..34a8cad 100644 --- a/drivers/net/nfp/nfp_net.c +++ b/drivers/net/nfp/nfp_net.c @@ -1508,8 +1508,6 @@ enum nfp_qcp_ptr { 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; /* -- 1.9.1