From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f44.google.com (mail-pg0-f44.google.com [74.125.83.44]) by dpdk.org (Postfix) with ESMTP id AF3851C00 for ; Wed, 10 May 2017 19:54:16 +0200 (CEST) Received: by mail-pg0-f44.google.com with SMTP id o3so1428076pgn.2 for ; Wed, 10 May 2017 10:54:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=xvZOI/iamV2F2Cbuk0uVxW5T/8WAwBkvexLukq61b5o=; b=V3RpHz4156vrHcfZGlY9yKjntjqizSuFDKs15CIWlr/SXAq1Y86AogXPLqpEhz6RVu RCXddEv8yVjIgdGjUlbh0e+NnnOYc+Wy+QAcCC7pev+SJjY03+cWD4Vo4UI8oPGMxQWp CXlf7S1erKKpBVGMCD4OmFjJybxZXGU66r7WUW9MMkTUxN5WUxY8M1RMcA4JUTTPZlAD ssU7WU2lNTod25EIxP4mAeaHfPu3saQlsKdMp8yoVu3pVOOho5kQRbnM4fa46PoQq/U4 /IIKS3s4cUtLN0fK9Qbfp2NqDESjq7wfk324KErlaEBX6l/Wkj4qptxXtIPUYsv4UxRC QSHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=xvZOI/iamV2F2Cbuk0uVxW5T/8WAwBkvexLukq61b5o=; b=aBnNBAgV2NnNbeU0+mow4HIhuQ3JqkeGED2QhiSu7ug1Jf7xWT4VJf3xwqZ3s5pZYP mDSeaAHhEVztAZNwG0bzfNXQ96zYtyC9a0N7T1aUGdA23XgUsBWDu1LxzqM/9Z8LMTN8 WffInSUFkPxMmRQJ8Su7tAOR4Z8GYsy+2YsV9EcAJOZd22/uE5h4eJj/Ny03dIIDuVdq LthoRhr6nkBxNrZ1GY0OuaVadfEvxEjFHi2E0jhDRAH0OwpsnM2i1z6NcNAW98Vy3IEd CMERiZpSs4mmx2yamPiunCdMvuP4GVDBHcqC6vBHjUPxsZ4peZpHIz5eBbogJZ5zlgVX XX+A== X-Gm-Message-State: AODbwcARhJjhcxNsFAo7HKw09hbL9PsW60RxfyONjpKzJoe85EiJJyMd 3NxNoYeADJRS7Q== X-Received: by 10.84.233.200 with SMTP id m8mr9805910pln.118.1494438855670; Wed, 10 May 2017 10:54:15 -0700 (PDT) Received: from xeon-e3 (76-14-206-252.or.wavecable.com. [76.14.206.252]) by smtp.gmail.com with ESMTPSA id q6sm6591882pfq.18.2017.05.10.10.54.15 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 10 May 2017 10:54:15 -0700 (PDT) Date: Wed, 10 May 2017 10:54:07 -0700 From: Stephen Hemminger To: Gaetan Rivet Cc: dev@dpdk.org Message-ID: <20170510105407.0377a27c@xeon-e3> In-Reply-To: <1bb0b4a6403e42157ef983f0ee63320ce87a3996.1494430911.git.gaetan.rivet@6wind.com> References: <4b1edeb12ff61bdb04a0189be30395589c713dbb.1494420483.git.gaetan.rivet@6wind.com> <1bb0b4a6403e42157ef983f0ee63320ce87a3996.1494430911.git.gaetan.rivet@6wind.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v2] devargs: announce ABI change for device parameters X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 May 2017 17:54:17 -0000 On Wed, 10 May 2017 17:46:10 +0200 Gaetan Rivet wrote: > The PCI and virtual bus are planned to be moved to the generic > drivers/bus directory in v17.08. For this change to be possible, the EAL > must be made completely independent. > > The rte_devargs structure currently holds device representation internal > to those two busses. It must be made generic before this work can be > completed. > > Instead of using either a driver name for a vdev or a PCI address for a > PCI device, a devargs structure will have to be able to describe any > possible device on all busses, without introducing dependencies on > any bus-specific device representation. This will break the ABI for this > structure. > > Additionally, an evolution will occur regarding the device parsing > from the command-line. A user must be able to set which bus will handle > which device, and this setting is integral to the definition of a > device. > > The format has not yet been formally defined, but a proposition will > follow soon for a new command line parameter format for all devices. > > Signed-off-by: Gaetan Rivet I understand why having a union of all bus types is an issues since it means that if a new bus type (like VMBUS with GUID) has a bigger value then the existing representation would break. Perhaps give an example of what the new model would look like?