From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ig0-f172.google.com (mail-ig0-f172.google.com [209.85.213.172]) by dpdk.org (Postfix) with ESMTP id C267BC6A2 for ; Fri, 19 Jun 2015 07:50:16 +0200 (CEST) Received: by igbqq3 with SMTP id qq3so8403953igb.0 for ; Thu, 18 Jun 2015 22:50:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=R5lcRPjst+/1U7VMGug3T6mOIumunI5Vs2QjBk6CS+8=; b=AoKVJIum6pPKYiOH0oDRR5Y+NOnEAuBRCSIE5eiR8w9XJqFMsrNkoBGUqgYW+Cp5S2 1cGCpmZMtdqqp2HYZaOV4vhp1lCV8C9eaibIIO6aw/mnZ+fhJ+AACjZ7lnTD9Huh1GHG Ltmf8phiGU6P8cO8m6JcYR0RlmErHXjO6J0vU0J0wv+vj203w6kdPukXZF9c+1whItiF A7uaiYyIhC9Axr99TLYqZJb3HrbrEiaImON09RyCLs79dkAU1laMPNcfsYCH0cfrPFEy AHBrz/SV0NY7yFOK+5wZv+svC7e3aR0sxaejeqZ2K5jndcJ0FsnG+hPAlNke8bV/mdrs oshQ== MIME-Version: 1.0 X-Received: by 10.50.79.129 with SMTP id j1mr622921igx.12.1434693016194; Thu, 18 Jun 2015 22:50:16 -0700 (PDT) Received: by 10.64.5.234 with HTTP; Thu, 18 Jun 2015 22:50:16 -0700 (PDT) Date: Thu, 18 Jun 2015 22:50:16 -0700 Message-ID: From: Vijayakumar Muthuvel Manickam To: "dev@dpdk.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] KNI mac address X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jun 2015 05:50:17 -0000 Hi, I see that KNI interfaces get assigned random mac addresses each time I do "ifconfig up" on the interface. Reason for this is mac address returned by "random_ether_addr()" is assigned to the interface in kni_net_open() for all NIC types except igb and ixgbe that have ethtool support. I would like to know the reason for assigning random mac address and if is it fine to transfer the actual port mac address from userspace during initialization by adding a field to rte_kni_device_info and assign it for the KNI interface ? Thanks, Vijay