DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] app: fix configuration of pause frames in testpmd
@ 2013-07-10  7:27 Ivan Boule
  2013-07-10 15:51 ` Thomas Monjalon
  0 siblings, 1 reply; 2+ messages in thread
From: Ivan Boule @ 2013-07-10  7:27 UTC (permalink / raw)
  To: dev; +Cc: Zijie Pan

From: Zijie Pan <zijie.pan@6wind.com>

The entries for the configuration of the reception and of the transmission
of pause frames are inverted in the mode conversion array.

Signed-off-by: Zijie Pan <zijie.pan@6wind.com>
Acked-by: Ivan Boule <ivan.boule@6wind.com>
---
 app/test-pmd/cmdline.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c
index 28233a6..fab5313 100644
--- a/app/test-pmd/cmdline.c
+++ b/app/test-pmd/cmdline.c
@@ -1405,7 +1405,7 @@ cmd_link_flow_ctrl_set_parsed(void *parsed_result,
 	 * the RTE_FC_RX_PAUSE, Respond to the pause frame at the Tx side.
 	 */
 	static enum rte_eth_fc_mode rx_tx_onoff_2_lfc_mode[2][2] = {
-			{RTE_FC_NONE, RTE_FC_RX_PAUSE}, {RTE_FC_TX_PAUSE, RTE_FC_FULL}
+			{RTE_FC_NONE, RTE_FC_TX_PAUSE}, {RTE_FC_RX_PAUSE, RTE_FC_FULL}
 	};
 
 	rx_fc_enable = (!strcmp(res->rx_lfc_mode, "on")) ? 1 : 0;
-- 
1.7.2.5

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-dev] [PATCH] app: fix configuration of pause frames in testpmd
  2013-07-10  7:27 [dpdk-dev] [PATCH] app: fix configuration of pause frames in testpmd Ivan Boule
@ 2013-07-10 15:51 ` Thomas Monjalon
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Monjalon @ 2013-07-10 15:51 UTC (permalink / raw)
  To: Ivan Boule, Zijie Pan; +Cc: dev

10/07/2013 09:27, Ivan Boule :
> From: Zijie Pan <zijie.pan@6wind.com>
> 
> The entries for the configuration of the reception and of the transmission
> of pause frames are inverted in the mode conversion array.
> 
> Signed-off-by: Zijie Pan <zijie.pan@6wind.com>
> Acked-by: Ivan Boule <ivan.boule@6wind.com>
> ---

applied

-- 
Thomas

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-07-10 15:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-10  7:27 [dpdk-dev] [PATCH] app: fix configuration of pause frames in testpmd Ivan Boule
2013-07-10 15:51 ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).