Thread (120 messages) read the whole thread 120 messages, 7 authors, 2016-06-07

Re: [PATCH v2 2/5] EAL: Add new EAL "--qtest-virtio" option

From: Tan, Jianfeng <hidden>
Date: 2016-02-16 11:37:01

Hi David,

On 2/16/2016 1:53 PM, David Marchand wrote:
On Wed, Feb 10, 2016 at 4:40 AM, Tetsuya Mukawa [off-list ref] wrote:
quoted
To work with qtest virtio-net PMD, virtual address that maps hugepages
should be between (1 << 31) to (1 << 44). This patch adds one more option
to map like this. Also all hugepages should consists of one file.
Because of this, the option will work only when '--single-file' option is
specified.
This patch is pure virtio stuff.
Please, rework this so that we have a generic api in eal (asking for a
free region could be of use for something else).
Then you can call this api from virtio pmd.

If you need to pass options to virtio pmd, add some devargs for it.
Seems it's hard to slip this option into --vdev="eth_qtest_virtio0..." 
from my side because memory initialization happens before vdev option is 
parsed.

Can we make use of "--base-virtaddr" achieve the function of this option?

Thanks,
Jianfeng
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help