From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx03a-out01ag.rit.edu (mx03a-out01ag.rit.edu [129.21.3.134]) by dpdk.org (Postfix) with ESMTP id 35BD71B1B8 for ; Fri, 8 Dec 2017 21:22:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rit.edu; i=@rit.edu; q=dns/txt; s=rit1608; t=1512764542; x=1544300542; h=mime-version:in-reply-to:references:date:message-id: subject:to:cc:reply-to:from; bh=rIvqmXBfvcNRVlGFDef0z3RfwtqWdRZZcyUV4STn5ss=; b=GCnRezqJJt4nEgxbzIi7VR51wY0l9JlQt2h1GxXnw3TZF34NfbSSNmF7 A68mJEuehJcq5Gs7ojC+ysmZfOb3xfsRWhKHBiW4VPrxuMk5Tkf+23KhB j3IZY0hTejNZaeqA911F6a92Fui1l/PImJ+XqhOpJUCO4E0wocUCsmjOv g=; From: Pragash Vijayaragavan X-IronPort-AV: E=Sophos;i="5.45,378,1508817600"; d="scan'208,217";a="162184316" Received: from mail-vk0-f69.google.com ([209.85.213.69]) by smtp-server.rit.edu with ESMTP/TLS/AES128-GCM-SHA256; 08 Dec 2017 15:22:14 -0500 Received: by mail-vk0-f69.google.com with SMTP id p143so6359440vkf.1 for ; Fri, 08 Dec 2017 12:22:14 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:in-reply-to:references :from:date:message-id:subject:to:cc; bh=rIvqmXBfvcNRVlGFDef0z3RfwtqWdRZZcyUV4STn5ss=; b=GJ/B1fStfClmuW7We7zEKfmAPdot2p5defJ9Xe4lYaRZ/GavTWQi84ZXnwBnheYq64 OTg1PZivrWIQp99lla/BIdZbZIPPtYYG1/xvlQdT1/GYFpfLyGzlWSlF/BV9CWB0aFVv nuKwzKXV8+6HXFZaoVpEYYUM3ipYnWm7IDVgumiswS5wK9FO0o9wV48i7n8nM0UwIf4/ D0wLYp6POWtFI8MzXVnPQq/DDIPOvgpJITGWy51W0sFFupty+86TmyGF66B4nQmG/ZGa IrgPYGY9chnW64lW37KZ0q+MnrxUPPczq4OQjG2VNQN7tFrabz+IfHdsZurEOKkklYXM mUbg== X-Gm-Message-State: AKGB3mL8XwIrlbTYHdh3jvKuLsKTAJqdwo1B8E6lDoxHT1eEovP/+LAI tK3z7aO+Ad/C7cP4SukaQ/o4F1knt0CEvUGy713BxMWlCbNXk9NF5B7x9JsiKr6ytipDn9MOc9e pmE9jq2EqDst6M4rSwpKDfOse/BWJ5tqZ X-Received: by 10.176.27.18 with SMTP id d18mr19291268uai.78.1512764533414; Fri, 08 Dec 2017 12:22:13 -0800 (PST) X-Google-Smtp-Source: AGs4zMaY3NPLO7XgGjGT1r2iKlXQPz0Ttg3QOy1f2gmSnCKk2P0cIdHNyK5rvpIr9Wt+5xb9lQOHpOhTNqNWA7ZSFxY= X-Received: by 10.176.27.18 with SMTP id d18mr19291249uai.78.1512764533147; Fri, 08 Dec 2017 12:22:13 -0800 (PST) MIME-Version: 1.0 Received: by 10.176.76.81 with HTTP; Fri, 8 Dec 2017 12:22:12 -0800 (PST) In-Reply-To: References: Date: Fri, 8 Dec 2017 15:22:12 -0500 Message-ID: To: "Hristo.Trifonov" Cc: "users@dpdk.org" , Minseok Kwon Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] port 0 not present on board error X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: pxv3620@rit.edu List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Dec 2017 20:22:22 -0000 Hi , I have attached 2 ports to dpdk, and i tried -p 0x3 as well. I have noticed that the ports are not showing the "Active" status, is that an issue? Below is the output from dpdk-status pragash@revvit:~/dpdk-stable-17.05.2/usertools$ dpdk-devbind --status Network devices using DPDK-compatible driver ============================================ 0000:02:00.0 'Ethernet Controller XL710 for 40GbE QSFP+ 1583' drv=uio_pci_generic unused= 0000:04:00.0 'Ethernet Controller XL710 for 40GbE QSFP+ 1583' drv=uio_pci_generic unused= Network devices using kernel driver =================================== 0000:02:00.1 'Ethernet Controller XL710 for 40GbE QSFP+ 1583' if=eth12 drv=i40e unused=uio_pci_generic 0000:04:00.1 'Ethernet Controller XL710 for 40GbE QSFP+ 1583' if=eth10 drv=i40e unused=uio_pci_generic 0000:08:00.0 'I350 Gigabit Network Connection 1521' if=eth0 drv=igb unused=uio_pci_generic *Active* 0000:08:00.1 'I350 Gigabit Network Connection 1521' if=eth2 drv=igb unused=uio_pci_generic Thanks, Pragash Vijayaragavan Grad Student at Rochester Institute of Technology email : pxv3620@rit.edu ph : 585 764 4662 On Fri, Dec 8, 2017 at 7:11 AM, Hristo.Trifonov wrote: > Hi Pragash, > > How many ports are assigned to dpdk? > Why is there only 1 port in the portmask (-p 0x1)? > > Dpdk would typically use pair(s) of ports. > First port(0x1) in the portmask(0x3) is usually ingress traffic and the > second port(0x2) of the pair is the egress traffic. > Try with -p 0x3 portmask but make sure you have at least 2 ports already > assigned for use with a dpdk app. > If you have more than 2 ports adjust the portmask hex number to reflect > the situation. > > Hristo T. >