From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by dpdk.org (Postfix) with ESMTP id 0E4E3275D for ; Wed, 17 Aug 2016 16:40:31 +0200 (CEST) Received: by mail-wm0-f68.google.com with SMTP id q128so24825649wma.1 for ; Wed, 17 Aug 2016 07:40:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=62nEvYjxnxVqM07Gk9n5Wc6XgNn2dFFwHpEmL49RNbc=; b=Shh73QzLAphJ8gz03HEBQFqgu/m4GK72NgGsKao+YzTOokfkoUe/eXvPoKHRp0olFd TZPpZ1aDXKSfcybeXCB113hugL9NMmInbuQ8Wc19mE7tlY6RxqijRrEYd4gm4HxIm8Ao Qrc4E57JGhTrD9FiHzrbubQ9yK2sG8f8oKogWoHorDV78DzkFd8hNFM3oogke956EXVQ pfTu80OhA/hOH1I9egkGqd3AnD40cy/U6k3BiJXqxfaiPqjPi5PVYRUywvclTQtX9pPC 6hrDElVa2kQbUzqTMIRTQkIubyCxs9LG15CdeBJ3gTRfZqYOQzY4w8EFrHZ9LSb8+yfA x0uA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=62nEvYjxnxVqM07Gk9n5Wc6XgNn2dFFwHpEmL49RNbc=; b=A2NhUJadCyY9BBlYV3hqWtDhPc6z3BQTlk/Gsi5i1zmXRYv1xiU5A7JAoYUxJHs8PA xfcw4z0FJlfzJa2nynD/5GebxA9plUVYMwOxBv9JsV+1N5XLBKROTkxEfE2X7r22aIs9 PBT697DMJ/cBFMAYxeMDZd4Rim/4yHB2LQCwx/mQGZ/Ru1T8hWcnTKCyfR8/MSPOkTbG T5tkGK/jTjku/W15y+hb5/Z5bnxeHOR3WeFzFVemDKdEeUnobzVdhFCfGLvilBK7gp2s hSucGBvId/n0PFgwI3dbVucHH4w6QvSfnBEVlPgSiak5TWRrVTbeNJPrCZ7e3ta3uxE8 bfuQ== X-Gm-Message-State: AEkoouviDlHS1pUtGli76Bz3sUD42tnqiGj4uU1LmjZkn+UI5pwZGF2H7YK+JNuwEGTSsgQcr7Z/jqgXn8Qq/w== X-Received: by 10.28.210.5 with SMTP id j5mr27314655wmg.67.1471444830743; Wed, 17 Aug 2016 07:40:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.6.142 with HTTP; Wed, 17 Aug 2016 07:40:29 -0700 (PDT) Received: by 10.28.6.142 with HTTP; Wed, 17 Aug 2016 07:40:29 -0700 (PDT) In-Reply-To: References: From: Muhammad Zain-ul-Abideen Date: Wed, 17 Aug 2016 19:40:29 +0500 Message-ID: To: FQ Liu Cc: users@dpdk.org, Nishant Verma Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] How to use more rx queues than RSS queue limit for ixgbe X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Aug 2016 14:40:31 -0000 Doesn't 82599 has like 128 RX queues On 17 Aug 2016 12:38 p.m., "FQ Liu" wrote: > > Hi > > In production environment, all the packets have the same dst_ip, dst_port > and protocol, I cannot use vlan tag to identity in DCB mode. > If use Flow Director, one filter rule would direct to only one core, > Maybe I must modify the driver source code to meet the demand? > > 2016-08-16 21:35 GMT+08:00 Nishant Verma : > > > Hi, > > > > Yes, you can use flow director and other packet classification methods > > present, the thing is your hardware supports that. Check NIC datasheet if > > some thing you think is correct and still not working. > > For DCB, you can check example(vmdq_dcb) present in example folder in DPDK. > > For Flow Director, you can check test-pmd code. > > > > Just for your information. flow director can be used like this > > " > > struct rte_eth_fdir_filter entry; > > > > memset(&entry, 0, sizeof(struct rte_eth_fdir_filter)); > > > > entry.input.flow_type = 0x05; > > entry.input.flow.udp4_flow.ip.dst_ip=0x11223344; > > entry.input.flow.udp4_flow.dst_port=0x1111; > > entry.action.rx_queue=0x02; > > entry.action.report_status=0x02; > > > > ret = rte_eth_dev_filter_ctrl(0, RTE_ETH_FILTER_FDIR, > > RTE_ETH_FILTER_ADD, &entry); > > > > " > > So, from now packet received from 0x11223344 will be re-directed to queue > > 2. > > > > > > On Tue, Aug 16, 2016 at 6:25 AM, FQ Liu wrote: > > > >> Hi all > >> I want to use 32 cores to process dns requests, which would need 32 > >> rx queues, but the maximum RSS queue of the ethernet controller(Intel > >> Corporation 82599ES 10-Gigabit SFI/SFP+) is 16. If I can use dcb or flow > >> director to assign requests to 32 cores? > >> The document (http://dpdk.org/doc/guides/nics/overview.html) shows > >> that ixgbe driver supports DCB and Flow director, but there isn't any > >> details about. > >> > >> > >> OS: centos > >> kernel: linux-3.18.34 > >> driver: igb_uio > >> > > > > > > > > -- > > Rgds, > > Nishant > > > > > > > >