From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0040.outbound.protection.outlook.com [104.47.42.40]) by dpdk.org (Postfix) with ESMTP id 2272F1396 for ; Mon, 11 Sep 2017 20:27:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=5cchshGOaUgPw+b0zyGzefv+7ocLmGsmKNgkUmik7Hw=; b=EUa9tPVIXBWEg1HhACcFZqSbFRJq1TJEKiut/cZHrzc6n/Cig3PcX7HhJhfyXJQIS39l8cIHaM4VmALj8Njb7y7/X85ukXtLICg36S1FZgBCS4Hx0mznRXGtaoRhgD8npKx90jtlpdYztHIvpeyUa+scwOIzWzT0WKiw1nT/7Tk= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (106.201.102.0) by SN2PR07MB2527.namprd07.prod.outlook.com (2603:10b6:804:6::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.13.10; Mon, 11 Sep 2017 18:27:50 +0000 Date: Mon, 11 Sep 2017 23:57:32 +0530 From: Jerin Jacob To: Ferruh Yigit Cc: dev@dpdk.org, santosh.shukla@caviumnetworks.com Message-ID: <20170911182731.GE26002@jerin> References: <20170831145436.5397-1-jerin.jacob@caviumnetworks.com> <20170831145436.5397-7-jerin.jacob@caviumnetworks.com> <1a02f2ba-bbd0-bc5b-1d0d-bdbcc88f7aba@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1a02f2ba-bbd0-bc5b-1d0d-bdbcc88f7aba@intel.com> User-Agent: Mutt/1.9.0 (2017-09-02) X-Originating-IP: [106.201.102.0] X-ClientProxiedBy: PN1PR01CA0073.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:1::13) To SN2PR07MB2527.namprd07.prod.outlook.com (2603:10b6:804:6::27) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 79eb88c3-ac2e-461a-9577-08d4f942d00f X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(300000502095)(300135100095)(22001)(2017030254152)(300000503095)(300135400095)(2017052603199)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:SN2PR07MB2527; X-Microsoft-Exchange-Diagnostics: 1; SN2PR07MB2527; 3:idhwlg93VwjYhLO2AMOHHNgrTHWysEhH5q4OrDZPar9xa9cWLiOy7V8aB2gpPOWYFn4YoHGqRYSUSGSIAr+AM3C0QvUx915L0Efz3/Tmm2EgAQ0iAxUVhLCWNqr0gtCJ1O5uJWlgByvK9CfDR2wcWoTgRuuoDqpOu/uYXwimNlkgbv+CTno3ZE8/32rrx71uu8ksFK62IZ/Z1QLOguhAODHfvoH3az4hcJa5Edy4zFyH86bNtkPoq/7FMb7ozQS6; 25:CZzNkpOZCtuskIphNEx1ykbZlxwgXiBteLvLbTjRrsIw2jjvwdclXjrXD76OS7kA3MVVPhGA94LJWORmjKpe5pBcEwXZGWnR9EoQtRMB/ppA06ncZlzOWQsXe3cdOHEILo8XEgIOXSkgx8OyEzSNRUijTr34R6oGWGFr4639/tEtrWVoKcrzHkS1r3Pk3uUObtedk/5nxlu2QkMkWufEX6AJNVgVc51e8ylIDJpAXdXjOZqYOe9++XTtk3GIMM7WmecPGiYnGF2AWXXdrEjygkvBULa3jPpFNSuvVNOE8BSG3yRlBCts/xxr+ywp3OtIiF5hAaFL/xpw0c5IMGVc4w==; 31:7hcUEPd+2u84O6pz1B7d8Kkmk8pYMoCZNKZqfuTquJuUmq4wYlum7b7NyXN4q+aDms4hV80cKjVgcL2xMsn1V87AbTpneRXHAWO+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+JKkuduFIwF0zNBzbgeZ3Oc9yGndq5G7IiqYGwjU= X-Exchange-Antispam-Report-Test: UriScan:(228905959029699); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(5005006)(8121501046)(93006095)(3002001)(100000703101)(100105400095)(10201501046)(6041248)(20161123562025)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123558100)(20161123560025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:SN2PR07MB2527; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:SN2PR07MB2527; X-Forefront-PRVS: 04270EF89C X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(377454003)(199003)(13464003)(24454002)(189002)(50986999)(33656002)(1076002)(68736007)(9686003)(53936002)(42186005)(6116002)(81156014)(5009440100003)(23726003)(81166006)(47776003)(83506001)(106356001)(3846002)(5660300001)(6666003)(33716001)(66066001)(53546010)(8676002)(2950100002)(55016002)(189998001)(6246003)(101416001)(107886003)(8936002)(72206003)(42882006)(2906002)(110136004)(229853002)(7736002)(25786009)(478600001)(6496005)(50466002)(54356999)(76176999)(305945005)(97736004)(105586002)(6916009)(4001350100001)(4326008)(18370500001)(7756004); DIR:OUT; SFP:1101; SCL:1; SRVR:SN2PR07MB2527; H:jerin; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN2PR07MB2527; 23:Gy1JV4CQGp2GDaZ0zqf6qGRewYIkSuaY2usuyEeiS?= =?us-ascii?Q?i/VWol+xZXyLAuD1e3H6WlG53pjYMA416szMx0TI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EKm7HHx+yITLOac=; 7:N6ZMysZscYhUax55I0sNmHWlUvWkZxB+q6/iEhDUUTaRYLNwidOjkqeZ/IFVG5vQJ1mkFJt7HLgYgetd34Nq5XC6cyShzNiKRvipIKyVodWG0AoFlF0FZu/qYaM9zqGOn3WuJVzKocGmk8gc/SV0FqDsmAVUY1HFXSNBNM4eiW8UQ6LUnvt3edEu2p7sCHk13JZwfYQhDyPd5Gvj812+4pGFtdPy/GZeNheT3F4ySf4= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Sep 2017 18:27:50.3203 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN2PR07MB2527 Subject: Re: [dpdk-dev] [PATCH 06/26] net/octeontx/base: probe PKI and PKO PCIe VF devices 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: Mon, 11 Sep 2017 18:27:54 -0000 -----Original Message----- > Date: Tue, 5 Sep 2017 18:44:22 +0100 > From: Ferruh Yigit > To: Jerin Jacob , dev@dpdk.org > CC: santosh.shukla@caviumnetworks.com > Subject: Re: [dpdk-dev] [PATCH 06/26] net/octeontx/base: probe PKI and PKO > PCIe VF devices > User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 > Thunderbird/52.3.0 > > On 8/31/2017 3:54 PM, Jerin Jacob wrote: > > An octeontx ethdev device consists of multiple PKO VF devices and an PKI > > VF device. On Octeontx HW, each Rx queues are enumerated as SSOVF device > > which is exposed as event_octeontx device, Tx queues are enumerated as > > PKOVF device, and ingress packet configuration is accomplished through > > PKIVF device. > > > > In order to expose as an single ethdev instance, On PCIe VF probe, > > the driver stores the information associated with the PCIe VF device and > > later with vdev infrastructure creates ethdev device with earlier > > probed PCIe VF device. > > So, is following correct: > > BGX is MAC interface, > in ingress it consists of single PKIVF (packet input) device, > in egress it consists of PKOVF (packet output) devices. Yes. > > PKIVF and PKOVF are physical eventdev devices. No they are network related co processors. Not the eventdev device. The eventdev HW is abstracted through driver/event/octeontx > > First physical devices are probed, later virtual ethdev is created which > gets/puts packets into these event devices. Yes. > > A graph in documentation can be very helpful for this. > > Also patchset can create multiple ethdev ports, why is this? And how A PKOVF PCIe VF device has 8 Tx queues which can be from any MAC interface. The created ethdev ports maps to each physical MAC interface. > eventdev - ethdev port mapping done for that case? One octeontx eventdev port is mapped as one octeontx ethdev Rx queue. > > Thanks, > ferruh > > > > > Signed-off-by: Jerin Jacob > > Co-authored-by: Santosh Shukla > > <...>