Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Mar 2019 19:18:11 +0000 (UTC)
From:      Navdeep Parhar <np@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r345591 - stable/12/sys/dev/cxgbe
Message-ID:  <201903271918.x2RJIBA7065455@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: np
Date: Wed Mar 27 19:18:10 2019
New Revision: 345591
URL: https://svnweb.freebsd.org/changeset/base/345591

Log:
  MFC r339700:
  
  cxgbe(4): new sysctl to display the start of the RSS region for a VI.
  
  dev.<ifname>.<inst>.rss_base
  
  For example:
  dev.cc.0.rss_base: 0
  dev.cc.1.rss_base: 128
  dev.vcc.0.rss_base: 256
  dev.vcc.1.rss_base: 384
  
  Sponsored by:	Chelsio Communications

Modified:
  stable/12/sys/dev/cxgbe/t4_main.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/dev/cxgbe/t4_main.c
==============================================================================
--- stable/12/sys/dev/cxgbe/t4_main.c	Wed Mar 27 19:17:42 2019	(r345590)
+++ stable/12/sys/dev/cxgbe/t4_main.c	Wed Mar 27 19:18:10 2019	(r345591)
@@ -6199,6 +6199,8 @@ vi_sysctls(struct vi_info *vi)
 	    &vi->first_rxq, 0, "index of first rx queue");
 	SYSCTL_ADD_INT(ctx, children, OID_AUTO, "first_txq", CTLFLAG_RD,
 	    &vi->first_txq, 0, "index of first tx queue");
+	SYSCTL_ADD_UINT(ctx, children, OID_AUTO, "rss_base", CTLFLAG_RD, NULL,
+	    vi->rss_base, "start of RSS indirection table");
 	SYSCTL_ADD_UINT(ctx, children, OID_AUTO, "rss_size", CTLFLAG_RD, NULL,
 	    vi->rss_size, "size of RSS indirection table");
 



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