From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-f53.google.com (mail-lf0-f53.google.com [209.85.215.53]) by dpdk.org (Postfix) with ESMTP id B5E951B5FA for ; Wed, 4 Oct 2017 09:53:34 +0200 (CEST) Received: by mail-lf0-f53.google.com with SMTP id m199so12409274lfe.3 for ; Wed, 04 Oct 2017 00:53:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=yqV8MoWSpU0SVYpE9wBkTq4CBqX9MURMO52FOaVBtXU=; b=c2/mpkqnMcQW6fe/4m+kdONKTEby0Oj7yOivZQWElS29MFlYkMqJnKNOY6eEqU2oIK 54XXtJ571wwKkbTvP36eIYqoNeNGkKB+2WTKrVxwd290RZC9r3qIZ9xmu3hbrCnNcTno +UOaRkljRO/24GJY1N4fmAR9+MgMqn5jc90no2va3vTr05nsnQevADPX64Vu4zIAE6KQ Le0bRSKgzDtfigjbSJWmD/5WWjHRRg2TRUxmfw55YDjZqk9xWg+mE8Lvz1+zPbuOadsd ra1wWRN+4/Xu42TMWf5paBfXKRMNCVeJtCBrLF/8pC0QF9lmZnbUncaIcyDPCrDi8VzU 3wAA== 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:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=yqV8MoWSpU0SVYpE9wBkTq4CBqX9MURMO52FOaVBtXU=; b=J4bxbzOiGKevMIenqOVMUJwo9Q1NwmU1oLIoJX17LpndEIy/YfuA+YCiVTboP2Wwg8 hASN4rEwiqaJ8HZVw0fhiqXeBr3qP92omjd5O4s4g1hFpEPHGsLzLtYmNjrtwUgrGR/5 yUdlkJJOMc6gSWZypnj7P5BUNw8p457/XnX7+oiw0rf4AzttDoKDaKu6O5apHbK3OKqh CzrvTOdVom9SAIPrvImgxmbBCTA7SqtIJ4+0WhOy9yiH3kDBS9rzgumcEcE64QL5/Jpe u9S7xYDe4PyHxwOhzcg7CnI/AyBlmuxICdXaVkd5ZTdMMUn2gBxNaklSRINUfTo1rLtm 15Ng== X-Gm-Message-State: AHPjjUjjNkobozEqlLNEeeVCvfA4dChg0n3dQBtWBDpKiARhZCyLT6/k WXM2G+yzutaSy/uPoHPxzXhP0w== X-Google-Smtp-Source: AOwi7QA/Fle1NTPf8LeAb50ymO9iZRjFzJwkcjCR32xWAcEsO2HCKS/bOLeObZ+lHoU1wi8KCf7AIA== X-Received: by 10.46.9.198 with SMTP id 189mr9429647ljj.134.1507103614254; Wed, 04 Oct 2017 00:53:34 -0700 (PDT) Received: from localhost (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id y132sm2356915lfc.1.2017.10.04.00.53.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Oct 2017 00:53:33 -0700 (PDT) Date: Wed, 4 Oct 2017 09:53:32 +0200 From: Tomasz Duszynski To: Ferruh Yigit Cc: Tomasz Duszynski , dev@dpdk.org, mw@semihalf.com, dima@marvell.com, nsamsono@marvell.com, Jianbo.liu@linaro.org, Jacek Siuda , sgridish@marvell.com Message-ID: <20171004075332.GA5668@tdu> References: <1506594158-15721-2-git-send-email-tdu@semihalf.com> <1507031500-11473-1-git-send-email-tdu@semihalf.com> <1507031500-11473-4-git-send-email-tdu@semihalf.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: User-Agent: Mutt/1.5.23.1 (2014-03-12) Subject: Re: [dpdk-dev] [PATCH v3 3/4] doc: add mrvl net pmd documentation 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, 04 Oct 2017 07:53:35 -0000 On Wed, Oct 04, 2017 at 01:29:01AM +0100, Ferruh Yigit wrote: +cc Shlomi. > On 10/3/2017 12:51 PM, Tomasz Duszynski wrote: > > Add documentation for the MRVL NET PMD driver. > > > > Signed-off-by: Jacek Siuda > > Signed-off-by: Tomasz Duszynski > > <...> > > > +; > > +[Features] > > +Speed capabilities =3D Y > > This doesn't seems correct please check doc/guides/nics/features.rst Right, speed capabilities are not returned via rte_eth_dev_info. Thanks for pointing this out. Will fix that in v4. > > > +Link status =3D Y > > +MTU update =3D Y > > +Jumbo frame =3D Y > > +Promiscuous mode =3D Y > > +Allmulticast mode =3D Y > > +Unicast MAC filter =3D Y > > +Multicast MAC filter =3D Y > > +RSS hash =3D Y > > +VLAN filter =3D Y > > +CRC offload =3D Y > > +L3 checksum offload =3D Y > > +L4 checksum offload =3D Y > > +Packet type parsing =3D Y > > +Basic stats =3D Y > > +Stats per queue =3D Y > > +ARMv8 =3D Y > > Is other architecture not supported or not tested? Currently that NIC comes integrated into Armada 7k/8k SoCs and they are bas= ed on ARMv8. > > > +Usage doc =3D Y > > <...> > > > +Prerequisites > > +------------- > > + > > +- MUSDK (Marvell User-Space SDK) sources available > > + `here `_. > > Is this 17.08 by change related to DPDK version, I mean is there any > relation between DPDK version and musdk library version? No relation except similar versioning convention that is used. Musdk library version needed by DPDK driver is mentioned explicitly in documentation. > > > + > > + MUSDK is a light-weight library that provides direct access to Mar= vell's > > + PPv2 (Packet Processor v2). Alternatively prebuilt MUSDK library c= an be > > + requested from `Marvell Extranet `_.= Once > > + approval has been granted, library can be found by typing ``musdk`= ` in > > + search box. > > What is the condition of having an approval? I think Marvell team would be more helpful here. > > > + > > +- DPDK environment > > + > > + Follow the DPDK :ref:`Getting Started Guide for Linux `= to setup > > + DPDK environment. > > + > > + > > <...> > > > +Building DPDK > > +------------- > > + > > +Driver needs precompiled MUSDK library during compilation. Detailed bu= ild > > +process is described in library's documentation under ``doc`` director= y. > > + > > +Before the DPDK build process the environmental variable ``LIBMUSDK_PA= TH`` with > > +the path to the MUSDK installation directory needs to be exported. > > + > > +Usage Example > > +------------- > > + > > +MRVL PMD requires extra kernel modules to function properly: > > + > > +.. code-block:: console > > + > > + insmod musdk_uio.ko > > + insmod mv_pp_uio.ko > > + insmod mvpp2x_sysfs.ko > > Why these kernel modules are required and how one can obtain them? Kernel modules are used to map device memory regions to userspace. musdk_uio and mv_pp_uio both come with MUSDK library. As for mvpp2x_sysfs I think Marvell team could be more helpful here. > These are out of tree kernel modules right? Right. You have to either build them yourself or get precompiled from Marvell-extranet. > > <...> > -- - Tomasz Duszy=C5=84ski