From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0069.outbound.protection.outlook.com [104.47.32.69]) by dpdk.org (Postfix) with ESMTP id 2653DA10 for ; Mon, 22 Jan 2018 16:46:11 +0100 (CET) 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=e19nVh84Vs4c+2tWQtT8YgsJ5JaYXM9bCh3rGeofjN0=; b=fw1wuKQ/7GweljyuI15TaP6TNVjOmYuhVfPWYk4G5Ob5XQFNJptH0rPZiJJcqyVMcv6mZB1x7mS3TD+0tfD8wu0UdpQ252O3zW+cs3qLGfHzrMoGpJQX5b17oBPtD2hgeKS80MfuCshYgf1F/LMKFENciQSUwRAOdY+LrFdY8IA= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Pavan.Bhagavatula@cavium.com; Received: from localhost.localdomain (111.93.218.67) by MWHPR07MB3469.namprd07.prod.outlook.com (10.164.192.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.428.17; Mon, 22 Jan 2018 15:46:05 +0000 From: Pavan Nikhilesh To: jerin.jacob@caviumnetworks.com, santosh.shukla@caviumnetworks.com, olivier.matz@6wind.com, hemant.agrawal@nxp.com Cc: dev@dpdk.org, Pavan Nikhilesh Date: Mon, 22 Jan 2018 21:15:07 +0530 Message-Id: <20180122154507.14617-1-pbhagavatula@caviumnetworks.com> X-Mailer: git-send-email 2.14.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: SG2PR06CA0102.apcprd06.prod.outlook.com (10.170.138.28) To MWHPR07MB3469.namprd07.prod.outlook.com (10.164.192.20) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ca8fc42d-ff3d-4247-f966-08d561af417e X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(2017052603307)(7153060)(7193020); SRVR:MWHPR07MB3469; X-Microsoft-Exchange-Diagnostics: 1; MWHPR07MB3469; 3:h8zjhwse+iTndlmGGFfq5YHO3gw4ToYY1lxn7BB56O8LzqZOz46r0QG6iav8jUhnSzLsd3O+buyOQXr1GzXulqeRgq4aqnN8zrqyf19VU5pF0C5pIvFEECKV6D6x/7WMt1HFnoqKhRkS/yyJcpZMWgLRV5vtkRpNx83HMeo5z6GdUMrDxFaeCFzD6ZTnUPGi/4dwO4e+Ye8lCQATC1CprjRg1pXqnOybi9lEbb+jC6yFZy9VOj4Cf5Tfo4mygzWP; 25:xm1HeJnLvDB1OExx9pEqcFXPEPQpSUX7f3Pa3HoMDBPuOTSZik3kzNfUKAa/kvoq1ywFoOonh30gqcO4a5ugP9kG1afgEpR9BdPpNEkC0Ff2eaYORptVJWBU4tLDE14jweBNVpQ5Sh6VuHj4IH/P1nAHubSxCVVZKLTOo1GmOmYPIG8ED1VvICLl2V4F0krd/i/RAbDbP6RozcyQSyAAF+uzyKySN16lU8UDVO16K7zAjuon8/BMAD8in/HfPFKkEFJ2Q8GAEX0wASvh/FXFiZtYU0ztueSUAil83K9/3jdQ/UGplr1geh7YTHLEmhgPhd22Ltle3GGQiFH9PA2zuQ==; 31:sGt63750MV3hcQXNU561Ah+rIqs/jZecjqp9gWk1vWydmTsHoT2cLAmgfQLKgbyOAfabXdxrhwNpBB3jwADWv23QaEhysnykLs4pAAFIlvbWL62faF+ImWhsrLUb0rX89KzoiQH2QjJNRpHByCEmYI+jpzqU2zK0qkhhOT5Dj/ZGQ1cqa6w/YyFW0jm5/MRSoG7VO0Da2BTcTY8W/cJhH4XfRfgm/QCfye+BorZDI08= X-MS-TrafficTypeDiagnostic: MWHPR07MB3469: X-Microsoft-Exchange-Diagnostics: 1; MWHPR07MB3469; 20:TYujj7Vcn9iVsQyJmOShdODZfx7XHIVpgbWg9VxUJYbdHLqa2IYi/yEGmKsj5ExH6UPBw60s0k+W/0mb8O1bnU8cJib7EdsqD3mtRLNKPZ7lylvQkkrYjuqbQ6UNdt8Di9rBTMX9EXIHIBlxA+auKV6+VqeJwjceggbGl0yYTG0sQc5+eSIClpI/D2w+zOgEfG5FOmrvFwgDIBBMESFii7S4iECedcSJD1b6eQZf8jxmukc3T7pydjKRNTnOv+/sKhFbGhL8fcYuOLMO5TX34IlwKdAOzNc8UsZeNqm9g2v3W/5yqv4OafK2rv2CtYOLhE6RZVTCXOhPEA6z0HNEvS35tBJ49TNNRZ2FOHpS2z6kj6vHYSiDG0eCU6DeXHaFmJyEbFTqdkU29tKKugDBa/22TjNipuax3JP5NKLwqrOhrSlWsrsR88sEA1ItZ3QrUwr97GUaZwfh/JNf71vmdFSKud0uxBhJO5z6Ki1Of8ndzvBU6aw5TJcpQZt9HtW5DKJPW4oZ2NDxCfjCLu2D11nvymst43UxXDJz9F6yuIbjp6sVYYoaVcHJpMIerogoxZ+RtCtX2XOYFIrYuiOwPlSOQXFzt+9wlhif3IeFYEo=; 4:h2DU2XZLI8yGFP21Op0IeGlTiSxB3FBvk9/faQLeYH1xPTdkSC6S0SiRoTvcp5sozGQ5MGPmhZUeLbU2Y8Nn3Vgus/s1rNlVrEzlqosUPiRWEUPVIGhbUAOFGTX6l4drzfPAAUJnmjEtx5l8IQQTvsugJ+z69UKhNJfHtBg5E9UT+dB888aMPfLTmw6iiaynx9S2v9ENDcRojQnKJYiH0XT76/qZI0F7eW/2G9/PtQ9cloG0yscPTl2EB4ZmlXtJoVI7D84AB7hFABrrovzfuQ== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(8121501046)(5005006)(10201501046)(93006095)(3002001)(3231023)(2400081)(944501161)(6041288)(20161123558120)(20161123560045)(20161123564045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:MWHPR07MB3469; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:MWHPR07MB3469; X-Forefront-PRVS: 0560A2214D X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6069001)(396003)(39380400002)(376002)(39850400004)(346002)(366004)(199004)(189003)(48376002)(25786009)(1076002)(107886003)(53376002)(6116002)(3846002)(8656006)(5009440100003)(66066001)(42882006)(53936002)(26005)(7736002)(305945005)(105586002)(50466002)(36756003)(68736007)(16526018)(8676002)(51416003)(966005)(5660300001)(81166006)(81156014)(52116002)(478600001)(8936002)(72206003)(316002)(2906002)(6306002)(50226002)(97736004)(47776003)(6506007)(4326008)(6512007)(106356001)(386003)(6486002)(1720100001)(16586007)(42262002); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR07MB3469; H:localhost.localdomain; 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; MWHPR07MB3469; 23:qkG9zhExGBze6/nRlzekvIDx/QJLTkUFhPTjf6Etg?= =?us-ascii?Q?GT6w/5dBrBR4qkLxoZZzz8BNmmotrWtDqjBrjXKQB5apAQaBf/DG+K6E/XK+?= =?us-ascii?Q?haSzXde6UXlWwZT4LPYT+G6ID0EohiyGNPSqqfPjSIWKzux6X8DOcXtKYDyf?= =?us-ascii?Q?JogAnhBqK1Egpqpv5HmK/pZ5ZwgyzJBPJZsNEqEauu3gAWctsBu/VTvBA/21?= =?us-ascii?Q?ZOVBBFsFyrB+V7TdQbzwA2pi9vw2iRbCF0obMSf2amtMPL+64jPRrRqm9Uvh?= =?us-ascii?Q?IQhVxg6VP8QVJ48UpRatuyLFdUuVOqpLMgKkuwn2hW5LPgboTIG9cm5fRJx5?= =?us-ascii?Q?QQ5/OabhhP6IHH1tXBlJ8TdR/WB6/VlG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?Q?=3D?= X-Microsoft-Exchange-Diagnostics: 1; MWHPR07MB3469; 6:bqgJMcAS0f7q+jK77qlbk7Dkr9mlxlLT1oIAZCkMu6aIRhi4+ANoyPqq4QZiK0MZuc6CTiCn4ye90usUPLZ7naQH6UVzRKhtPnUsA8ouxfDxBkY3YD0SBK2knpHDWGhSSd14/dRL/v6ikVU3xKma2DfVnZftpElo/DkB4nghzK1yeQZFpWsJ7NWDbuLpcAIY5Q5+Zt9UO645Em+ac+TRQgcOKoqCParJSQtpDr+VTB+3q3IoA7y669pFfBzAC2S67gcls4+M8oYxpla+5p/YjgGgii5DPZvlHrEQ3r+3PoRhIDKTVtNokZmhtUdr8pqRozTVD/ZHvziQOM7zLCs0FZGre1ZO3b8U9QrE9z0EIbU=; 5:UyXZHShIv7Fx1KiDu8isbr8zmuTeHU42sT6DAW9GfUC+rmI3Hlf7cDTx+61B2FNMNgv3TL+TmqH/IWHbiLQhWBgG8yMKdDVYFmq+pZzACmg2NB9dgmeJ3kDM9GWWQWJ2/fG3JH0OWEaiCWVOVa+G048x6lQJyaVzGANvxynZwJU=; 24:CvmBWKZTDgqRY+IflhMxiDFcSxpywErm3TQFL17h1TjjXY2hzTA7nEUAV7lMYe6qko0CddkxLt0MOqJ0J9ZP3k0mFrxxeOC7nSB3wFynljM=; 7:St6+81jvBZwzf4jWRPxRqdyvYGdskAVGXntBtlPomL1X90X/zvyPjIV9LB/z817qW5flQlczCFApD0lRJuayI9ajzj7eSMuCxD+5Dx08ao06C3qm8lEfyBslYxVsf/lDp4KtJh6VO43rQl2o8Yla8HlFdKx8eGpRKX+akgOJ1pvGTpakzYJaJPD6pGwBXBAIRHNtaSbwpsZm+Q618YSwhvE9OEgFBQe8TmDoluntJ7qUw9EK7R6WV3rev4VOA+qX SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Jan 2018 15:46:05.2398 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ca8fc42d-ff3d-4247-f966-08d561af417e X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR07MB3469 Subject: [dpdk-dev] [PATCH] net/octeontx: register fpa as platform HW mempool 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, 22 Jan 2018 15:46:11 -0000 Register octeontx-fpavf as platform HW mempool when net/octeontx pmd is used. Signed-off-by: Pavan Nikhilesh --- This patch depends on http://dpdk.org/dev/patchwork/patch/34239 patchset. drivers/net/octeontx/octeontx_ethdev.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/octeontx/octeontx_ethdev.c b/drivers/net/octeontx/octeontx_ethdev.c index adca3435e..2b4a07d2b 100644 --- a/drivers/net/octeontx/octeontx_ethdev.c +++ b/drivers/net/octeontx/octeontx_ethdev.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #include @@ -1326,6 +1327,7 @@ octeontx_probe(struct rte_vdev_device *dev) res = -ENOTSUP; goto parse_error; } + rte_mbuf_set_platform_mempool_ops("octeontx_fpavf"); probe_once = 1; return 0; -- 2.16.0