Author: np
Date: Fri Jul  8 18:13:23 2016
New Revision: 302440
URL: https://svnweb.freebsd.org/changeset/base/302440

Log:
  cxgbe(4): Add sysctl to display the RSS indirection table size for an
  interface.
  
  dev.cxl.<n>.rss_size
  dev.vcxl.<n>.rss_size
  
  MFC after:    3 days

Modified:
  head/sys/dev/cxgbe/t4_main.c

Modified: head/sys/dev/cxgbe/t4_main.c
==============================================================================
--- head/sys/dev/cxgbe/t4_main.c        Fri Jul  8 17:04:21 2016        
(r302439)
+++ head/sys/dev/cxgbe/t4_main.c        Fri Jul  8 18:13:23 2016        
(r302440)
@@ -4870,6 +4870,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_size", CTLFLAG_RD, NULL,
+           vi->rss_size, "size of RSS indirection table");
 
        if (IS_MAIN_VI(vi)) {
                SYSCTL_ADD_PROC(ctx, children, OID_AUTO, "rsrv_noflowq",
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to