From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f176.google.com (mail-wr0-f176.google.com [209.85.128.176]) by dpdk.org (Postfix) with ESMTP id BC850234 for ; Thu, 9 Mar 2017 19:27:18 +0100 (CET) Received: by mail-wr0-f176.google.com with SMTP id g10so50788776wrg.2 for ; Thu, 09 Mar 2017 10:27:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=uJ0skMcWCrvcviW6YwR9PlAUtbHQNtNQRj7JmeSfC5k=; b=n5k2sIvcVe31QyYiemoPsAbAMphGH9Pn2u/YGgO/G+9EdQ0VXw5wNe+3JheNGp7YrP 1Y+J030gUwnyUtVeT87MKKOpiNMFkDMpROTr3m3rbc8hrElvFdRJow4Kt5xura7ZG5N8 2RMVK8Y0wW8Awpe4saWTWTce+EGD0jNp/gyQ9l3S8NRaM/PyVtNxcWzysy0OJ7iYvnU+ NGWsYjSMhfLW0EmFNcixWzM/uQsCDHQcyXe1jtllGeJUyuAEikK4jWzBgGlXutSrAhpp Vao297ewKXCpSfmXm3CXkv0Zu3+r8SJzGk6mFeQoyAmgUO3nRp4bU61tMmTU747Lt/jW wQZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=uJ0skMcWCrvcviW6YwR9PlAUtbHQNtNQRj7JmeSfC5k=; b=DoPfVMWx1Gmguqe8TpHz+F4ME8Oo193HB2lQXsXKCjDa+jjSXR6aqjDwBdIEbWm9o/ FcHx2MbXgnvAqbHA1cmear7IMAHVszOfbw+k8D5kTe225RnsPvDINI9eoxlYuTBAi7cS RMoVy+AjVZLzbVfm6R8uTWkrKzir6/H4swbCcAC9bb7+3JtH4hMKUxi5PBN6EmsCuDKZ OuuWnf/cNkij7JYApP58ysr/KfsQtj+Mewad+knByCQ7p5QfCQv+/SYsC5TCRCdwzhsu TGoxghRFJ6qqEU9Qc65y1Dp8KzF/EYCv6MYaeNqH6uJsb0d+MiYLOo5bNWTGsJp5ZNEt ffjA== X-Gm-Message-State: AMke39n8dSp+8PNCZAI3BI/ctshO8s616q2r8tQzqaxIulDTDKzCBBbQD1W6ZGoh2j8G6iTH X-Received: by 10.223.176.7 with SMTP id f7mr12371854wra.124.1489084038344; Thu, 09 Mar 2017 10:27:18 -0800 (PST) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id i133sm19877626wmg.26.2017.03.09.10.27.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Mar 2017 10:27:17 -0800 (PST) From: Thomas Monjalon To: Olivier Matz Cc: dev@dpdk.org, ferruh.yigit@intel.com Date: Thu, 09 Mar 2017 19:27:17 +0100 Message-ID: <2143302.F6RKAYHQ0c@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1487345133-4586-2-git-send-email-olivier.matz@6wind.com> References: <1487345133-4586-1-git-send-email-olivier.matz@6wind.com> <1487345133-4586-2-git-send-email-olivier.matz@6wind.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH 2/2] ethdev: move queue id check in generic layer 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: Thu, 09 Mar 2017 18:27:18 -0000 2017-02-17 16:25, Olivier Matz: > The check of queue_id is done in all drivers implementing > rte_eth_rx_queue_count(). Factorize this check in the generic function. > > Note that the nfp driver was doing the check differently, which could > induce crashes if the queue index was too big. > > Signed-off-by: Olivier Matz > --- > > This commit was part of RFC patchset that will be reworked: > http://dpdk.org/dev/patchwork/patch/17232/ > It can be processed separately. Series applied, thanks