From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vk0-f47.google.com (mail-vk0-f47.google.com [209.85.213.47]) by dpdk.org (Postfix) with ESMTP id 6E4FAADBC for ; Tue, 10 May 2016 18:17:25 +0200 (CEST) Received: by mail-vk0-f47.google.com with SMTP id f66so22614189vkh.2 for ; Tue, 10 May 2016 09:17:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bigswitch-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=R1BXtCh/C8i9eiQheYEaPgCiTwLlk0fZ1djJy1ziPh4=; b=YC8Fb4hsPcqF6VuQbOoq8UsROs08acGrZBg2bp5NdH7TWyhHn9c3GLy4cLoZSUgAFG cY5/fJqbF+AK3ktI4JtrQP6LZN4Bv2jQV71U3LKZixaf2Hco9tpjpoU1aFvlAG+DWaBz yJBnVDeaoNLHqK39GbyoenLfi/ZMd8V4HiKJmUP8hy4RMisQwDiw4hdVxDpv4sbSQKy6 c5NNZZg5LuBX4x0BcmbImswoWxAazKXSE+IRN698p1LCyaiA4hjiK6MqbdBJWz9iRSCK Thd31yt6a0z2AoJu9eju3haYM1koJ0rZ+IaSeme0C/4WA9m4ILYxFKGSu3pcnnphLyme RqFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=R1BXtCh/C8i9eiQheYEaPgCiTwLlk0fZ1djJy1ziPh4=; b=nOVlzj5I4VGuuJUgdCM302BAAKAwv/OX78xkZGCw9wka2RRLQEUFjZgsHU3Bs41fLN EfTfHCks/7PzjLagNycVnr6MJgEYg08F3Oc/Lk2rmVtMAmqlpfAmE453rDUjVbq/J9m1 6LHuXNjLhGCw+G4rlyaoO9OKzOcI+e6Ell4q5VDyO5OxvZPDlPX6+zgR0eJZuY1dvdgr qAmsLigKvVWPHTk/ls3u4wlhpoxNSvJZ46eco76pKo8+o5im/vOzBKdVsGjhYAJMbhon Nx8VLkn4REIpNHltFxOkLVtS+JH2Q1cA85z3FTIPSpWOR3LqCt06sqVgh+f1uIEn93C/ +qrg== X-Gm-Message-State: AOPr4FUn2tvpBv2Vf+/WiNL+3daDl4x6xHDvqrRbnoCrjCYVxP4HO1RIf42pSQeg8rCPcNSz4dqdk0x737AV23DP MIME-Version: 1.0 X-Received: by 10.176.7.10 with SMTP id h10mr24339181uah.40.1462897043855; Tue, 10 May 2016 09:17:23 -0700 (PDT) Received: by 10.31.190.14 with HTTP; Tue, 10 May 2016 09:17:23 -0700 (PDT) In-Reply-To: <1462227927-22853-11-git-send-email-yuanhan.liu@linux.intel.com> References: <1462227927-22853-1-git-send-email-yuanhan.liu@linux.intel.com> <1462227927-22853-11-git-send-email-yuanhan.liu@linux.intel.com> Date: Tue, 10 May 2016 09:17:23 -0700 Message-ID: From: Rich Lane To: Yuanhan Liu Cc: dev@dpdk.org, "huawei.xie" , Thomas Monjalon , Panu Matilainen , Tetsuya Mukawa , Traynor Kevin Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] [PATCH 10/16] vhost: export vid as the only interface to applications 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: Tue, 10 May 2016 16:17:25 -0000 On Mon, May 2, 2016 at 3:25 PM, Yuanhan Liu wrote: > With all the previous prepare works, we are just one step away from > the final ABI refactoring. That is, to change current API to let them > stick to vid instead of the old virtio_net dev. > This patch removes the only assignment to internal->vid in the PMD. It's initialized to zero, so only the first vhost connection will work.