From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matej Vido Subject: Re: [PATCH v2 4/5] doc: add documentation for szedata2 PMD Date: Tue, 27 Oct 2015 18:33:13 +0100 Message-ID: References: <1434702301-4509-1-git-send-email-vido@cesnet.cz> <1442565172-5338-1-git-send-email-matejvido@gmail.com> <1442565172-5338-5-git-send-email-matejvido@gmail.com> <2385499.t56VK4bXHN@xps13> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Cc: dev@dpdk.org To: Thomas Monjalon Return-path: Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by dpdk.org (Postfix) with ESMTP id 83A498D3D for ; Tue, 27 Oct 2015 18:33:13 +0100 (CET) Received: by wicfx6 with SMTP id fx6so170056204wic.1 for ; Tue, 27 Oct 2015 10:33:13 -0700 (PDT) In-Reply-To: <2385499.t56VK4bXHN@xps13> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi Thomas, thank you for feedback. 2015-10-26 16:09 GMT+01:00 Thomas Monjalon : > Hi Matej, > > Thanks for providing a documentation. > I'm sorry to give a late feedback and I would like that other contributors > have reviewed it. There are a lot of PMD developers around. Please help. > > > 2015-09-18 10:32, Matej Vido: > > +- **libsze2** > > + > > + This library provides API for initialization of sze2 transfers, > receiving and > > + transmitting data segments. > > Please provide more information to help installing the dependencies. > Dependencies can be installed from RPM packages. I will add those information in new patch version. > > > +SZEDATA2 PMD can be created by passing --vdev= option to EAL in the > following > > +format: > > + > > +.. code-block:: console > > + > > + --vdev > 'DEVICE_NAME,dev_path=PATH_TO_SZEDATA2_DEVICE,rx_ifaces=RX_MASK,tx_ifaces=TX_MASK' > > SZEDATA2 is not a vdev. Is it possible to probe it as a standard PCI > device? > > It would be possible to probe it as a standard PCI device, but as this szedata2 driver uses libsze2 library it needs to pass some parameters to the library and we thought that using vdev would be the easiest solution. Is there a way how to provide parameters to pdev driver? We also work on a new PMD which will eliminate dependencies on kernel modules and libsze2, and using this PMD COMBO card will be probed as a standard PCI device. Best regards, Matej Vido