lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240229070202.107488-1-michael.chan@broadcom.com>
Date: Wed, 28 Feb 2024 23:02:00 -0800
From: Michael Chan <michael.chan@...adcom.com>
To: davem@...emloft.net
Cc: netdev@...r.kernel.org,
	edumazet@...gle.com,
	kuba@...nel.org,
	pabeni@...hat.com,
	pavan.chebbi@...adcom.com,
	andrew.gospodarek@...adcom.com,
	jiri@...nulli.us,
	richardcochran@...il.com
Subject: [PATCH net-next 0/2] bnxt_en: Support configurable PTP TX timeout

The driver needs to call firmware to retrieve the PTP hardware TX
timestamp for PTP packets.  The PTP packet is timestamped by hardware
right before packet transmission on the wire.  So there is variable
delay on when the timestamp is available.  The current fixed timeout
value of 1 msec passed to the firmware may not be long enough on
busy networks.

Add a devlink driver runtime parameter to allow the user to configure
this timeout value.  Increase the default to 1 second and allow a
maximum of 5 seconds.

Pavan Chebbi (2):
  bnxt_en: Introduce devlink runtime driver param to set ptp tx timeout
  bnxt_en: Retry for TX timestamp from FW until timeout specified

 Documentation/networking/devlink/bnxt.rst     |  7 ++++
 .../net/ethernet/broadcom/bnxt/bnxt_devlink.c | 42 +++++++++++++++++++
 drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c | 20 +++++++--
 drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.h |  7 +++-
 4 files changed, 72 insertions(+), 4 deletions(-)

-- 
2.30.1


Download attachment "smime.p7s" of type "application/pkcs7-signature" (4209 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ