From: Damien Millescamps <damien.millescamps-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
To: dev-VfR2kkLFssw@public.gmane.org
Subject: Re: [vmxnet3 PATCH] doc: describe kernel dependency and --vmware-tsc-map
Date: Fri, 26 Jul 2013 11:01:18 +0200 [thread overview]
Message-ID: <51F23ADE.9070104@6wind.com> (raw)
In-Reply-To: <1374784721-18184-1-git-send-email-thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
On 07/25/2013 10:38 PM, Thomas Monjalon wrote:
> Be more verbose on kernel dependency about version and parameters.
> And add description of DPDK parameter for VMware.
>
> Signed-off-by: Thomas Monjalon <thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
> ---
> README.rst | 17 ++++++++++++-----
> 1 file changed, 12 insertions(+), 5 deletions(-)
>
> diff --git a/README.rst b/README.rst
> index 55436a4..c718ec7 100644
> --- a/README.rst
> +++ b/README.rst
> @@ -49,6 +49,9 @@ HOW TO BUILD
>
> There are two build dependencies: Linux kernel headers and DPDK >= 1.2.3r3.
>
> +The kernel driver is based on vmxnet3-8.6.10 from VMware ESXi-5.0.0u2.
> +So the latest supported Linux version is 3.2.
> +
> DPDK must be built first in order to have all its header files in the same
> directory, that RTE_INCLUDE must point to.
>
> @@ -93,15 +96,19 @@ Other parameters have a global effect:
> - ``num_rxds=int``: number of RX descriptors per queue
> - ``num_txds=int``: number of TX descriptors per queue
>
> +Because the kernel module initializes interfaces, **it's very important that
> +DPDK parameters match kernel ones**. It won't work otherwise.
> +
> For more information, use ``modinfo vmxnet3-usermap.ko``.
>
> -The values of the kernel module parameters must match the DPDK ones.
> +In userland, librte_pmd_vmxnet3.so must be loaded by the DPDK using the ``-d``
> +option.
>
> -Because the kernel module initializes interfaces, it's very important that
> -DPDK parameters match kernel ones. It won't work otherwise.
> +Another interesting option is ``--vmware-tsc-map``.
> +It allows VMware TSC mapping which provides an access to physical TSC.
> +When this option is used, take care of setting this ESXi parameter::
>
> -In userland, librte_pmd_vmxnet3.so must be loaded by the DPDK using the "-d"
> -option.
> + monitor_control.pseudo_perfctr = TRUE
>
> ``testpmd`` example for two ports, matching the ``insmod`` command above::
>
ack
next prev parent reply other threads:[~2013-07-26 9:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-25 20:38 [vmxnet3 PATCH] doc: describe kernel dependency and --vmware-tsc-map Thomas Monjalon
[not found] ` <1374784721-18184-1-git-send-email-thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2013-07-26 9:01 ` Damien Millescamps [this message]
[not found] ` <51F23ADE.9070104-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2013-07-26 9:07 ` Thomas Monjalon
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=51F23ADE.9070104@6wind.com \
--to=damien.millescamps-pdr9zngts4eavxtiumwx3w@public.gmane.org \
--cc=dev-VfR2kkLFssw@public.gmane.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.