From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f169.google.com (mail-wi0-f169.google.com [209.85.212.169]) by dpdk.org (Postfix) with ESMTP id D29BDC7A6 for ; Wed, 29 Apr 2015 10:38:25 +0200 (CEST) Received: by wicmx19 with SMTP id mx19so125627633wic.1 for ; Wed, 29 Apr 2015 01:38:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=uOiPybpm0Cy1g77Vyx1MxoLaPB1zQ5zRLjwtws27Bco=; b=H3SAUh/FM568B7PIS5Yzhz8gEvUpXiRhsZ7jV3rLfMIiTn6eOWV4CV8NBxrPCLw5vn /0bQRHBdL6lww7S481MY1v8LAy20kU4uPcqEZ6+wJFOEmMvK+LPEvnv4OnhMcsssw6E3 GQt7+Sngv0IF5L1LBTvzmubuZpx9VpjLAehdoTGz+mxC2INyPKmPCb1e8Vp/k5FBdZYe eCRoecCSAoHp6inGGztFYQC32ooSmOmwoTV673AZy6Lt0wxqbKLJOCuSXCxEhkjHrlCY 518PXu3/q1Q9FiOCOyA5pMhbu0k1H3iVNEgl4pzfb5CJYIbmoxk+9IJBii6I68H27i74 8EWg== X-Gm-Message-State: ALoCoQnibDJy//cnM/Y5sxAzWDRO9zj/JsP6rzFhceyCT+2rxElArP2S5BjK+0A6cZjhQIbatWZn X-Received: by 10.194.23.66 with SMTP id k2mr39210818wjf.18.1430296704721; Wed, 29 Apr 2015 01:38:24 -0700 (PDT) Received: from vladz-laptop.localdomain (bzq-79-182-192-238.red.bezeqint.net. [79.182.192.238]) by mx.google.com with ESMTPSA id yr1sm37946370wjc.37.2015.04.29.01.38.23 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 29 Apr 2015 01:38:23 -0700 (PDT) From: Vlad Zolotarov To: dev@dpdk.org Date: Wed, 29 Apr 2015 11:38:14 +0300 Message-Id: <1430296697-32650-3-git-send-email-vladz@cloudius-systems.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1430296697-32650-1-git-send-email-vladz@cloudius-systems.com> References: <1430296697-32650-1-git-send-email-vladz@cloudius-systems.com> Subject: [dpdk-dev] [PATCH v2 2/5] ixgbe: ixgbe_rx_queue: remove unused rsc_en field X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Apr 2015 08:38:26 -0000 Signed-off-by: Vlad Zolotarov --- lib/librte_pmd_ixgbe/ixgbe_rxtx.c | 3 --- lib/librte_pmd_ixgbe/ixgbe_rxtx.h | 1 - 2 files changed, 4 deletions(-) diff --git a/lib/librte_pmd_ixgbe/ixgbe_rxtx.c b/lib/librte_pmd_ixgbe/ixgbe_rxtx.c index 60344a9..a45f51e 100644 --- a/lib/librte_pmd_ixgbe/ixgbe_rxtx.c +++ b/lib/librte_pmd_ixgbe/ixgbe_rxtx.c @@ -2489,7 +2489,6 @@ ixgbe_reset_rx_queue(struct ixgbe_adapter *adapter, struct ixgbe_rx_queue *rxq) rxq->nb_rx_hold = 0; rxq->pkt_first_seg = NULL; rxq->pkt_last_seg = NULL; - rxq->rsc_en = 0; } int @@ -4188,8 +4187,6 @@ ixgbe_set_rsc(struct rte_eth_dev *dev) * interrupt vector. */ ixgbe_set_ivar(dev, rxq->reg_idx, i, 0); - - rxq->rsc_en = 1; } dev->data->lro = 1; diff --git a/lib/librte_pmd_ixgbe/ixgbe_rxtx.h b/lib/librte_pmd_ixgbe/ixgbe_rxtx.h index 4d77042..a1bcbe8 100644 --- a/lib/librte_pmd_ixgbe/ixgbe_rxtx.h +++ b/lib/librte_pmd_ixgbe/ixgbe_rxtx.h @@ -131,7 +131,6 @@ struct ixgbe_rx_queue { uint8_t port_id; /**< Device port identifier. */ uint8_t crc_len; /**< 0 if CRC stripped, 4 otherwise. */ uint8_t drop_en; /**< If not 0, set SRRCTL.Drop_En. */ - uint8_t rsc_en; /**< If not 0, RSC is enabled. */ uint8_t rx_deferred_start; /**< not in global dev start. */ #ifdef RTE_LIBRTE_IXGBE_RX_ALLOW_BULK_ALLOC /** need to alloc dummy mbuf, for wraparound when scanning hw ring */ -- 2.1.0