[dpdk-dev,v2,1/4] doc: Added new commands in testpmd UG
Commit Message
Added info in testpmd functions section for the following commands:
- tunnel_filter add
- tunnel_filter rm
- rx_vxlan_port add
- rx_vxlan_port rm
- port stop/start queue
- set port mac address filter (for VF)
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
---
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 47 +++++++++++++++++++++++++++
1 files changed, 47 insertions(+), 0 deletions(-)
Comments
> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Pablo de Lara
> Sent: Tuesday, November 18, 2014 5:05 PM
> To: dev@dpdk.org
> Subject: [dpdk-dev] [PATCH v2 1/4] doc: Added new commands in testpmd UG
>
> Added info in testpmd functions section for the following commands:
>
> - tunnel_filter add
> - tunnel_filter rm
> - rx_vxlan_port add
> - rx_vxlan_port rm
> - port stop/start queue
> - set port mac address filter (for VF)
>
> Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: Bernard Iremonger <bernard.iremonger@intel.com>
I have applied the patch to my tree next/dpdk-doc.
> ---
> doc/guides/testpmd_app_ug/testpmd_funcs.rst | 47 +++++++++++++++++++++++++++
> 1 files changed, 47 insertions(+), 0 deletions(-)
>
@@ -456,6 +456,36 @@ Set the outer VLAN TPID for packet filtering on a port:
rx_vlan set tpid (value) (port_id)
+tunnel_filter add
+~~~~~~~~~~~~~~~~~
+
+Add a tunnel filter on a port:
+
+tunnel_filter add (port_id) (outer_mac) (inner_mac) (ip_addr) (inner_vlan)
+ (tunnel_type) (filter_type) (tenant_id) (queue_id)
+
+tunnel_filter remove
+~~~~~~~~~~~~~~~~~~~~
+
+Remove a tunnel filter on a port:
+
+tunnel_filter rm (port_id) (outer_mac) (inner_mac) (ip_addr) (inner_vlan)
+ (tunnel_type) (filter_type) (tenant_id) (queue_id)
+
+rx_vxlan_port add
+~~~~~~~~~~~~~~~~~
+
+Add an UDP port for VXLAN packet filter on a port:
+
+rx_vxlan_port add (udp_port) (port_id)
+
+rx_vxlan_port remove
+~~~~~~~~~~~~~~~~~~~~
+
+Remove an UDP port for VXLAN packet filter on a port:
+
+rx_vxlan_port rm (udp_port) (port_id)
+
tx_vlan set
~~~~~~~~~~~
@@ -635,6 +665,14 @@ Set VF receive/transmit from a port:
set port (port_id) vf (vf_id) (rx|tx) (on|off)
+set port - mac address filter (for VF)
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+Add/Remove unicast or multicast MAC addr filter for a VF:
+
+set port (port_id) vf (vf_id) (mac_addr)
+ (exact-mac|exact-mac-vlan|hashmac|hashmac-vlan) (on|off)
+
set port - rx mode(for VF)
~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -1061,6 +1099,15 @@ Close all ports or a specific port:
port close (port_id|all)
+port start/stop queue
+~~~~~~~~~~~~~~~~~~~~~
+
+Start/stop a rx/tx queue on a specific port:
+
+port (port_id) (rxq|txq) (queue_id) (start|stop)
+
+Only take effect when port is started.
+
port config - speed
~~~~~~~~~~~~~~~~~~~