From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0067.outbound.protection.outlook.com [104.47.38.67]) by dpdk.org (Postfix) with ESMTP id 8BEE01D721 for ; Mon, 11 Jun 2018 04:30:33 +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:X-MS-Exchange-SenderADCheck; bh=rgeO6RZiKGAgQXljMOPJ1rHMzvddJIZlJf/iXaz3R8g=; b=CsMus0RJJAUV4Bknae39f9F8S4VjMMNWfdtLevHnVUNb/uOvuzGnrrsTSpqMEWQ64Ob2lyfFKbb3a4OzzTqGGLkMzY0t1kb4K8ZXPmn4xAe+/Yya6hLR0xC7KfjFVTsITrbTXFJ266mKxmz0IVQWRaO4sHd/H3wnF8OQIVzzxdY= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (223.226.32.255) by BN3PR07MB2513.namprd07.prod.outlook.com (2a01:111:e400:7bbf::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.841.14; Mon, 11 Jun 2018 02:30:30 +0000 Date: Mon, 11 Jun 2018 08:00:14 +0530 From: Jerin Jacob To: Kevin Wilson Cc: dev@dpdk.org Message-ID: <20180611023012.GA1714@jerin> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.0 (2018-05-17) X-Originating-IP: [223.226.32.255] X-ClientProxiedBy: MA1PR0101CA0045.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:22::31) To BN3PR07MB2513.namprd07.prod.outlook.com (2a01:111:e400:7bbf::10) X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(5600026)(2017052603328)(7153060)(7193020); SRVR:BN3PR07MB2513; X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2513; 3:Nk9FEqa/EKeG75FeT7I1c3iZKnM0qRzIkYL9juoc1ehNi0oHWIFrf/HEqJPKKINRm1Qymtg2SrdxYUKNtqdzwWf1vI3NEsqHdIFjsPB0a6N26M+zhGyFdaojuuuf3BafhfR7Om4DlIm483kVo/9eNL8IUYAppnpi/tjnygVm9blde31j05wFpw8IrTWES1DnMIsxoSWntt5T5up6Q6ST5FfgW1HquGHyLX680ac2ur1iHNBn+ad4oAIGWL20oE/q; 25:3NqjTgbCutRQnGBwcAQqHrf92x6WDropIF8zWqG0eLzokCtUpuhaouNSYWS1MF30mxMObeceoKHBJUirXKqpwO7ftK5P0vzS2qdHA9Yj/CW7BA9NmcuOvLX8lB9T0jYDtaa+uMMjC1+2+0+bYipaRp6W5oB4oIUCYXKRrs7cO7daqHYewnzwDpKR9kWkVRS9Pu5rDxZpesrAkFEkpzhs02xEH0NKV31g0a5WMasbvQHbY8hyWHvHxGl1388osEI30jNT8PBhCw6VN46VVM4IZgTZgcuvECtG4H8Rj4p7neh+VvqGIso3A1MuEiwwHWSw3eOzLu0bkxWnlJMxnrL0HQ==; 31:yweXJ9fTxaZ+8tsFBfYRmS9YIPk8K8cIhT5g9rihDiSncchnUvenC6GN9Owd1/u7dGk9JTqELASisCXO/Pjq4nHsmbBXC/ywndTdohN1YVnv7r+2GrS+ivb3WcnlUC0zktlu5kLtGXL8aFn7D5x0XXIdy32CCvlDr/qdtfdJxOi5ZQkbOApoPkdxp+ixwDW9SNgL9yWwyjZjmaxSHHO8qICpu1O7a6xiwKaPugXE5Gw= X-MS-TrafficTypeDiagnostic: BN3PR07MB2513: X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2513; 20:W4akS9x1+sWjLkw+glIectzI7L4Mny+VQtbdcQePhjzNdAD2KLHGpSz5OTOb4f0jwVjLZrDYURC+8M/c7H7rtTsE2tyBHTqna8ik45l+Mjt0YW/VYjfDxm9MmofTYhk2Wso3girF7Fu4HrmqAnzfZ4MRZSOV1L80mlZU/Kp5/4Aso/pZzL3lXpFFehLhYQFrUB/mbVQjrJvgaUXRDWpTElBJTuVSIuSYQ8giSVvlEPDv+8ulhkfI5DQ9hWWdvpn1aq0scc4JiilAAd3OxlS/Jxujso5V1YtcqKtlcEGuXCidH47UvwniIyaLgVN+yOKVhy9r/g2j0TDqPaXvh1oxt3pxkVm26YA/x8PfkPHWtAPT9Wl5QICkgTQXkwtS/VPRlm1iobJ+YSczozGYWaCVF7P4QRIOErlcrSfFs1oPkYC46xFqvzXCIDchVgHQywU6yxZgwfpaLvCY7SYsitMLOLuUjP7pyt0iVSUw9VRdhnNicEtzJVZ3GzmPAREBW/RZRh4GzBqpdlPXjrsbZpG/fsHIQGISgf7kx0fJzzxGGxRzws5RL5miAjA3eVjsIT8XIaX/ce4EET+rGpGOSh1XsDRMG+UUeHno6yw6yKHE5Q0=; 4:PojJrgKM8kPoai8YVOQ/WjVErSjoi7JMNS1KJfJLmnNTpYe6E6j6nGrIF6yodRcr8yyrcLYOeAEPwN9HcJedUEnUeKQu8RfNd7mZGT6n8ftcFA42kX6v2SfDRKbjdQ/5oTzrCDveCu+i3hDSn77/Il87b6l3ztmmC6tdc7jLYBs2Wupq8rig2opMs4e69lmU62Ru4Hr67JCHYVkLfbEKM5POgKHU6VWrrP/URHDqOGoWds9db6dMw7mmtfjKCzfKhShQ7WTHPIXb4yRLfF2JHkDdLn7mHgTKNwsy9Yt5GdAfuWroJVVNlGCjsA5EdAWK X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(85827821059158); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(93006095)(3002001)(3231254)(944501410)(52105095)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(20161123558120)(20161123564045)(6072148)(201708071742011)(7699016); SRVR:BN3PR07MB2513; BCL:0; PCL:0; RULEID:; SRVR:BN3PR07MB2513; X-Forefront-PRVS: 070092A9D3 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(396003)(366004)(39850400004)(346002)(39380400002)(376002)(13464003)(189003)(199004)(26005)(53546011)(386003)(33716001)(16526019)(55016002)(6306002)(9686003)(186003)(8936002)(44832011)(66066001)(956004)(229853002)(4326008)(53376002)(6246003)(47776003)(486006)(97736004)(81156014)(81166006)(25786009)(39060400002)(6666003)(8676002)(42882007)(305945005)(7736002)(1411001)(5660300001)(50466002)(478600001)(19273905006)(105586002)(106356001)(16586007)(6916009)(1076002)(76176011)(2906002)(52116002)(11346002)(33896004)(476003)(55236004)(6496006)(446003)(23726003)(33656002)(72206003)(316002)(53936002)(58126008)(68736007)(3846002)(6116002)(966005)(347745004)(18370500001)(7756004)(562404015)(563064011); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR07MB2513; H:jerin; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR07MB2513; 23:ZjBrO9LibcvT6acF5o5aq1BHJrj7vmFKwAtU6Rfyl?= =?us-ascii?Q?PawuXRdlPamcYv0dSvNXzLi7w40gVet0udIjVHsRU97+01jOq+N6jOVQ76vE?= =?us-ascii?Q?+SezLIn2ujGw8uPxHvxuGO+axibP9t8C2tpO3iJ24Ainrsapd1yRqvZF4emZ?= =?us-ascii?Q?lpN0vC5nrEa45RsJo6VVSOxou2LUpY0j6IXfDFIQHeKRmm3CWpEDL25xOz8u?= =?us-ascii?Q?+IU9DKkhX7eBuFtRD4NtHX69wuKGlMqJQvd/iaGQbJSP7DsLJnBqAT2QgmA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MT7wo2M/KwpA7zjhCS+bejWo90m7R?= =?us-ascii?Q?J2KVqaAO7KecuwPhNHFcRqlp0jvFosjUjlEX4Iuou+TF1RqyYOAEwRyYjUBi?= =?us-ascii?Q?8c5HHrUacQA/C079FzQ0elwSDhPvz++SlyqQP1yKu9Z45YUqXfi4ve/jtFxx?= =?us-ascii?Q?mQK8mpG8N8JS3nXLEzpyuBva9ttjAZDqSQSemKE9fgMzIywsEIwoxOiXzyUL?= =?us-ascii?Q?NMkzupOi74+YsZDpv3x6WzM9oqmKLNU7eHzGplrZcnnhP2WApMuEJPfcfTzn?= =?us-ascii?Q?Z0WV0Kiq0s1fMdvwduKI61zS7rmq3rcvinXpN3HAKjXmakyuGWMSm7nwnji1?= =?us-ascii?Q?yDnXyVoTrSA4kJ1MGs/TSTX29DugclikylNScglzHZS6Uhj8KJvcSn4wUD+R?= =?us-ascii?Q?qevAmLPAlGqkJNZcls35bemo3WvtewK1dkdMZ/SOU+j8R0JRKaHocx6iD68?= X-Microsoft-Antispam-Message-Info: FMDDa32nNjNy5EZQp5yjyU0n7RCeiN2U3lb/TM3qruKJ95TAKTMsAuG3lk6ga989TA8H4wYeqNhaJg8VlEfOhoW51vVpOhBTPbG1D3qCXrg9sRLhh7m0y2FL/PAY3axrMkamlQciS49K40m4XpsmXpnJitiXyUolFoxDi2ONFcXvWtc83X2JBg2RgG1CV4Bi X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2513; 6:EUmKljk2nI6JGTU/4jSQoku+tsgNDqKxNXMlzDX9iOrG07eScYitxgwbju/MbClixErux0oZI0kLFey2kJ3lVDm3PCM6N8DOS+YvqkNPVaP2DOZaUhZUKpXCetYIasRQpon0PSO8P68qlh0OsAsLQBCwEkFUtRvi9J6tAA5aIbOz+7Ba8eHOG4EyJPfs3j9GiCUZxg+6yd1fKfEWAzzX0hD8itVt+BA1UrU0v1Sza79zJcVIH1TgLvGRTOKdTf2Hio9X+TIX/LCdJtPPvHv0rNfhiPSXZfrU+YvfOIpM7DuT8Zx3RP3/pn6qllsTILpYv9Hm0epbYEnckMTfOTR/b3ik6x/brTrptcsDc7uVj+a/G+YZ+BuJoHuVUYjPLH6Mr1BcigEkD6k7sZhHWCrhqzQCl3g6ltlAizKRthtnTZwF5/Q2LHSh35Jbi4PyvzqsOyv8liUXNvz9pik5ldzRRg==; 5:HTj704ZHCl4IBg+hN2Y+oYZn8uSnd7qGkIsZurjUPDIK1t0f/x9OeWy5DPm/QuCJGMoz4v/S4wqxJIXEaZN83l9PfQXxbdS3Z5y2TPR/zmbMl/vzhyRbZ16yajGL8X+tGC3RYtrWqVqY2lUxEowdWyQ6kEEB53tdFmk51fNBnHc=; 24:tp4BmaQtapcwyqOyiZNHPCmfBtSOxzj3Kk2YgUqvbuy+mU9/XkNZtLnk2oB/m2xQl8xxvi8Po1bU6YW6hg7Yv2ywXK8KllwKjzSnLjb+7jw= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2513; 7:VC1Dq4Gbg5pLV0eIsuUcYbkCh44eoqUbKjCDZYpVi72Fri8+lIKtzKa3tiBFc+t16mBdqJc9un9q/c7z7Mw8KT4fEXh8nuDtAazHQ8os042UGpQHxmGIqhVe+hojhqg7zd0nxoiYe6meDYTIsgBPg2jx8naaTRM0bWXM1y7eEWKtr9CcTS81kO5dhUIapjlCPx0VJnlyd9IH1tFNPr9Cp1rkNbrtPQGHKH1qaF9As6slxoFoKhGU0mYXGZ4u4mlo X-MS-Office365-Filtering-Correlation-Id: 9ccd4d56-5e3d-44e6-8cc7-08d5cf434dce X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jun 2018 02:30:30.5746 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9ccd4d56-5e3d-44e6-8cc7-08d5cf434dce X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR07MB2513 Subject: Re: [dpdk-dev] Is there any HW requirement for a NIC to use the eventdev API for implementing Rx/Tx? 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 Jun 2018 02:30:33 -0000 -----Original Message----- > Date: Mon, 11 Jun 2018 05:02:01 +0300 > From: Kevin Wilson > To: dev@dpdk.org, jerin.jacob@caviumnetworks.com > Subject: Is there any HW requirement for a NIC to use the eventdev API for > implementing Rx/Tx? > > Hi, > According to what I understand from: > http://dpdk.org/doc/guides/eventdevs/index.html > > only 3 drivers currently use the eventdev API, > NXP DPAA,NXP DPAA2 and Octeon SSOVF. There are two more SW drivers too(implementing the same eventdev API). http://dpdk.org/doc/guides/eventdevs/sw.html http://dpdk.org/doc/guides/eventdevs/opdl.html > > My question is: is there any HW requirements from a NIC > so that it will use the eventdev API for RX/TX instead > of the traditional polling mode used by all the other PMD drivers ? > Or theoretically and practically, one can implement DPDK driver using the > eventndev API for Rx/Tx for any NIC ? No HW requirement. For the poll mode ONLY NICs, application can use SW event driver to enable event mode. The NIC driver(ethdev) completely isolated from eventdev. One can use eventdev -> ethdev RX adapter to take the events from NICs and injects to eventdev. Based on the HW capability of underneath eventdev and/or ethdev PMD, it can choose to do in HW or with help of a service core, But the application interface is same irrespective HW or SW or combination of two. https://dpdk.org/doc/guides/prog_guide/event_ethernet_rx_adapter.html /Jerin > > Regards, > Kevin