Date: Wed, 12 Dec 2018 10:24:44 +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: r341862 - stable/11/sys/ofed/drivers/infiniband/core Message-ID: <201812121024.wBCAOiN4013435@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: hselasky Date: Wed Dec 12 10:24:43 2018 New Revision: 341862 URL: https://svnweb.freebsd.org/changeset/base/341862 Log: MFC r341524: ibcore: Add support for IB_SPEED_HDR in sysfs rate printout. Sponsored by: Mellanox Technologies Modified: stable/11/sys/ofed/drivers/infiniband/core/ib_sysfs.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/ofed/drivers/infiniband/core/ib_sysfs.c ============================================================================== --- stable/11/sys/ofed/drivers/infiniband/core/ib_sysfs.c Wed Dec 12 10:23:49 2018 (r341861) +++ stable/11/sys/ofed/drivers/infiniband/core/ib_sysfs.c Wed Dec 12 10:24:43 2018 (r341862) @@ -258,8 +258,13 @@ static ssize_t rate_show(struct ib_port *p, struct por speed = " EDR"; rate = 250; break; + case IB_SPEED_HDR: + speed = " HDR"; + rate = 500; + break; case IB_SPEED_SDR: default: /* default to SDR for invalid rates */ + speed = " SDR"; rate = 25; break; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812121024.wBCAOiN4013435>