git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test/crypto: remove QAT specific check
[dpdk.git]
/
doc
/
guides
/
sample_app_ug
/
vmdq_dcb_forwarding.rst
diff --git
a/doc/guides/sample_app_ug/vmdq_dcb_forwarding.rst
b/doc/guides/sample_app_ug/vmdq_dcb_forwarding.rst
index
83fcdf6
..
8e1774d
100644
(file)
--- a/
doc/guides/sample_app_ug/vmdq_dcb_forwarding.rst
+++ b/
doc/guides/sample_app_ug/vmdq_dcb_forwarding.rst
@@
-68,7
+68,7
@@
The application is located in the ``vmdq_dcb`` sub-directory.
Running the Application
-----------------------
Running the Application
-----------------------
-To run the example in a linux
app
environment:
+To run the example in a linux environment:
.. code-block:: console
.. code-block:: console
@@
-102,10
+102,6
@@
a default structure is provided for VMDQ and DCB configuration to be filled in l
.rxmode = {
.mq_mode = ETH_MQ_RX_VMDQ_DCB,
.split_hdr_size = 0,
.rxmode = {
.mq_mode = ETH_MQ_RX_VMDQ_DCB,
.split_hdr_size = 0,
- .header_split = 0, /**< Header Split disabled */
- .hw_ip_checksum = 0, /**< IP checksum offload disabled */
- .hw_vlan_filter = 0, /**< VLAN filtering disabled */
- .jumbo_frame = 0, /**< Jumbo Frame Support disabled */
},
.txmode = {
.mq_mode = ETH_MQ_TX_VMDQ_DCB,
},
.txmode = {
.mq_mode = ETH_MQ_TX_VMDQ_DCB,
@@
-169,7
+165,7
@@
the MAC of VMDQ pool 2 on port 1 is 52:54:00:12:01:02.
};
/* pool mac addr template, pool mac addr is like: 52 54 00 12 port# pool# */
};
/* pool mac addr template, pool mac addr is like: 52 54 00 12 port# pool# */
- static struct ether_addr pool_addr_template = {
+ static struct
rte_
ether_addr pool_addr_template = {
.addr_bytes = {0x52, 0x54, 0x00, 0x12, 0x00, 0x00}
};
.addr_bytes = {0x52, 0x54, 0x00, 0x12, 0x00, 0x00}
};
@@
-229,7
+225,7
@@
the MAC of VMDQ pool 2 on port 1 is 52:54:00:12:01:02.
/* Set mac for each pool.*/
for (q = 0; q < num_pools; q++) {
/* Set mac for each pool.*/
for (q = 0; q < num_pools; q++) {
- struct ether_addr mac;
+ struct
rte_
ether_addr mac;
mac = pool_addr_template;
mac.addr_bytes[4] = port;
mac.addr_bytes[5] = q;
mac = pool_addr_template;
mac.addr_bytes[4] = port;
mac.addr_bytes[5] = q;
@@
-254,7
+250,7
@@
See :doc:`l2_forward_real_virtual` for more information.
Statistics Display
~~~~~~~~~~~~~~~~~~
Statistics Display
~~~~~~~~~~~~~~~~~~
-When run in a linux
app
environment,
+When run in a linux environment,
the VMDQ and DCB Forwarding sample application can display statistics showing the number of packets read from each RX queue.
This is provided by way of a signal handler for the SIGHUP signal,
which simply prints to standard output the packet counts in grid form.
the VMDQ and DCB Forwarding sample application can display statistics showing the number of packets read from each RX queue.
This is provided by way of a signal handler for the SIGHUP signal,
which simply prints to standard output the packet counts in grid form.