From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) by dpdk.org (Postfix) with ESMTP id 1BDB3914 for ; Mon, 19 Sep 2016 18:20:22 +0200 (CEST) Received: by mail-wm0-f42.google.com with SMTP id b130so71187144wmc.0 for ; Mon, 19 Sep 2016 09:20:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=jwUBLtH+1fNeuofvgYyIGwbR7LcoQohxv+GWnZ0blB0=; b=Dmx4klXjAHkb6JsK33A04RQtWqQnmMOHFc+/c38zq78GXvBCwzv5U6q/VSbXD7LvsH wEfwIbBS27yx2eogzXOfY1ebBz6vJ00SVLnb6uoAsKA1tWEuhKqJIpV50Z+PPsYsuVFK wQtWCwv3xFIUR6G5Yyy+gjxvgDjWju5pwvMTP+SmBm7E1EJiwSTCsAZOVXTEmxx6Oh2L +vGYuWBjRoe61iFGawtMwtexLBNo1rzhf50a0lVyuzGrT/xE0o1+U6Etb+oGMbrzE7Fl h7FUc+/fTsnbp6kuSQSDp/ndGg7SS9cuDX3Bk0rxiVw//B3uh36k1QwhVfNWZtK3VK62 RfFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=jwUBLtH+1fNeuofvgYyIGwbR7LcoQohxv+GWnZ0blB0=; b=bFOZIckkU3hrgtkbVENNj3abHf2O3JTCqmxBuwUD2SOd36LADoznyOd8s3CvVNp8rt tXjz1kTAjEXBg5z8t8EN+Sgd7X3/TMahq+D0HG+eukkH2SlIrjbs+3nz8Ot26qO1vjWx YL1PzoxadkshmAnEJ+Sk84HyGvWtkB0NrCNd8EmA4ZYbW6LrpgJLOUEeUTRJklgPotNM UIP/guSiIggSEaD3l30ajQpY+/BeKcn2iDc2O2d/8MpH+1cjZERhq4qLkWucrP8T+MWM V5JaInDUnRx7jA/BL1Tcm/ry1BNsAmtfrm/1aLMGIFuh9gK7Lyje2Ququtz/Xl53Du0J DW+Q== X-Gm-Message-State: AE9vXwPkThVUqc1oTc5vSNMoyWWcE9GX0lOk0lcAj5/sE9gWVXmYyD1U9YRVCO1r4ZRozwAKPAE1l9gQr45/NA== X-Received: by 10.194.134.161 with SMTP id pl1mr24006272wjb.81.1474302021653; Mon, 19 Sep 2016 09:20:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.195.67 with HTTP; Mon, 19 Sep 2016 09:20:21 -0700 (PDT) From: Alex Kiselev Date: Mon, 19 Sep 2016 19:20:21 +0300 Message-ID: To: users Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [dpdk-users] bringing up kni interfaces using netlink 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: Mon, 19 Sep 2016 16:20:22 -0000 Hi! I am trying to use the linux netlink interface with kni interfaces in order to bring them up and add ip addresses to them and I am experiencing some strange behaviors. Could anyone help me to understand what I am doing wrong? The problem is that I can=E2=80=99t bring kni interfaces up using the netli= nk interface immediately after their creation. What I can is to bring them up using the =E2=80=9Cip=E2=80=9D linux tool or I can bring them up us= ing netlink after some time has passed. But when I try to up them immediately after the creation they just stay in the =E2=80=9CDOWN=E2=80=9D state. Also= the =E2=80=9Cip link ls=E2=80=9D linux command freezes for about 5-7 seconds after netlink commands have sent to up the kni interfaces, and one of kni interfaces changes it=E2=80=99s name to the name of one of the pure linux interfaces (eth3). P.S. I am using the DPDP 2.2.0. --=20 -- Alex Kiselev