From: Ouyang Changchun Date: Tue, 7 Oct 2014 08:12:04 +0000 (+0200) Subject: ixgbe/base: fix flow control comment X-Git-Tag: spdx-start~10363 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=c2a4a29795995a270a0c5d4ae97877eece4ed28d;p=dpdk.git ixgbe/base: fix flow control comment Signed-off-by: Changchun Ouyang [Thomas: split patch] --- diff --git a/lib/librte_pmd_ixgbe/ixgbe/ixgbe_common.c b/lib/librte_pmd_ixgbe/ixgbe/ixgbe_common.c index 1f609b953a..e017822e72 100644 --- a/lib/librte_pmd_ixgbe/ixgbe/ixgbe_common.c +++ b/lib/librte_pmd_ixgbe/ixgbe/ixgbe_common.c @@ -213,10 +213,7 @@ STATIC s32 ixgbe_setup_fc(struct ixgbe_hw *hw) DEBUGFUNC("ixgbe_setup_fc"); - /* - * Validate the requested mode. Strict IEEE mode does not allow - * ixgbe_fc_rx_pause because it will cause us to fail at UNH. - */ + /* Validate the requested mode */ if (hw->fc.strict_ieee && hw->fc.requested_mode == ixgbe_fc_rx_pause) { ERROR_REPORT1(IXGBE_ERROR_UNSUPPORTED, "ixgbe_fc_rx_pause not valid in strict IEEE mode\n");