From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) by dpdk.org (Postfix) with ESMTP id 15FC31D7 for ; Fri, 8 Dec 2017 15:39:41 +0100 (CET) Received: by mail-wm0-f42.google.com with SMTP id f206so3508144wmf.5 for ; Fri, 08 Dec 2017 06:39:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=TvAlrmCPdTam1OQ3e838VtQn+Uzwz1w+Wp+52o4Jv9E=; b=BjZZRgn+hXUoOCglI3Z0ob4877AXqhHEub+RjoTGW81WOYqvfVWmsxK2K42tA3+euB siy+QLemnYMRDIrrn3czYnqxHmqgp4vN8lsmnhmiilsBHmCejmm5DLvwwRzNA2Wj7H6L 9HjPcwZYgJWQjvnkmdT7iahDZSFJRjkPEpX3ULaLBcGZbdIYwXElBahedoTbeR11PkBG GZnby4RHljG2L6SN8bjWvhuhKpYJdqJ90HYevEup9t+Tc2XMHMFQSysvZn95RQBIs2yo +70E7D3UOTzWh3GQa+ZZeaBcI0zYs0kIPSyBo3N8u5452LY8sGjYUQGSdX+Tn5EhpdnZ 97pQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=TvAlrmCPdTam1OQ3e838VtQn+Uzwz1w+Wp+52o4Jv9E=; b=EzBTMP1YLu/ZHQOcs3UXXoAzUqqqEkZyilDhP/lBOO0QlrE0iRo6xBc/mg0/4Z/qcy taTG3QVvsDq0lwyFoOwOmrtTDRkZhoSZcpxXmBEOQAE4rya20fFni78tMd+rMwCBAu2U 29XSKcTlsifBnpfG8CX0y+MUND70MrFjjxUt0SxJv1IGepJjMc1ngfuzhwKQ4kW6uuBX RyTbrvIGPZbQh3XyRqynd/jokgn/wkhuU7ZqUaBEmjdIV8Ah+LmmVMHaQaTQB/4zAC1H O6uqagrhNigy39/eTDhUQMdPKO651isBWtmh4Z7+JCzs0j24XlL12Vszgy+PuevhEmjd kvGw== X-Gm-Message-State: AKGB3mLXwCYS5KcH6AR92ck1VCNVvsceYkpb7OBjEYVnoNGEfm9hlVp2 p0REYllezAWWW2bP/+7FozEnOGyUuw== X-Google-Smtp-Source: AGs4zMZkFFZxrqGIhvXdMzpbHVz7lpgwyOydXpGiRFn+/hABWHb1ZxzwEjLv3dkGkNWN1UfpD6aBsQ== X-Received: by 10.28.1.14 with SMTP id 14mr4433131wmb.51.1512743980801; Fri, 08 Dec 2017 06:39:40 -0800 (PST) Received: from laranjeiro-vm.dev.6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id o48sm8783906wrf.85.2017.12.08.06.39.39 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 08 Dec 2017 06:39:40 -0800 (PST) Date: Fri, 8 Dec 2017 15:40:00 +0100 From: Nelio Laranjeiro To: Anoob Cc: Sergio Gonzalez Monroy , Radu Nicolau , dev@dpdk.org Message-ID: <20171208144000.seega54cbv7prktb@laranjeiro-vm.dev.6wind.com> References: <6ac80a2be156911ee35c894924a02f04c43f49fc.1511449894.git.nelio.laranjeiro@6wind.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) Subject: Re: [dpdk-dev] [PATCH v2 2/2] examples/ipsec-secgw: add target queues in flow actions 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: Fri, 08 Dec 2017 14:39:41 -0000 On Fri, Dec 08, 2017 at 07:30:03PM +0530, Anoob wrote: > Hi Nelio, > > [...] > > + goto flow_create; > > + /* Try Queue. */ > > + for (i = 0; > > + i < eth_dev->data->nb_rx_queues; ++i) > > + if (eth_dev->data->rx_queues[i]) > > + break; > Is the following check correct? [...] For an application, it seems not necessary. The application knows which queues are configured in the drivers has it has made the configuration. Removing it in the v3. Thanks, -- Nélio Laranjeiro 6WIND