From: Ferruh Yigit Subject: Re: [PATCH v4 7/7] net/ark: Arkville PMD component integration Date: Tue, 28 Mar 2017 13:34:47 +0100 Message-ID: References: <1490231015-31748-1-git-send-email-ed.czeck@atomicrules.com> <1490231015-31748-7-git-send-email-ed.czeck@atomicrules.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: dev@dpdk.org, Thomas Monjalon , Shepard Siegel , John Miller To: Ed Czeck Return-path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id BC5AF2C74 for ; Tue, 28 Mar 2017 14:34:50 +0200 (CEST) In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 3/23/2017 10:19 PM, Ed Czeck wrote: > > On Thu, Mar 23, 2017 at 8:13 AM, Ferruh Yigit > wrote: >> > >> > >> > +static >> > +int >> >> Can be in same line. > Fixed > >> >> > +check_for_ext(struct rte_eth_dev *dev __rte_unused, >> > + struct ark_adapter *ark __rte_unused) >> >> __rte_unused can go away > Fixed > > >> Hi Ed, >> >> Can you give some more details on "user extension" that loaded > dynamically? >> >> How much the driver depends on it, what happens if the library is missing? >> >> And how do you deliver that shared library? >> > Dynamic libraries arem optional user provided extensions to the PMD. The > driver funcations correctly without one. Here is the blurb from our > doc file: doc/guides/nics/ark.rst > > The ARK PMD user extensions are a feature of Arkville’s DPDK > net/ark poll mode driver, allowing users to add their > own code to extend the net/ark functionality without > having to make source code changes to the driver. One motivation for > this capability is that while DPDK provides a rich set of functions > to interact with NIC-like capabilities (e.g. MAC addresses and statistics), > the Arkville RTL IP does not include a MAC. Users can supply their > own MAC or custom FPGA applications, which may require control from > the PMD. The user extension is the means providing the control > between the user's FPGA application and the existing DPDK features via > the PMD. There is no discussion related to this dependency, I guess we can continue to reviewing patches. Anyone believes this must be discussed more, please chime in.