From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-f68.google.com (mail-oi0-f68.google.com [209.85.218.68]) by dpdk.org (Postfix) with ESMTP id D10242BD3 for ; Sat, 9 Apr 2016 07:41:27 +0200 (CEST) Received: by mail-oi0-f68.google.com with SMTP id w18so18230486oie.2 for ; Fri, 08 Apr 2016 22:41:27 -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; bh=BuumuJaDhViBlHe9v3llcwDXxXf5Hf/rrp84/v9WhLI=; b=l+IcQ+UjO7RkE2kOFG+93Ei5Ne4/HtPa5YK9wg6fcHmXsN7NmS2nURu/jDN3U9A8l3 Ig8VJ/ebwZnLVSAlx4anCVnoIgd9meu7I6qj6/LYO9JYSiM3KJaCoIJlCJsvfEOqYSlp sUssaQEMmeb3IW9koOI8iMpm68fIAFCpq5U8gjSeoXnxJdHnXSRci77sDLQxDmcMfqCn kJitvPcw7Al/+l47lti++HIWkRCaMe+qJKg/dQRVi53ZQZjirgqgDDrHjb1XlY7XvOSY dkGzFeoppG7EyasR49jEEjV81kdLo2Yfw3Q9U6Z8ARFlCUnHjJo95g+MPyD+1vthbPfx thng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=BuumuJaDhViBlHe9v3llcwDXxXf5Hf/rrp84/v9WhLI=; b=U26A2wKbKwKiYKJwGelqK/V8tFAomwUGEWDZODrjv1hoodzd3PTEIFluDa/RHdjViL NVnVxE0616hjEp0Pv62TC4BggqHJtWkmlYFU9fXtoMBVsix7xLKd6wIE64wESBbWHxJ3 PPSoiiHhM2yS9hBtkkmjIULoIC7/XflUFXa9ERbG1oYdFsTkSLh2olAT0PDQG0TasVSb DuJ51I4qpkk0+wYD7oGhYOG+SKNCRo9Ucycv1cNDNtbcPr07MBvv+0QgymDN5p9k0bUA 7F1r5pvNG0x6gb/Lhq0fLpUwKZFbbnIbPmv3n+L8uurKMAV9W9cA1+eqqcfb0AOxjhVD LiEQ== X-Gm-Message-State: AD7BkJIKGxj8345e+RWlAflOZJbUxvKnik+dZ2CaLvNXh1Rkmc9/EB3waX7zmCSWUkH4/cdEtgSRvUbeYpmkDw== MIME-Version: 1.0 X-Received: by 10.157.26.23 with SMTP id a23mr6344708ote.91.1460180487154; Fri, 08 Apr 2016 22:41:27 -0700 (PDT) Received: by 10.202.184.5 with HTTP; Fri, 8 Apr 2016 22:41:27 -0700 (PDT) Date: Sat, 9 Apr 2016 01:41:27 -0400 Message-ID: From: sml To: users@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] Configuring MAC Address of KNI - Don't want random X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Apr 2016 05:41:28 -0000 Hello, I am having an issue where when creating the KNI interface I would like to KEEP the hardware MAC address. I can properly create the interface. It starts in a down state, I then need to manually ifconfig the IP Address and MAC address with UP to get what I need. If I just do the plain ifconfig -v vEth0_0 up - it assigns a random mac address. (Using a e1000 as well I350 and emulated e1000) This also happens if you DOWN the interface and bring it UP using ifconfig again. Using Version 2.2.0 What is the proper procedure/flow for doing this within the codebase so I can have the end result of the original hardware MAC and the interface in an UP state? Sorry if this seems basic I just can't seem to find any examples of how this is done.