Skip to content
Permalink
Browse files

8699 Want NIC transceiver visibility

8700 ixgbe MAC_CAPAB_TRANSCEIVER support
8701 i40e MAC_CAPAB_TRANSCEIVER support
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Ryan Zezeski <ryan.zeseski@joyent.com>
Reviewed by: Yuri Pankov <yuripv@gmx.com>
Reviewed by: Toomas Soome <tsoome@me.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
  • Loading branch information
rmustacc committed Sep 21, 2017
1 parent 4213c2d commit 45d3dd981abb9025d8ac994cf4cc8ce8cb1a9480
Showing with 8,300 additions and 44 deletions.
  1. +1 −0 exception_lists/copyright
  2. +12 −0 exception_lists/packaging
  3. +2 −1 usr/src/cmd/Makefile
  4. +42 −0 usr/src/cmd/dlutil/Makefile
  5. +458 −0 usr/src/cmd/dlutil/dltraninfo.c
  6. +4 −1 usr/src/lib/Makefile
  7. +4 −1 usr/src/lib/fm/topo/libtopo/common/hc.c
  8. +17 −1 usr/src/lib/fm/topo/libtopo/common/topo_hc.h
  9. +4 −1 usr/src/lib/fm/topo/modules/Makefile.plugin
  10. +2 −0 usr/src/lib/fm/topo/modules/common/Makefile
  11. +26 −0 usr/src/lib/fm/topo/modules/common/nic/Makefile
  12. +241 −0 usr/src/lib/fm/topo/modules/common/nic/topo_nic.c
  13. +34 −0 usr/src/lib/fm/topo/modules/common/nic/topo_nic.h
  14. +43 −29 usr/src/lib/fm/topo/modules/common/pcibus/pcibus.c
  15. +130 −0 usr/src/lib/fm/topo/modules/common/shared/topo_port.c
  16. +36 −0 usr/src/lib/fm/topo/modules/common/shared/topo_port.h
  17. +185 −0 usr/src/lib/fm/topo/modules/common/shared/topo_transceiver.c
  18. +37 −0 usr/src/lib/fm/topo/modules/common/shared/topo_transceiver.h
  19. +3 −1 usr/src/lib/fm/topo/modules/i86pc/pcibus/Makefile
  20. +2 −1 usr/src/lib/fm/topo/modules/sun4/pcibus/Makefile.pci
  21. +44 −0 usr/src/lib/libsff/Makefile
  22. +34 −0 usr/src/lib/libsff/Makefile.com
  23. +19 −0 usr/src/lib/libsff/amd64/Makefile
  24. +1,414 −0 usr/src/lib/libsff/common/libsff.c
  25. +101 −0 usr/src/lib/libsff/common/libsff.h
  26. +19 −0 usr/src/lib/libsff/common/llib-lsff
  27. +37 −0 usr/src/lib/libsff/common/mapfile-vers
  28. +221 −0 usr/src/lib/libsff/common/sff.h
  29. +18 −0 usr/src/lib/libsff/i386/Makefile
  30. +18 −0 usr/src/lib/libsff/sparc/Makefile
  31. +6 −0 usr/src/man/man9e/Makefile
  32. +407 −0 usr/src/man/man9e/mac_capab_transceiver.9e
  33. +7 −0 usr/src/man/man9f/Makefile
  34. +95 −0 usr/src/man/man9f/mac_transceiver_info.9f
  35. +1 −0 usr/src/pkg/manifests/service-fault-management.mf
  36. +3 −0 usr/src/pkg/manifests/system-kernel.man9e.inc
  37. +5 −0 usr/src/pkg/manifests/system-kernel.man9f.inc
  38. +2 −0 usr/src/pkg/manifests/system-library.mf
  39. +2 −0 usr/src/pkg/manifests/system-network.mf
  40. +31 −0 usr/src/pkg/manifests/system-test-utiltest.mf
  41. +1 −0 usr/src/test/util-tests/runfiles/default.run
  42. +1 −1 usr/src/test/util-tests/tests/Makefile
  43. +88 −0 usr/src/test/util-tests/tests/libsff/Makefile
  44. +61 −0 usr/src/test/util-tests/tests/libsff/libsff.ksh
  45. +61 −0 usr/src/test/util-tests/tests/libsff/libsff_8472.c
  46. +255 −0 usr/src/test/util-tests/tests/libsff/libsff_8472.out
  47. +61 −0 usr/src/test/util-tests/tests/libsff/libsff_8636_diag.c
  48. +2 −0 usr/src/test/util-tests/tests/libsff/libsff_8636_diag.out
  49. +62 −0 usr/src/test/util-tests/tests/libsff/libsff_8636_extspec.c
  50. +255 −0 usr/src/test/util-tests/tests/libsff/libsff_8636_extspec.out
  51. +79 −0 usr/src/test/util-tests/tests/libsff/libsff_8636_tech.c
  52. +96 −0 usr/src/test/util-tests/tests/libsff/libsff_8636_tech.out
  53. +61 −0 usr/src/test/util-tests/tests/libsff/libsff_8636_temp.c
  54. +255 −0 usr/src/test/util-tests/tests/libsff/libsff_8636_temp.out
  55. +133 −0 usr/src/test/util-tests/tests/libsff/libsff_br.c
  56. +8 −0 usr/src/test/util-tests/tests/libsff/libsff_br.out
  57. +124 −0 usr/src/test/util-tests/tests/libsff/libsff_compliance.c
  58. +130 −0 usr/src/test/util-tests/tests/libsff/libsff_compliance.out
  59. +89 −0 usr/src/test/util-tests/tests/libsff/libsff_conn.c
  60. +514 −0 usr/src/test/util-tests/tests/libsff/libsff_conn.out
  61. +54 −0 usr/src/test/util-tests/tests/libsff/libsff_efault.c
  62. +88 −0 usr/src/test/util-tests/tests/libsff/libsff_einval.c
  63. +89 −0 usr/src/test/util-tests/tests/libsff/libsff_enc.c
  64. +514 −0 usr/src/test/util-tests/tests/libsff/libsff_enc.out
  65. +60 −0 usr/src/test/util-tests/tests/libsff/libsff_ident.c
  66. +255 −0 usr/src/test/util-tests/tests/libsff/libsff_ident.out
  67. +133 −0 usr/src/test/util-tests/tests/libsff/libsff_lengths.c
  68. +15 −0 usr/src/test/util-tests/tests/libsff/libsff_lengths.out
  69. +98 −0 usr/src/test/util-tests/tests/libsff/libsff_opts.c
  70. +50 −0 usr/src/test/util-tests/tests/libsff/libsff_opts.out
  71. +133 −0 usr/src/test/util-tests/tests/libsff/libsff_strings.c
  72. +177 −0 usr/src/test/util-tests/tests/libsff/libsff_wave.c
  73. +11 −0 usr/src/test/util-tests/tests/libsff/libsff_wave.out
  74. +3 −2 usr/src/uts/common/Makefile.files
  75. +102 −0 usr/src/uts/common/io/dld/dld_drv.c
  76. +41 −0 usr/src/uts/common/io/i40e/i40e_gld.c
  77. +15 −0 usr/src/uts/common/io/ixgbe/ixgbe_gld.c
  78. +2 −1 usr/src/uts/common/io/ixgbe/ixgbe_main.c
  79. +4 −0 usr/src/uts/common/io/ixgbe/ixgbe_sw.h
  80. +169 −0 usr/src/uts/common/io/ixgbe/ixgbe_transceiver.c
  81. +103 −1 usr/src/uts/common/io/mac/mac.c
  82. +16 −0 usr/src/uts/common/io/mac/mac_provider.c
  83. +23 −1 usr/src/uts/common/sys/dld.h
  84. +19 −1 usr/src/uts/common/sys/mac_impl.h
  85. +23 −1 usr/src/uts/common/sys/mac_provider.h
@@ -385,6 +385,7 @@ usr/src/lib/libsmbfs/smb/spnegoparse.[ch]
usr/src/test/util-tests/tests/dis/*/*.out
usr/src/test/util-tests/tests/grep_xpg4/files/gout*
usr/src/test/util-tests/tests/grep_xpg4/files/test*
usr/src/test/util-tests/tests/libsff/*.out
usr/src/test/zfs-tests/tests/functional/history/*Z
usr/src/test/zfs-tests/tests/functional/history/*txt
usr/src/tools/btxld/btx.h
@@ -1000,3 +1000,15 @@ usr/lib/sparcv9/libficl-sys.so sparc
usr/lib/llib-lficl-sys
usr/lib/llib-lficl-sys.ln
usr/lib/libficl-sys.so

#
# libsff is private
#
usr/include/libsff.h
usr/lib/amd64/libsff.so i386
usr/lib/amd64/llib-lsff.ln i386
usr/lib/sparcv9/libsff.so sparc
usr/lib/sparcv9/llib-lsff.ln sparc
usr/lib/libsff.so
usr/lib/llib-lsff
usr/lib/llib-lsff.ln
@@ -21,7 +21,7 @@

#
# Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
# Copyright 2016 Joyent, Inc.
# Copyright (c) 2017, Joyent, Inc.
# Copyright (c) 2012 by Delphix. All rights reserved.
# Copyright (c) 2013 DEY Storage Systems, Inc. All rights reserved.
# Copyright 2014 Garrett D'Amore <garrett@damore.org>
@@ -131,6 +131,7 @@ COMMON_SUBDIRS= \
dispadmin \
dladm \
dlstat \
dlutil \
dmesg \
dodatadm \
dtrace \
@@ -0,0 +1,42 @@
#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source. A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#

#
# Copyright (c) 2017, Joyent, Inc.
#

PROG= dltraninfo
LINTPROGS= $(PROG:%=%.ln)

include ../Makefile.cmd

ROOTCMDDIR = $(ROOTLIB)/dl
CFLAGS += $(CCVERBOSE)

dltraninfo := LDLIBS += -ldladm -lsff -lnvpair
dltraninfo.ln := LDLIBS += -ldladm -lsff -lnvpair

ROOTLIBDLFILES = $(PROG:%=$(ROOTLIB)/dl/%)

.KEEP_STATE:

all: $(PROG)

install: all $(ROOTCMD)

clean:

%.ln: %.c
$(LINT.c) $< $(LDLIBS)

lint: $(LINTPROGS)

include ../Makefile.targ

0 comments on commit 45d3dd9

Please sign in to comment.
You can’t perform that action at this time.