From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0071.outbound.protection.outlook.com [104.47.34.71]) by dpdk.org (Postfix) with ESMTP id ADB3D2B95 for ; Mon, 10 Oct 2016 15:02:14 +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=SapaUhYRijw/lughjL2qeywQRfR37NF7CtoagGO3JoY=; b=Dcy3eI6B5g3SEsbZl34+TqcpbWyX7dMJ8exPeqEwzUq0vW9yIW8E4TGNEexMH4pN8WmbWNa9ATZrKFfdIm/Widn2xpZL6ztBR/1tWADJ6dpaZsXNZrEc6VW5FCX4pTgxuAS9OWvNwLIfvqNh3hq2/DkSThD+7lqIoL0FNE3nIUM= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Kamil.Rytarowski@cavium.com; Received: from localhost.localdomain (31.172.191.173) by BN6PR07MB3060.namprd07.prod.outlook.com (10.172.106.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.659.11; Mon, 10 Oct 2016 13:02:10 +0000 To: Ferruh Yigit , References: <1472230448-17490-1-git-send-email-krytarowski@caviumnetworks.com> <1475237154-25388-1-git-send-email-krytarowski@caviumnetworks.com> <1475237154-25388-15-git-send-email-krytarowski@caviumnetworks.com> <90a90355-4f83-1def-081b-070924dd60d0@intel.com> CC: , , , , , , Kamil Rytarowski From: Kamil Rytarowski Message-ID: <9d573206-79c8-b82f-e47f-f8b300112123@caviumnetworks.com> Date: Mon, 10 Oct 2016 15:01:59 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2 MIME-Version: 1.0 In-Reply-To: <90a90355-4f83-1def-081b-070924dd60d0@intel.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [31.172.191.173] X-ClientProxiedBy: VI1PR0101CA0030.eurprd01.prod.exchangelabs.com (10.166.38.40) To BN6PR07MB3060.namprd07.prod.outlook.com (10.172.106.142) X-MS-Office365-Filtering-Correlation-Id: a85cf26c-c62d-4d75-5de0-08d3f10da62d X-Microsoft-Exchange-Diagnostics: 1; BN6PR07MB3060; 2:RZegRF9uq4fEbueS2H2zIQNFkZgJoXQ5dCkFz0giIOmRTvTA5iJ1SRiDCFCjM6VkLi8e+q6SuHp2lzzcBBQVQWpHRSWb6l059P+NDchMtg+POncK/fxJLHrltJgeqf3zpPldCOWK9fsn171X1RIHmaIfoNsOaISSxVKef+O7KKKjeaezbvJyRkWhTOy0N3W71wx0h2JUsVKbq8CuFKrkEA==; 3:OMeG1TUPX6UuyzOHpnxw4Hm/4sMXrJiqChB+Rxs/X7TrW45NtPUyDx7eXa/GIr8SC/U7yMGyCDh+aULYpCbg8S4/X0Dv/7Oce41nnb+8rN9sVqUu1IGXBYU8OhOuARiYfg7flVgoDvjg+KAjpgcnSQ== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN6PR07MB3060; X-Microsoft-Exchange-Diagnostics: 1; BN6PR07MB3060; 25:59icR8fbDbnJy3v+k/tQULeZBAbzcswBc1s2EVtJ/42axKZDYEjkGIdrzEzZdhObIjQ2ZKOtxAOoJ1JYaOcexKQfl3upNgNbUCbX4vVnOaFpYMJEzBkt5asKkmxVE+IHCRLcW+4KWFXEopWH0fDO73BqSMmoOGWGX8dlOdhuva3qP7vKXXIYXvNRKL2+zbFSLIcUyrgwNz04i+qASQEwzlDOkbTFtE5/iDMAGMh7JyrHgXAEShN2Bn7sOX08K9VVtzEZP+ndoHH1jjnEVvYQ0MrFhc/Bvh2mW0/zIchOMgV5TbuQ4wCoK+dzDQzSdz9aDDaXryUOgOnJ3HxDbYSM4QBxyjmu3SA2loN1Iro2jU79qoJN7m3R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PPcn6p5Y7LrPaTlm0qcQ5/KVMN5wBadsg5vniWEWIoVHSVnCjcgBU7ivnR0kPPoERh3EKozWrbn4P6mgiRT3/38gPZiUsMgB8Ssp4RG+Shd0YbxLqLocXp6wNzzWdac0sgTDvRQFMepWaSjdUJXu2AOeF61XuK2rC1gxv7gPQMBQ8MNLhprniWRQe36U/ScMlRKAPXFYWl/R8kMY4Oywi9p86rXqkZ31WpxVR/ScTbK33dPY6aVd9NPurF4EGxw4= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046); SRVR:BN6PR07MB3060; BCL:0; PCL:0; RULEID:; SRVR:BN6PR07MB3060; X-Microsoft-Exchange-Diagnostics: 1; BN6PR07MB3060; 4:4Mhsa8/XJYeLkm6kQCkM4qY4aVNVlqNyyGVATcvXGCmaug02ltpMOeGMFQrfxbD32qCWrKI/e0Br2Ae04Jl2jjXetd4hHRFTkNhwJYURSdtk4QxHzpI+7iL/HNZQFrnquTLu/tnhR1Fq15sGx7DWjZGJyuynxSRL4qqGmTxn785jDdhMVwULl2DeCH1G53WQgGt94KE+6sgrlh9ma2DKa+s8pFtgwWC/nxBt//92kNqG1K1Hxgn70tAAfXxaKT0uvXQPbJisfvqMd3mWnPHEvczmlbFyd84P+83bbaa+m/AJMgDgKyMZf8sXCxAfTM1VnoXS2+Tg4sI8ZKTRiY6Eot/CRAVsR5oofm82PXjpaCGFPE9II/OSnu2rlLji0568vIvMkPrY9qWamLE1JG7BSQ== X-Forefront-PRVS: 0091C8F1EB X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6069001)(6009001)(7916002)(24454002)(189002)(377454003)(199003)(42882006)(6666003)(77096005)(586003)(2950100002)(4326007)(7846002)(19580395003)(19580405001)(5001770100001)(5660300001)(7736002)(65956001)(65806001)(230700001)(106356001)(65826007)(64126003)(54356999)(76176999)(97736004)(50986999)(2906002)(66066001)(47776003)(31696002)(4001350100001)(101416001)(4001430100002)(105586002)(189998001)(93886004)(68736007)(36756003)(81156014)(92566002)(8676002)(81166006)(33646002)(31686004)(42186005)(50466002)(305945005)(3846002)(107886002)(6116002)(23746002)(83506001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR07MB3060; H:localhost.localdomain; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; BN6PR07MB3060; 23:oqeDks1QXfafwsxQfv2VtvKsyPLjxAixJSW5b?= =?Windows-1252?Q?mfyZuxIXrsKPLhXDCgkyGrlhuSHIvkLPgXnTbh7j15HVgEeS5XXQfysY?= =?Windows-1252?Q?0sSitIcQ8/q2z4FX1Mnnf4tOkMXDeJZH7k9NdFfHJjLNaYiF2YAsksNN?= =?Windows-1252?Q?gmKN0MlON2eiA+RQhYctAPAFvndKQcItEKbLG82frHMCC3lzY9m5u81g?= =?Windows-1252?Q?YpBHetYEppsBJzhNGHvs+zOI4ZqFFG3TXmAvUJJAu966knS8wfg45GFP?= =?Windows-1252?Q?ICK19hBQdL7R6RRfI9MvtMvuOtzSd8Vlz75hSy1+VzLsErd1dgwtLBoy?= =?Windows-1252?Q?s595zeYFgBw/MFsZ6aD+BqhTWsHDomTe7Q7k4/aCeDgNOsUr6pKIvMal?= =?Windows-1252?Q?oKIVR+7xO9e29I+sI99UEXSZ4nchgPuHwt86NTs/IVyq7I1cYvN7Xx9J?= =?Windows-1252?Q?uOY1UjcXQlutkF1+9pnFN9VFNIN80+ffUSW0OXnyLf7I3UUrz1ug3EtM?= =?Windows-1252?Q?iMN2xjWcVMtFeYjGYP/w49J6KNJLFuTCf1/cGQA2l/PU6UmQaANDyblh?= =?Windows-1252?Q?7bMMMCimi37xXOG3E4is3MOYsApzrJ+Uri6bSSWHB0OkQfAXaIB5cCj0?= =?Windows-1252?Q?KdPt7FQ6MiXimHivVVM/wX3oxCxG8P1dwZqCCzDG2NFwG4sFdTlt1UuY?= =?Windows-1252?Q?KkBp+hKjMc3tsh9r5TQy2xYNaHqTmecgtUzim7JWga7O7amTDwKpwnZX?= =?Windows-1252?Q?Mh7dnIPx0Kczfu0kgKuMgUpwW8lQHvokbKPQg3hI9f2aMtGLEsHxJpqB?= =?Windows-1252?Q?iVdAxiRJR1H7Hxg8ytngLlnSaMFsgY3DLKaicjisxa7nUsZ2gWH8qyNs?= =?Windows-1252?Q?yi9n7u5/T4P1RpCmnMm53IqxHf4HfueLHtn4lC4LDX8Id0OBmJD3Rsre?= =?Windows-1252?Q?KqjxLsDLDiVIBQnkW5J3vJf7p/4rn2OFNqfFElZddf1OuXPv4cSQ0Yav?= =?Windows-1252?Q?jlPHvcV/vLrRaeZp9JpJs+sJRZe/YoOkNdZFED5vSDIZi+hEEaxFQCQS?= =?Windows-1252?Q?j53fGbnENf5XywVf70Xrmjn0DXEzznVfY/Dtz5+BHVy/lJodKqauJm66?= =?Windows-1252?Q?UE+LrcR5s4QG6Wcy75fNBFRlAwIG/NpMBr1QIkw8fAXHpnsqoQtom9DH?= =?Windows-1252?Q?npFrlwCtmba1hgC83BcFxzbQImn1BKrOK+e54D5vmLxz7dZtK+6+QfHd?= =?Windows-1252?Q?bywD5k61dcYTJUCDB3nJsEQLTARCYrUxrRlYd8obCbZIfrM0DYabjLIJ?= =?Windows-1252?Q?0tTaZYxBo2c7Mbu0Ke/206+nL9F8FmkrO2cN487rW0zp9TMX27wVG51U?= =?Windows-1252?Q?jOWdWr7AdWhLr3dxrdeXKv4J1MWVskEzcHYJ7r45V/acYxlD7OsqydSA?= =?Windows-1252?Q?Stcza7srIbrcsoKiOfRw2OlssCNTEoUf3DpjK8xafVbwmd10LY29QMIG?= =?Windows-1252?Q?ECdNhf2twpNbCdY3ATi6nVxhRqd?= X-Microsoft-Exchange-Diagnostics: 1; BN6PR07MB3060;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ime: 10 Oct 2016 13:02:10.0410 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR07MB3060 Subject: Re: [dpdk-dev] [PATCH v2 14/15] ethdev: Support VFs on the different PCI domains X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Oct 2016 13:02:15 -0000 W dniu 10.10.2016 o 12:19, Ferruh Yigit pisze: > Hi Kamil, > > On 9/30/2016 1:05 PM, Kamil Rytarowski wrote: >> It's possible to have the same numbers for bus, device id and function, >> therefore we need to differentiate on domain. >> >> This enables DPDK with multiple VFs on ThunderX 2-socket hardware. >> >> Signed-off-by: Maciej Czekaj >> Signed-off-by: Kamil Rytarowski >> Signed-off-by: Zyta Szpak >> Signed-off-by: Slawomir Rosek >> Signed-off-by: Radoslaw Biernacki >> Signed-off-by: Jerin Jacob >> --- >> lib/librte_ether/rte_ethdev.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/lib/librte_ether/rte_ethdev.c b/lib/librte_ether/rte_ethdev.c >> index 382c959..01d5fb0 100644 >> --- a/lib/librte_ether/rte_ethdev.c >> +++ b/lib/librte_ether/rte_ethdev.c >> @@ -225,7 +225,7 @@ rte_eth_dev_create_unique_device_name(char *name, size_t size, >> { >> int ret; >> >> - ret = snprintf(name, size, "%d:%d.%d", >> + ret = snprintf(name, size, "%d:%d:%d.%d", pci_dev->addr.domain, >> pci_dev->addr.bus, pci_dev->addr.devid, >> pci_dev->addr.function); >> if (ret < 0) >> > Is it possible to separate this patch from patchset, this is a ethdev > patch and it seems not directly related to the rest of the patchset? > > Thanks, > ferruh This patch is directly related with secondary queue set support on ThunderX, but it can be skipped in this chain of patches and applied as a standalone diff. Is disabling this one on patch work sufficient? Of course unless there are no more comments to produce v3 of the original patch chain "Add support for secondary queue set in nicvf thunderx driver". Should I resubmit it as a new standalone patch?