Commit 14002089 authored by Ioana Ciornei's avatar Ioana Ciornei Committed by Jakub Kicinski
Browse files

dpaa2-mac: remove a comment regarding pause settings



The MC firmware takes these PAUSE/ASYM_PAUSE flags provided by the
driver, transforms them back into rx/tx pause enablement status and
applies them to hardware. We are not losing information by this
transformation, thus remove the comment.

Signed-off-by: default avatarIoana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent ca763340
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -181,9 +181,6 @@ static void dpaa2_mac_link_up(struct phylink_config *config,
	else if (duplex == DUPLEX_FULL)
		dpmac_state->options &= ~DPMAC_LINK_OPT_HALF_DUPLEX;

	/* This is lossy; the firmware really should take the pause
	 * enablement status rather than pause/asym pause status.
	 */
	if (rx_pause)
		dpmac_state->options |= DPMAC_LINK_OPT_PAUSE;
	else