From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f42.google.com (mail-pg0-f42.google.com [74.125.83.42]) by dpdk.org (Postfix) with ESMTP id D21B42BC3 for ; Wed, 21 Jun 2017 17:25:01 +0200 (CEST) Received: by mail-pg0-f42.google.com with SMTP id f127so1713958pgc.0 for ; Wed, 21 Jun 2017 08:25:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=1+VjlqzwOneeMheMEiDcAyN5fGSKHLjoBd+or0Cib7k=; b=JgAW94OT6GnTJtXPkZK7qTBj3nd5zVEn4JsS2fhw82ViabBop4kMrSKGpHb+whKOOb D15ZZsEIfCQP60if7zSh48LdJWqcIIaBRGGD4qg7C/fekwnBwb3D49r1hS8w+g7qP7Wb 8TmMOCwqZW6qH4nKADEMAlS1h2CpPM6Tu6ZBykanfs6fePA3SrW/vpDC4QT83oQ9X32H SQ4MXT22ue121qcx2cHU6XrMIaCcRFIYHg6aeakqgbvnWhHZfNRRSqFxENoeNUIytMbn eq+VEXAZKjClPIHXgk6bU9DVSEVtF6jcjilbIIEEsriHhXlw+qrW2MEObzpmzFHX0ebr gdhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=1+VjlqzwOneeMheMEiDcAyN5fGSKHLjoBd+or0Cib7k=; b=Er7NIS/HOnqQqD0JgHz9WqVh1Snq7vGklUvnvO1t19EQVKn5e6s9jJlFUTvrP7BHp9 AwTlgYbd+c7zHlDkMIkCGCW7haTtdUz80I2Jt/hj5/D62a/eAzWocPWcnKwcsc2sTjEd i05ChZZCT3+5zvln7Evj7pFiERHf5JYcypCizqk5YooBNlJJ4a1HvW4FydcBISsCcQfy JT+SxQYWGqLlC5vfzcmr2RONe3lthepqYuh/uA19ZocISSAag193gNlIRn+eH10hhOSu XjqKA3Eh9liiZvZ/ahvstaf1oOas1NhcKFQM+OZhuID7oOLeaONV+MBGo5FQKr2yBo00 cCHA== X-Gm-Message-State: AKS2vOxDxYlc83UaD8HbSkfRVf0EsNaYLnePHiKXzVagwsAhshL5kgNH /4hKlpAr2kRRVM1N X-Received: by 10.98.27.215 with SMTP id b206mr37273588pfb.123.1498058700751; Wed, 21 Jun 2017 08:25:00 -0700 (PDT) Received: from xeon-e3 (76-14-207-240.or.wavecable.com. [76.14.207.240]) by smtp.gmail.com with ESMTPSA id j27sm21946375pgn.63.2017.06.21.08.25.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 21 Jun 2017 08:25:00 -0700 (PDT) Date: Wed, 21 Jun 2017 08:24:59 -0700 From: Stephen Hemminger To: Ferruh Yigit Cc: dev@dpdk.org, anatoly.burakov@intel.com, Bruce Richardson Message-ID: <20170621082459.5e127994@xeon-e3> In-Reply-To: <20170621110651.75299-5-ferruh.yigit@intel.com> References: <20170526165228.96919-1-ferruh.yigit@intel.com> <20170621110651.75299-1-ferruh.yigit@intel.com> <20170621110651.75299-5-ferruh.yigit@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v8 4/4] ethdev: add control interface support 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: Wed, 21 Jun 2017 15:25:02 -0000 On Wed, 21 Jun 2017 12:06:51 +0100 Ferruh Yigit wrote: > To have the support corresponding kernel module (UNCI) needs to be > inserted. If kernel module is not there, application will run as > it is without kernel control path support. > > When UNCI module inserted, running application creates a virtual Linux > network interface (dpdk$) per DPDK port. This interface can be used by > traditional Linux tools. > > If Userspace Network Control Interface (UNCI) kernel module > (rte_unci.ko) inserted, virtual interfaces created for each DPDK port > for control purposes. > > Created interfaces are named as dpdk#, like: > > $ ifconfig dpdk0; ifconfig dpdk1 > dpdk0: flags=4099 mtu 1500 > ether 90:e2:ba:0e:49:b9 txqueuelen 1000 (Ethernet) > RX packets 0 bytes 0 (0.0 B) > RX errors 0 dropped 0 overruns 0 frame 0 > TX packets 0 bytes 0 (0.0 B) > TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 > > dpdk1: flags=4099 mtu 1500 > ether 00:1b:21:76:fa:21 txqueuelen 1000 (Ethernet) > RX packets 0 bytes 0 (0.0 B) > RX errors 0 dropped 0 overruns 0 frame 0 > TX packets 0 bytes 0 (0.0 B) > TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 If you get the sysfs network links correct, then udev should be able to generate peristent network names.