Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Aug 2018 08:48:27 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r337109 - stable/11/sys/dev/mlx5/mlx5_en
Message-ID:  <201808020848.w728mRYm056706@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hselasky
Date: Thu Aug  2 08:48:27 2018
New Revision: 337109
URL: https://svnweb.freebsd.org/changeset/base/337109

Log:
  MFC r336404:
  Enable both receive and transmit pauseframes by default in mlx5en(4).
  
  Sponsored by:		Mellanox Technologies

Modified:
  stable/11/sys/dev/mlx5/mlx5_en/mlx5_en_main.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/dev/mlx5/mlx5_en/mlx5_en_main.c
==============================================================================
--- stable/11/sys/dev/mlx5/mlx5_en/mlx5_en_main.c	Thu Aug  2 08:47:24 2018	(r337108)
+++ stable/11/sys/dev/mlx5/mlx5_en/mlx5_en_main.c	Thu Aug  2 08:48:27 2018	(r337109)
@@ -3252,8 +3252,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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808020848.w728mRYm056706>