From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by dpdk.org (Postfix) with ESMTP id F2166C3B0 for ; Sun, 26 Apr 2015 16:46:19 +0200 (CEST) Received: by wizk4 with SMTP id k4so71936265wiz.1 for ; Sun, 26 Apr 2015 07:46:19 -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=PG8CvZ092/OrqnrkToEQkf5g8jVBlkGXvEdMjO9RZqEtyMxBQ37SNirgypI0ewMGpc xE5+AuuDc+hT2Dvvlb55GaEXT//L/W7ZQkMYqCqfXuQ/AH5awk18Qc+rXQ2EBInB0aFx cwkzfs/3grz+j+J0bpzpm5rV12XMKYyrgJz6x3lRkwlCHFX6C90o4m2bvcGa6V4HuI4p ALnL/DeUmqrK9jHcnsKF4zeS4iqqupfCZAOXODIKhOJUn8wa79nfqvIP7UVtvY7jStsk yzKUfczqFbDE+G91N7q27DjZNVsME0X5y2UH867WnPHT9jlbAgtSwvzH+q3twk6Wd6fg 2KGw== X-Gm-Message-State: ALoCoQkouayLo8iYAyhB3Av7G7daHVUxWywPTDDkjfGya4HsoXQcfhhHLbILL2k10hhasprMsqAL X-Received: by 10.180.106.70 with SMTP id gs6mr12810295wib.36.1430059579903; Sun, 26 Apr 2015 07:46:19 -0700 (PDT) Received: from vladz-laptop.cloudius-systems.com. ([212.143.139.214]) by mx.google.com with ESMTPSA id gy8sm7595913wib.13.2015.04.26.07.46.18 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 26 Apr 2015 07:46:18 -0700 (PDT) From: Vlad Zolotarov To: dev@dpdk.org Date: Sun, 26 Apr 2015 17:46:09 +0300 Message-Id: <1430059571-20843-3-git-send-email-vladz@cloudius-systems.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1430059571-20843-1-git-send-email-vladz@cloudius-systems.com> References: <1430059571-20843-1-git-send-email-vladz@cloudius-systems.com> Subject: [dpdk-dev] [PATCH v1 2/4] 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: Sun, 26 Apr 2015 14:46:20 -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