DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Mcnamara, John" <john.mcnamara@intel.com>
To: Harish Patil <harish.patil@qlogic.com>, "dev@dpdk.org" <dev@dpdk.org>
Cc: Sony Chacko <sony.chacko@qlogic.com>
Subject: Re: [dpdk-dev] [PATCH 2/6] qede: add documentation
Date: Mon, 22 Feb 2016 16:52:14 +0000	[thread overview]
Message-ID: <B27915DBBA3421428155699D51E4CFE20245E21E@IRSMSX103.ger.corp.intel.com> (raw)
In-Reply-To: <1455982831-21682-3-git-send-email-harish.patil@qlogic.com>

> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Harish Patil
> Sent: Saturday, February 20, 2016 3:40 PM
> To: dev@dpdk.org
> Cc: Sony Chacko <sony.chacko@qlogic.com>
> Subject: [dpdk-dev] [PATCH 2/6] qede: add documentation
> 
> Signed-off-by: Harish Patil <harish.patil@qlogic.com>
> Signed-off-by: Rasesh Mody <rasesh.mody@qlogic.com>
> Signed-off-by: Sony Chacko <sony.chacko@qlogic.com>
> ---
>  doc/guides/nics/index.rst |   1 +
>  doc/guides/nics/qede.rst  | 344

Hi,

Thanks for the docs. The overall format and content seem good. A few
comments below.


> +#. Bind the QLogic 579xx adapters to ``igb_uio`` or ``vfio-pci`` loaded
> in the
> +   previous step::
> +
> +      ./tools/dpdk_nic_bind.py --bind igb_uio 0000:84:00.0 0000:84:00.1
> + 0000:84:00.2 0000:84:00.3

Fixed width lines should be constrained to 80 characters or else they will
go off the page in the PDF docs. The usual workaround is to use a command-
line continuation (or text wrap). For example:


     ./tools/dpdk_nic_bind.py --bind igb_uio \
                              0000:84:00.0 0000:84:00.1 \
                              0000:84:00.2 0000:84:00.3

Or similar. This also applies to the command-lines in other sections.
> +
> +#. Start ``testpmd`` with basic parameters:
> +
> +   .. code-block:: console
> +
> +      testpmd -c 0xf8000 -n 4 -- -i --nb-cores=4 --portmask=0xf
> + --rxd=4096 --txd=4096 --txfreet=4068 --rxq=2 --txq=2 --rss-ip
> + --rss-udp

Same comment about using continuations.


> +
> +      [...]
> +
> +    EAL: PCI device 0000:84:00.0 on NUMA socket 1
> +    EAL:   probe driver: 1077:1634 rte_qede_pmd

Align the text in this section to the same level of indentation.


> +    EAL:   Not managed by a supported kernel driver, skipped
> +    EAL: PCI device 0000:84:00.1 on NUMA socket 1
> +    EAL:   probe driver: 1077:1634 rte_qede_pmd
> +    EAL:   Not managed by a supported kernel driver, skipped
> +    EAL: PCI device 0000:88:00.0 on NUMA socket 1
> +    EAL:   probe driver: 1077:1656 rte_qede_pmd
> +    EAL:   PCI memory mapped at 0x7f738b200000
> +    EAL:   PCI memory mapped at 0x7f738b280000
> +    EAL:   PCI memory mapped at 0x7f738b300000
> +    [QEDE PMD: (88:00.0:dpdk-port-0)]qed_load_firmware_data: Loading the
> firmware file /lib/firmware/qed/qed_init_values_zipped.bin...

Again, try wrap the code/console section at 80 chars in some way that still
maintains the meaning. Maybe something like the following (with a note to
say that the text has been wrapped for clarity):

    [QEDE PMD: (88:00.0:dpdk-port-0)]qed_load_firmware_data:
               Loading the firmware file
               /lib/firmware/qed/qed_init_values_zipped.bin...
    [QEDE PMD: (88:00.0:dpdk-port-0)]
               qede_print_adapter_info:Chip details - BB1
    [QEDE PMD: (88:00.0:dpdk-port-0)]
               qede_print_adapter_info:Driver version:QEDE PMD 8.7.9.0_1.0.0
    [QEDE PMD: (88:00.0:dpdk-port-0)]
               qede_print_adapter_info:Firmware version:8.7.7.0


You can test the PDF output as follows:

    make -j doc-guides-pdf
    pdf_veiwer build/doc/pdf/guides/nics.pdf

John

  reply	other threads:[~2016-02-22 16:52 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-20 15:40 [dpdk-dev] [PATCH 0/6] DPDK PMD for new QLogic FastLinQ QL4xxxx 25G/40G CNAs Harish Patil
2016-02-20 15:40 ` [dpdk-dev] [PATCH 1/6] qede: add maintainers Harish Patil
2016-02-20 15:40 ` [dpdk-dev] [PATCH 2/6] qede: add documentation Harish Patil
2016-02-22 16:52   ` Mcnamara, John [this message]
2016-02-24  7:17     ` Harish Patil
2016-02-24  9:26       ` Mcnamara, John
2016-02-22 17:38   ` Mcnamara, John
2016-02-20 15:40 ` [dpdk-dev] [PATCH 3/6] qede: add QLogic PCI ids Harish Patil
2016-02-21  1:17   ` Stephen Hemminger
2016-02-22 23:23     ` Harish Patil
2016-02-20 15:40 ` [dpdk-dev] [PATCH 5/6] qede: add driver Harish Patil
2016-02-21  1:26   ` Stephen Hemminger
2016-02-23  2:28     ` Harish Patil
2016-02-23  5:30       ` Stephen Hemminger
2016-02-23  5:33       ` Stephen Hemminger
2016-02-23 19:04         ` Harish Patil
2016-02-23 19:06           ` Harish Patil
2016-02-20 15:40 ` [dpdk-dev] [PATCH 6/6] qede: enable PMD build Harish Patil
2016-02-20 20:49 ` [dpdk-dev] [PATCH 0/6] DPDK PMD for new QLogic FastLinQ QL4xxxx 25G/40G CNAs Thomas Monjalon
2016-02-22 16:47   ` Harish Patil
2016-02-22 17:35     ` Thomas Monjalon
2016-02-23 18:13       ` Harish Patil
2016-03-08 14:01 ` Bruce Richardson
2016-03-08 14:24   ` Harish Patil
2016-03-10 17:22     ` Harish Patil

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=B27915DBBA3421428155699D51E4CFE20245E21E@IRSMSX103.ger.corp.intel.com \
    --to=john.mcnamara@intel.com \
    --cc=dev@dpdk.org \
    --cc=harish.patil@qlogic.com \
    --cc=sony.chacko@qlogic.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).