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 4E7F358F7 for ; Wed, 17 Aug 2016 21:49:58 +0200 (CEST) Received: by mail-wm0-f42.google.com with SMTP id d196so39587020wmd.0 for ; Wed, 17 Aug 2016 12:49:58 -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=Qm1WE0S14p739bIWqofz4LwPgm+iZD5vn99hTJTR9FA=; b=uTY+tu/Z2IMXtX/+8aDBpC/hOHkA6aRmGwiL3SZkMTtfFj8PDXtuX9LxGD0Jl0uyne SApplm2xW9fe9+KZH0tMv1tIMLTOu8CAz3qfX17QSCE/cr3OC/0wRZRqXvEwwYtgiZzV t4+zqqmUGk9Pxwh3IQioYlu1k+X3BaMwhC9N4HSul4eNKOMU+59kAro+SfUd/4S2ho0A baVfVlvBsD3rqJzdc2hdppopNqaFdPW4aTXd9S47vIto/4FeEsamnMatyWQfHxknLcQW 14/kKTlVCCxLCdYXZ8PhfXSrVOtkzOsllnZwx9YpFy91GIBaLIthybeCyz/FgMWf2TZs hPxQ== 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=Qm1WE0S14p739bIWqofz4LwPgm+iZD5vn99hTJTR9FA=; b=VDoJxJHGLQUFSdD/AZ9RL29RoRzEF2IPKsa7gs0s0Lpq6PMrPtz/K40HZnIVukIS7j Cz5NJ3u+TgJu0nBEX8vXGOLZiUjW5HqcDHTlwyyzPNmd6auP2V/P30b2bjESXboU+4sw +T+MQdbdPH5phB+1kYl5Glw71yWtLTPriFTmymGK5dsvG/VjfzpdrsxnadHDZkoDIDpy q/755dhQuyYB9Bl12JPWLI74zhY06LejlIT3+P7YfWtvPDhH2AWkPxTrmXYKGvUt33dZ ncreMlH/25URXNvUXNTW6eNqI79FZUfIey8Og7CS686hd3HdgCUnI9FhY2MYThYan/ye CcMQ== X-Gm-Message-State: AEkoouv0E407SCXTxhxaxJFqdRen5S/OmpmkCXJoOhbqz/KZ2fwAK4MAklZoKci0vrH1n8z5gyV5RETxKGtmYg== X-Received: by 10.194.32.195 with SMTP id l3mr43334888wji.27.1471463398031; Wed, 17 Aug 2016 12:49:58 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.208.204 with HTTP; Wed, 17 Aug 2016 12:49:57 -0700 (PDT) In-Reply-To: References: From: dave seddon Date: Wed, 17 Aug 2016 12:49:57 -0700 Message-ID: To: Muhammad Zain-ul-Abideen Cc: FQ Liu , users , Nishant Verma Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 19:49:58 -0000 Data sheet =EF=81=AE Multiple receive queues (Flow Director) 16 x 8 and 32 x 4 =EF=81=AE Eight VLAN L2 filters =EF=81=AE 16 flex L3 port filters =EF=81=AE Four Flexible TCO filters =EF=81=AE Four L3 address filters (IPv4) =EF=81=AE Four L3 address filters (IPv6) =EF=81=AE Four L2 address filters http://www.intel.com/content/www/us/en/embedded/products/ networking/82599-10-gbe-controller-datasheet.html On Wed, Aug 17, 2016 at 7:40 AM, Muhammad Zain-ul-Abideen < zain2294@gmail.com> wrote: > 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_po= rt > > 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 method= s > > > present, the thing is your hardware supports that. Check NIC datashee= t > 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 =3D 0x05; > > > entry.input.flow.udp4_flow.ip.dst_ip=3D0x11223344; > > > entry.input.flow.udp4_flow.dst_port=3D0x1111; > > > entry.action.rx_queue=3D0x02; > > > entry.action.report_status=3D0x02; > > > > > > ret =3D 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 ne= ed > 32 > > >> rx queues, but the maximum RSS queue of the ethernet controller(Inte= l > > >> 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 an= y > > >> details about. > > >> > > >> > > >> OS: centos > > >> kernel: linux-3.18.34 > > >> driver: igb_uio > > >> > > > > > > > > > > > > -- > > > Rgds, > > > Nishant > > > > > > > > > > > > > --=20 Regards, Dave Seddon +1 415 857 5102