From 3d75a287b67b9092b2820a0d7c3be218f843066b Mon Sep 17 00:00:00 2001 From: Robert Mustacchi Date: Sat, 7 Jan 2017 17:12:08 -0800 Subject: 7790 Want support for XXV710 7791 GLDv3 plumbing for 25GbE and 50GbE Reviewed by: Jerry Jelinek Reviewed by: Patrick Mooney Reviewed by: Garrett D'Amore Reviewed by: Dan McDonald Approved by: Richard Lowe --- usr/src/uts/common/sys/mac_ether.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'usr/src/uts/common/sys/mac_ether.h') diff --git a/usr/src/uts/common/sys/mac_ether.h b/usr/src/uts/common/sys/mac_ether.h index 03ec47b0a4..83be7c0657 100644 --- a/usr/src/uts/common/sys/mac_ether.h +++ b/usr/src/uts/common/sys/mac_ether.h @@ -23,6 +23,7 @@ * Use is subject to license terms. * * Copyright 2015 Garrett D'Amore + * Copyright 2016 Joyent, Inc. */ #ifndef _SYS_MAC_ETHER_H @@ -123,10 +124,18 @@ enum ether_stat { ETHER_STAT_CAP_5000FDX, ETHER_STAT_ADV_CAP_5000FDX, ETHER_STAT_LP_CAP_5000FDX, + + ETHER_STAT_CAP_25GFDX, + ETHER_STAT_ADV_CAP_25GFDX, + ETHER_STAT_LP_CAP_25GFDX, + + ETHER_STAT_CAP_50GFDX, + ETHER_STAT_ADV_CAP_50GFDX, + ETHER_STAT_LP_CAP_50GFDX, }; #define ETHER_NSTAT \ - (ETHER_STAT_LP_CAP_5000FDX - ETHER_STAT_ALIGN_ERRORS + 1) + (ETHER_STAT_LP_CAP_50GFDX - ETHER_STAT_ALIGN_ERRORS + 1) #define ETHER_STAT_ISACOUNTER(_ether_stat) \ ((_ether_stat) == ETHER_STAT_ALIGN_ERRORS || \ -- cgit v1.2.3