From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vlad Zolotarov Subject: [PATCH v1 2/4] ixgbe: ixgbe_rx_queue: remove unused rsc_en field Date: Sun, 26 Apr 2015 17:46:09 +0300 Message-ID: <1430059571-20843-3-git-send-email-vladz@cloudius-systems.com> References: <1430059571-20843-1-git-send-email-vladz@cloudius-systems.com> To: dev-VfR2kkLFssw@public.gmane.org Return-path: In-Reply-To: <1430059571-20843-1-git-send-email-vladz-RmZWMc9puTNJc61us3aD9laTQe2KTcn/@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 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