doc: remove useless Rx configuration in l2fwd guide
Update doc the match with code. Fixes: 81f7ecd9 ("examples: use factorized default Rx/Tx configuration") Cc: stable@dpdk.org Signed-off-by: Bao-Long Tran <longtb5@viettel.com.vn>
This commit is contained in:
parent
a1d9307b2c
commit
a0fbab25b7
@ -281,18 +281,6 @@ The list of queues that must be polled for a given lcore is stored in a private
|
|||||||
The values n_rx_port and rx_port_list[] are used in the main packet processing loop
|
The values n_rx_port and rx_port_list[] are used in the main packet processing loop
|
||||||
(see :ref:`l2_fwd_app_rx_tx_packets`).
|
(see :ref:`l2_fwd_app_rx_tx_packets`).
|
||||||
|
|
||||||
The global configuration for the RX queues is stored in a static structure:
|
|
||||||
|
|
||||||
.. code-block:: c
|
|
||||||
|
|
||||||
static const struct rte_eth_rxconf rx_conf = {
|
|
||||||
.rx_thresh = {
|
|
||||||
.pthresh = RX_PTHRESH,
|
|
||||||
.hthresh = RX_HTHRESH,
|
|
||||||
.wthresh = RX_WTHRESH,
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
.. _l2_fwd_app_tx_init:
|
.. _l2_fwd_app_tx_init:
|
||||||
|
|
||||||
TX Queue Initialization
|
TX Queue Initialization
|
||||||
|
Loading…
x
Reference in New Issue
Block a user