mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-30 22:50:54 -04:00
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: Ioana Ciornei <ioana.ciornei@nxp.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
committed by
Jakub Kicinski
parent
ca76334076
commit
1400208988
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user