doc: remove invalid parameter from af_xdp example

Message ID 1562833129-4003-1-git-send-email-david.marchand@redhat.com
State Accepted, archived
Delegated to: Ferruh Yigit
Headers show
Series
  • doc: remove invalid parameter from af_xdp example
Related show

Checks

Context Check Description
ci/Intel-compilation fail Compilation issues
ci/checkpatch success coding style OK

Commit Message

David Marchand July 11, 2019, 8:18 a.m.
queue= parameter does not exist.
It might have been the previous name of the queue_count parameter, but
anyway, the default value 1 for the number of queues works fine.

Fixes: f1debd77efaf ("net/af_xdp: introduce AF_XDP PMD")
Cc: stable@dpdk.org

Signed-off-by: David Marchand <david.marchand@redhat.com>
---
 doc/guides/nics/af_xdp.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Ye Xiaolong July 11, 2019, 10:15 p.m. | #1
On 07/11, David Marchand wrote:
>queue= parameter does not exist.
>It might have been the previous name of the queue_count parameter, but
>anyway, the default value 1 for the number of queues works fine.
>
>Fixes: f1debd77efaf ("net/af_xdp: introduce AF_XDP PMD")
>Cc: stable@dpdk.org
>
>Signed-off-by: David Marchand <david.marchand@redhat.com>
>---
> doc/guides/nics/af_xdp.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/doc/guides/nics/af_xdp.rst b/doc/guides/nics/af_xdp.rst
>index c99c4c7..ec46f08 100644
>--- a/doc/guides/nics/af_xdp.rst
>+++ b/doc/guides/nics/af_xdp.rst
>@@ -56,4 +56,4 @@ The following example will set up an af_xdp interface in DPDK:
> 
> .. code-block:: console
> 
>-    --vdev net_af_xdp,iface=ens786f1,queue=0
>+    --vdev net_af_xdp,iface=ens786f1
>-- 
>1.8.3.1
>

Acked-by: Xiaolong Ye <xiaolong.ye@intel.com>

Thanks,
Xiaolong
Ferruh Yigit July 12, 2019, 1:40 p.m. | #2
On 7/11/2019 11:15 PM, Ye Xiaolong wrote:
> On 07/11, David Marchand wrote:
>> queue= parameter does not exist.
>> It might have been the previous name of the queue_count parameter, but
>> anyway, the default value 1 for the number of queues works fine.
>>
>> Fixes: f1debd77efaf ("net/af_xdp: introduce AF_XDP PMD")
>> Cc: stable@dpdk.org
>>
>> Signed-off-by: David Marchand <david.marchand@redhat.com>
>> ---
>> doc/guides/nics/af_xdp.rst | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/doc/guides/nics/af_xdp.rst b/doc/guides/nics/af_xdp.rst
>> index c99c4c7..ec46f08 100644
>> --- a/doc/guides/nics/af_xdp.rst
>> +++ b/doc/guides/nics/af_xdp.rst
>> @@ -56,4 +56,4 @@ The following example will set up an af_xdp interface in DPDK:
>>
>> .. code-block:: console
>>
>> -    --vdev net_af_xdp,iface=ens786f1,queue=0
>> +    --vdev net_af_xdp,iface=ens786f1
>> -- 
>> 1.8.3.1
>>
> 
> Acked-by: Xiaolong Ye <xiaolong.ye@intel.com>

Applied to dpdk-next-net/master, thanks.

Patch

diff --git a/doc/guides/nics/af_xdp.rst b/doc/guides/nics/af_xdp.rst
index c99c4c7..ec46f08 100644
--- a/doc/guides/nics/af_xdp.rst
+++ b/doc/guides/nics/af_xdp.rst
@@ -56,4 +56,4 @@  The following example will set up an af_xdp interface in DPDK:
 
 .. code-block:: console
 
-    --vdev net_af_xdp,iface=ens786f1,queue=0
+    --vdev net_af_xdp,iface=ens786f1