Print this page
11553 Want pluggable TCP congestion control algorithms
Portions contributed by: Cody Peter Mello <cody.mello@joyent.com>
Reviewed by: Dan McDonald <danmcd@joyent.com>
Reviewed by: Robert Mustacchi <robert.mustacchi@joyent.com>


   5 # Common Development and Distribution License (the "License").
   6 # You may not use this file except in compliance with the License.
   7 #
   8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9 # or http://www.opensolaris.org/os/licensing.
  10 # See the License for the specific language governing permissions
  11 # and limitations under the License.
  12 #
  13 # When distributing Covered Code, include this CDDL HEADER in each
  14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 
  22 #
  23 # Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
  24 # Copyright (c) 2013 Andrew Stormont.  All rights reserved.

  25 # Copyright 2019 Joyent, Inc.
  26 # Copyright 2016 Gary Mills
  27 # Copyright 2016 Nexenta Systems, Inc.
  28 # Copyright 2019 RackTop Systems
  29 #
  30 
  31 #
  32 #       This makefile contains the common definitions for all sparc
  33 #       implementation architecture independent modules.
  34 #
  35 
  36 #
  37 #       Define supported builds
  38 #
  39 DEF_BUILDS      = $(DEF_BUILDS64)
  40 ALL_BUILDS      = $(ALL_BUILDS64)
  41 
  42 #
  43 #       Everybody needs to know how to build modstubs.o and to locate unix.o.
  44 #       Note that unix.o must currently be selected from among the possible


 185 DEBUG_DEFS              = $(DEBUG_DEFS_$(BUILD_TYPE))
 186 
 187 DEBUG_COND_OBJ32        = $(POUND_SIGN)
 188 DEBUG_COND_DBG32        =
 189 DEBUG_COND_OBJ64        = $(POUND_SIGN)
 190 DEBUG_COND_DBG64        =
 191 IF_DEBUG_OBJ            = $(DEBUG_COND_$(BUILD_TYPE))$(OBJS_DIR)/
 192 
 193 $(IF_DEBUG_OBJ)syscall.o        :=      DEBUG_DEFS      += -DSYSCALLTRACE
 194 $(IF_DEBUG_OBJ)clock.o          :=      DEBUG_DEFS      += -DKSLICE=1
 195 
 196 # Comment these out if you don't want dispatcher lock statistics.
 197 
 198 # $(IF_DEBUG_OBJ)disp_lock.o    := DEBUG_DEFS   += -DDISP_LOCK_STATS
 199 
 200 #
 201 #       Collect the preprocessor definitions to be associated with *all*
 202 #       files.
 203 #
 204 ALL_DEFS         = $(MACHINE_DEFS) $(DEBUG_DEFS) $(OPTION_DEFS)

 205 #

 206 #





 207 #       The kernels modules which are "implementation architecture"
 208 #       specific for this machine are enumerated below. Note that most
 209 #       of these modules must exist (in one form or another) for each
 210 #       architecture.
 211 #
 212 #       Common Drivers (usually pseudo drivers) (/kernel/drv):
 213 #
 214 DRV_KMODS       += aggr arp audio bl blkdev bofi clone cn conskbd consms cpuid
 215 DRV_KMODS       += crypto cryptoadm devinfo dump
 216 DRV_KMODS       += dtrace fasttrap fbt lockstat profile sdt systrace dcpc
 217 DRV_KMODS       += fssnap icmp icmp6 ip ip6 ipnet ipsecah
 218 DRV_KMODS       += ipsecesp iptun iwscn keysock kmdb kstat ksyms llc1
 219 DRV_KMODS       += lofi
 220 DRV_KMODS       += log logindmux kssl mm nca physmem pm poll pool
 221 DRV_KMODS       += pseudo ptc ptm pts ptsl ramdisk random rsm rts sad
 222 DRV_KMODS       += simnet softmac sppp sppptun sy sysevent sysmsg
 223 DRV_KMODS       += spdsock
 224 DRV_KMODS       += tcp tcp6 timerfd tl tnf ttymux udp udp6 wc winlock zcons
 225 DRV_KMODS       += ippctl
 226 DRV_KMODS       += dld




   5 # Common Development and Distribution License (the "License").
   6 # You may not use this file except in compliance with the License.
   7 #
   8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9 # or http://www.opensolaris.org/os/licensing.
  10 # See the License for the specific language governing permissions
  11 # and limitations under the License.
  12 #
  13 # When distributing Covered Code, include this CDDL HEADER in each
  14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 
  22 #
  23 # Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
  24 # Copyright (c) 2013 Andrew Stormont.  All rights reserved.
  25 # Copyright (c) 2015, 2017 by Delphix. All rights reserved.
  26 # Copyright 2019 Joyent, Inc.
  27 # Copyright 2016 Gary Mills
  28 # Copyright 2016 Nexenta Systems, Inc.
  29 # Copyright 2019 RackTop Systems
  30 #
  31 
  32 #
  33 #       This makefile contains the common definitions for all sparc
  34 #       implementation architecture independent modules.
  35 #
  36 
  37 #
  38 #       Define supported builds
  39 #
  40 DEF_BUILDS      = $(DEF_BUILDS64)
  41 ALL_BUILDS      = $(ALL_BUILDS64)
  42 
  43 #
  44 #       Everybody needs to know how to build modstubs.o and to locate unix.o.
  45 #       Note that unix.o must currently be selected from among the possible


 186 DEBUG_DEFS              = $(DEBUG_DEFS_$(BUILD_TYPE))
 187 
 188 DEBUG_COND_OBJ32        = $(POUND_SIGN)
 189 DEBUG_COND_DBG32        =
 190 DEBUG_COND_OBJ64        = $(POUND_SIGN)
 191 DEBUG_COND_DBG64        =
 192 IF_DEBUG_OBJ            = $(DEBUG_COND_$(BUILD_TYPE))$(OBJS_DIR)/
 193 
 194 $(IF_DEBUG_OBJ)syscall.o        :=      DEBUG_DEFS      += -DSYSCALLTRACE
 195 $(IF_DEBUG_OBJ)clock.o          :=      DEBUG_DEFS      += -DKSLICE=1
 196 
 197 # Comment these out if you don't want dispatcher lock statistics.
 198 
 199 # $(IF_DEBUG_OBJ)disp_lock.o    := DEBUG_DEFS   += -DDISP_LOCK_STATS
 200 
 201 #
 202 #       Collect the preprocessor definitions to be associated with *all*
 203 #       files.
 204 #
 205 ALL_DEFS         = $(MACHINE_DEFS) $(DEBUG_DEFS) $(OPTION_DEFS)
 206 
 207 #
 208 #       TCP congestion control modules (/kernel/cc)
 209 #
 210 MISC_KMODS      += cc
 211 CC_KMODS        += cc_newreno cc_cubic cc_sunreno
 212 
 213 #
 214 #
 215 #       The kernels modules which are "implementation architecture"
 216 #       specific for this machine are enumerated below. Note that most
 217 #       of these modules must exist (in one form or another) for each
 218 #       architecture.
 219 #
 220 #       Common Drivers (usually pseudo drivers) (/kernel/drv):
 221 #
 222 DRV_KMODS       += aggr arp audio bl blkdev bofi clone cn conskbd consms cpuid
 223 DRV_KMODS       += crypto cryptoadm devinfo dump
 224 DRV_KMODS       += dtrace fasttrap fbt lockstat profile sdt systrace dcpc
 225 DRV_KMODS       += fssnap icmp icmp6 ip ip6 ipnet ipsecah
 226 DRV_KMODS       += ipsecesp iptun iwscn keysock kmdb kstat ksyms llc1
 227 DRV_KMODS       += lofi
 228 DRV_KMODS       += log logindmux kssl mm nca physmem pm poll pool
 229 DRV_KMODS       += pseudo ptc ptm pts ptsl ramdisk random rsm rts sad
 230 DRV_KMODS       += simnet softmac sppp sppptun sy sysevent sysmsg
 231 DRV_KMODS       += spdsock
 232 DRV_KMODS       += tcp tcp6 timerfd tl tnf ttymux udp udp6 wc winlock zcons
 233 DRV_KMODS       += ippctl
 234 DRV_KMODS       += dld