From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay63.bu.edu (relay63.bu.edu [128.197.228.63]) by dpdk.org (Postfix) with ESMTP id 9A0E63255 for ; Wed, 29 Nov 2017 00:33:45 +0100 (CET) X-Envelope-From: doucette@bu.edu Received: from mail-wr0-f199.google.com (mail-wr0-f199.google.com [209.85.128.199]) by relay63.bu.edu (8.14.3/8.14.3) with ESMTP id vASNX4af006776 for ; Tue, 28 Nov 2017 18:33:04 -0500 Received: by mail-wr0-f199.google.com with SMTP id f4so873504wre.9 for ; Tue, 28 Nov 2017 15:33:04 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=hrzXLwKJmalKhAxrBJzNqWrg0TOOiPzH66cL/yxRXuY=; b=IGt0aKgDGbi+e8lw+Pbn+FMD1rg3+vihtbfM7aCpfI3iU/UJyb0UTH2jKZ1SlawJHO ELe7kwObdG5ENPVYGIUdgq04RkOnLEUlmRgYEp0/CmLN9LrB8XWsmqVL8Z3nHQI8scS4 3rxfYopn2yVsx7qt6uhuLx47/QKdmXtw6IAMyjBC3/yMvQKZE62L1s0Oxm+J4Xx+snLt 9+Ma6FkR3qLnJNcHux/Dz546Edp3qEm85AnMbJDy8314/arNqLn0+IM7UD02W8ENn9Ft 9o6W2mLMKn7gM3PU/HfXh5DKhfrYFAF4AIao0Lnwu0SWRn+EVGw1k0MgvieTMcJMNeb0 6VgQ== X-Gm-Message-State: AJaThX7OvZcFOF6zCQlF79n34b/cjfoKGZQk8zvzpFCV1Qtqwb/YZ+pU O0Piu5nPBcl3vI1tBrs34KO6L1RzlnWjPYIW40Cc3fNh/h61Ptv57mmA4+UtbS2RvOe5tuY7Ijm bE/OT9xyasCo9+a/XT0nbBS8= X-Received: by 10.28.139.144 with SMTP id n138mr989347wmd.78.1511911983648; Tue, 28 Nov 2017 15:33:03 -0800 (PST) X-Google-Smtp-Source: AGs4zMaBwAizPn6uKvzDwsW33PGxaxIDcyYAqNT2U9j/cVJJWk6bMkwxcSeuX3sbWdAUtN2+RqoyYM6ZPC8qsJD6HIk= X-Received: by 10.28.139.144 with SMTP id n138mr989337wmd.78.1511911983292; Tue, 28 Nov 2017 15:33:03 -0800 (PST) MIME-Version: 1.0 Received: by 10.28.111.18 with HTTP; Tue, 28 Nov 2017 15:33:02 -0800 (PST) In-Reply-To: References: From: Cody Doucette Date: Tue, 28 Nov 2017 18:33:02 -0500 Message-ID: To: Ferruh Yigit Cc: users Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] using the KNI on Amazon EC2 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: , X-List-Received-Date: Tue, 28 Nov 2017 23:33:45 -0000 On Mon, Nov 27, 2017 at 6:59 PM, Ferruh Yigit wrote: > Bringing interface up via ifconfig should be working. > Are you testing kni sample app or kni pmd? Indeed it does work! The issue turned out to be that my implementation for the KNI config_network_if() callback was using the dev_set_link_up/dev_set_link_down APIs, as the IP pipeline example does. However, the KNI sample application uses the dev_start/dev_stop/link_update APIs to implement configuring the interface. The ENA driver does not implement dev_set_link_up/dev_set_link_down, so I was getting an error that the operation not supported. Using the config_network_if() callback implementation that the KNI sample application uses works! Thank you.