From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id E76CAA0487 for ; Thu, 4 Jul 2019 18:14:57 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7A1F81BE0; Thu, 4 Jul 2019 18:14:57 +0200 (CEST) Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) by dpdk.org (Postfix) with ESMTP id 5EB232AB for ; Thu, 4 Jul 2019 18:14:56 +0200 (CEST) Received: by mail-pl1-f170.google.com with SMTP id bh12so3295887plb.4 for ; Thu, 04 Jul 2019 09:14:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=csie-io.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=J1QBthnNZsehnX/nDrpp1oxbJiAihgvDb86YgZJqsws=; b=hpQeslylgFwgpwGhc1YWrccUCbI0jN9sGNRA/hUmNJPUwWdMIDL7PtEftHVfyln3K+ hCTC6z6WQb5YSrM+VolwbyO1kXHyXP9K3d/xXRRl7jBoham6pGsl8avcWikMmY6X4WEu vD4q15h9SYVrDi1A46LOJHk14Qae0mYjJIuXz3jeiMspp47dalrdTzzLdwCzTFCvyy9e PoH8yOv1uLZElSDPgfLttnN11NGYYr+5DpHpwHax8147h8hS8aIijfMlzlUqcIoWnURm kkl3eewAWKI1QLTIEaVClUIG30tcjIfTzQF0VA1QxS8Xs7FZm+uYphjBedVQJX2+Vq8W hEkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=J1QBthnNZsehnX/nDrpp1oxbJiAihgvDb86YgZJqsws=; b=AKgPxHBNNOoM08QV0WBEMfamVJ2Vw3Vg+V8n6N8Tiscm6CRqLmTcX70ls/PdQuEiNV S8fDu9oJh1E5lX2z4gLNcACD7C/Mws+lmlL2jpOsQLoeSVsnQYBwx+/AWSHVzlZ8lKvt BATWZDrFayLT3/zEUzXHQIOMR0yCOVbGl2oCRU71s5HpmoQFDw58HqBr+SZ/X/mM6UYH Hwg4UkzZVUPOdY0wDH6t75U22IVL15Mekc9kOR+koHErP3Royb3zpUQS5jm6+kscbBjU guWb2vZnyKQotJ1hNdYUp7PUXgFuRgnuMuhzQXizh6+wwfDeONa7dJ1NxWUbsugyjyd3 ScvQ== X-Gm-Message-State: APjAAAUmSecsnV07bVGpNyovy5mYnhO7+5wrxS2E8cdB0yGJiDp9ZtXv OWm3yaGH9qqTXWDI45gSrVrKxTD7YC8= X-Google-Smtp-Source: APXvYqy/oR0QseL9F5lEEd1DjK1/45DfkEQx2Yk1crx0wkl+ZtVTa5lSPFEh4ZM2VtN16hCpipooHg== X-Received: by 2002:a17:902:9a95:: with SMTP id w21mr49682895plp.126.1562256895500; Thu, 04 Jul 2019 09:14:55 -0700 (PDT) Received: from [192.168.0.141] (111-241-55-208.dynamic-ip.hinet.net. [111.241.55.208]) by smtp.gmail.com with ESMTPSA id z13sm5358174pjn.32.2019.07.04.09.14.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Jul 2019 09:14:54 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) From: Huai-En Tseng In-Reply-To: Date: Fri, 5 Jul 2019 00:14:52 +0800 Cc: users@dpdk.org, diptyaroop@cse.iitb.ac.in Content-Transfer-Encoding: quoted-printable Message-Id: <8B00E4CB-5ABA-4D86-B7B9-B7EF4D9267C0@csie.io> References: To: nileshunhale@cse.iitb.ac.in X-Mailer: Apple Mail (2.3445.9.1) Subject: Re: [dpdk-users] users Digest, Vol 193, Issue 4 X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" Hi, there isn=E2=80=99t any IP allocation in DPDK. You need to assign IP addr in your own DPDK application. You will receive raw packet in DPDK application and need to parse = L2/L3/L4 header by yourself > users-request@dpdk.org =E6=96=BC 2019=E5=B9=B47=E6=9C=884=E6=97=A5 = =E4=B8=8B=E5=8D=886:00 =E5=AF=AB=E9=81=93=EF=BC=9A >=20 > Send users mailing list submissions to > users@dpdk.org >=20 > To subscribe or unsubscribe via the World Wide Web, visit > https://mails.dpdk.org/listinfo/users > or, via email, send a message with subject or body 'help' to > users-request@dpdk.org >=20 > You can reach the person managing the list at > users-owner@dpdk.org >=20 > When replying, please edit your Subject line so it is more specific > than "Re: Contents of users digest..." >=20 >=20 > Today's Topics: >=20 > 1. How allocate IP to NIC binded to DPDK driver (igb) (Nilesh = Unhale) >=20 >=20 > ---------------------------------------------------------------------- >=20 > Message: 1 > Date: Thu, 04 Jul 2019 14:44:58 +0530 > From: Nilesh Unhale > To: > Cc: > Subject: [dpdk-users] How allocate IP to NIC binded to DPDK driver > (igb) > Message-ID: > Content-Type: text/plain; charset=3DUTF-8; format=3Dflowed >=20 > Hello, >=20 > We are trying to build an application over DPDK. However, we are = facing=20 > some issues: >=20 > After binding NIC to DPDK driver (igb_uio), we can not see it in=20 > ifconfig -a. > So, how to bring up that interface and allocate IP to it? We want the=20= > interface to be up even after our application is terminated. (Using = KNI=20 > module which is provided with DPDK, we were able to give ip address=20 > which lasts till KNI program is running, but while KNI application is=20= > running, we can not run any other application (which uses DPDK)). >=20 > System specification : > 2 machines with > Distributor ID: Ubuntu > Description: Ubuntu 16.04.5 LTS > Release: 16.04 > Codename: xenial >=20 > Kernel: 4.15.0-29-generic > DPDK: 19.05.0 >=20 > Hardware: > CPU: Intel(R) Xeon(R) CPU E5-2650 v4 @ 2.20GHz >=20 > NIC 1: Intel Corporation Ethernet Controller XL710 for 40GbE QSFP+=20 > (i40e) > NIC 2: Intel Corporation I350 Gigabit Network Connection (igb) >=20 >=20 > --=20 > Regards, > Nilesh Unhale >=20 >=20 >=20 > End of users Digest, Vol 193, Issue 4 > *************************************