From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 0AB0FA00C4 for ; Sun, 13 Feb 2022 18:37:13 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8F3FB40DDA; Sun, 13 Feb 2022 18:37:12 +0100 (CET) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by mails.dpdk.org (Postfix) with ESMTP id 40F3E4068C for ; Sun, 13 Feb 2022 18:37:11 +0100 (CET) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 9387C5C0190 for ; Sun, 13 Feb 2022 12:37:10 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Sun, 13 Feb 2022 12:37:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=700c.org; h=cc :content-transfer-encoding:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to; s=fm2; bh=uFgt9/nZeJOCKFA8EV29uROsXLyOFWS+vOdEeu SAal8=; b=NBWwdE1Pcyv/VwwvI73aZC6UUhsmmKTrnBNxc6113wFaDABmp3gwCe skW8znvdD5OaJMBTZvsWeOENxXxrXTWh57wImnJ8h6lGyJWqp3RqKDrkyuO8/TO/ MX1Bv1XUvf5dLIGCHut1BaHnIG28VeRlucC1utApklO+wcQcI28hWVr/P9dJpt9g WD47/tD0cwNXKT63y5ZF+ypsNtWmU8OijM45BtMuK+Rbk3g4N4BzZxBpA9QAuVZC fnxBpen+RzWm3jVmOINehecKIb+x6GnxeDJwJXvaDwSV69ARf5SvoPq126CN7QGp tuomEwfqmpM8fOQ2md605X0nA+zCAG3w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:from:from:in-reply-to:message-id:mime-version :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=uFgt9/nZeJOCKFA8E V29uROsXLyOFWS+vOdEeuSAal8=; b=d70iP8ffM3oxJXvPTL5ISjZreWvEb2e16 d/a/hLDQ/HD64Dtn8uUCnzhI3e/VHbKA1TMUvcHoJP+muZR3UzPIa+YJBsJ/dr3M 6y65b6Wo40iSHlaiR3NX7TUDm6/pK55KxEp3bP1CjYVKfbCIOQUQ35+0bNCTyxfe ZltKxdnFs7Wq7awNoHlKhSYOSt+vSQLq06kb74jJN8clZ2/ZerU3+AI0cbvMLxre RveNtdsw0gML4v9laA1Y3NFdO2i3moWJNWyCxZMNHSFy0WiwolB8SPkuEOXI7/Hx tWh8xQNlv3RD0HRP/1wVcpFoR0NyPweFqqmHRXeqSO4Th7zuzvVMA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrjedtgdelkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkggfgtgesthfuredttddtvdenucfhrhhomhepufhimhhonhcuuehr ohifnhcuoehlihhsthhsseejtddttgdrohhrgheqnecuggftrfgrthhtvghrnhepleelve ekleethfektefgheevffehtdehvefgffekfedugfffgfejhffffedvheevnecuvehluhhs thgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheplhhishhtshesjedttd gtrdhorhhg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Sun, 13 Feb 2022 12:37:09 -0500 (EST) From: Simon Brown To: DPDK Users Subject: Initial Setup and best practices Date: Sun, 13 Feb 2022 18:37:04 +0100 Message-ID: <3256119.aeNJFYEL58@maktub> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Hello, I'm new to DPDK and I'm trying to setup a simple project to count packets. I'm using MoonGen to generate the traffic on one machine and can receive the data using traditional sockets on another machine. So I know that part works. I've built dpdk 21.11 and I've tried to modify the example rxtx callbacks application to count packets, but it doesn't see any traffic. So I presume there's something wrong with my environment. Can you advise on how to verify that my environment is correct and what is the recommended setup for new projects? Should I be using the virtualisation interface vfio-pci or the other interfaces? I have mlx5, i40e and ice NICs available for test. For mlx5 dpdk-devbind suggests that vfio-pci is compatible whereas mlx5_core is a kernel driver, but trying to run with vfio-pci leads to: mlx5_common: No Verbs device matches PCI device 0000:01:00.0, are kernel drivers loaded? mlx5 seems to work correctly with MoonGen. Any help greatly appreciated, Simon