Enable both receive and transmit pauseframes by default in mlx5en(4).

MFC after:		1 week
Sponsored by:		Mellanox Technologies
This commit is contained in:
Hans Petter Selasky 2018-07-17 11:21:02 +00:00
parent f2b4782c81
commit f8c3349737

View File

@ -3367,8 +3367,8 @@ mlx5e_setup_pauseframes(struct mlx5e_priv *priv)
char path[96];
int error;
/* Only receiving pauseframes is enabled by default */
priv->params.tx_pauseframe_control = 0;
/* enable pauseframes by default */
priv->params.tx_pauseframe_control = 1;
priv->params.rx_pauseframe_control = 1;
/* disable ports flow control, PFC, by default */