jtl
62030781cd
In the TCP stack, the hhook(9) framework provides hooks for kernel modules
...
to add actions that run when a TCP frame is sent or received on a TCP
session in the ESTABLISHED state. In the base tree, this functionality is
only used for the h_ertt module, which is used by the cc_cdg, cc_chd, cc_hd,
and cc_vegas congestion control modules.
Presently, we incur overhead to check for hooks each time a TCP frame is
sent or received on an ESTABLISHED TCP session.
This change adds a new compile-time option (TCP_HHOOK) to determine whether
to include the hhook(9) framework for TCP. To retain backwards
compatibility, I added the TCP_HHOOK option to every configuration file that
already defined "options INET". (Therefore, this patch introduces no
functional change. In order to see a functional difference, you need to
compile a custom kernel without the TCP_HHOOK option.) This change will
allow users to easily exclude this functionality from their kernel, should
they wish to do so.
Note that any users who use a custom kernel configuration and use one of the
congestion control modules listed above will need to add the TCP_HHOOK
option to their kernel configuration.
Reviewed by: rrs, lstewart, hiren (previous version), sjg (makefiles only)
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D8185
2016-10-12 02:16:42 +00:00
..
2014-08-04 22:34:12 +00:00
2014-08-04 22:34:12 +00:00
2016-04-27 19:38:24 +00:00
2015-07-04 08:16:32 +00:00
2015-07-03 01:50:26 +00:00
2015-12-08 20:05:27 +00:00
2016-06-29 22:39:22 +00:00
2014-08-04 22:34:12 +00:00
2015-08-19 02:37:30 +00:00
2014-08-04 22:37:02 +00:00
2014-08-04 22:37:02 +00:00
2015-08-22 07:32:47 +00:00
2016-06-02 00:51:36 +00:00
2014-08-31 21:18:23 +00:00
2014-09-22 20:53:17 +00:00
2016-09-24 04:08:16 +00:00
2015-01-05 12:28:22 +00:00
2016-10-11 22:32:12 +00:00
2016-06-08 20:01:10 +00:00
2016-05-10 02:35:13 +00:00
2016-07-22 06:21:03 +00:00
2015-01-14 05:41:28 +00:00
2014-08-04 22:37:02 +00:00
2015-01-14 05:41:28 +00:00
2016-10-12 02:16:42 +00:00
2015-01-03 03:35:18 +00:00
2016-08-10 21:02:41 +00:00
2016-09-22 12:08:26 +00:00
2016-08-29 07:48:35 +00:00
2016-05-29 01:15:36 +00:00
2015-11-22 02:01:01 +00:00
2015-10-05 08:57:16 +00:00
2014-05-23 08:46:28 +00:00
2015-10-29 08:28:39 +00:00
2016-09-16 00:08:37 +00:00
2015-02-18 15:25:22 +00:00
2015-01-03 22:36:18 +00:00
2016-03-08 20:33:02 +00:00
2016-10-10 04:53:15 +00:00
2016-08-11 13:42:31 +00:00
2016-06-10 00:00:25 +00:00
2015-02-18 15:25:22 +00:00
2016-10-11 22:24:30 +00:00
2015-06-17 18:50:57 +00:00
2014-08-04 22:37:02 +00:00
2015-02-18 15:25:22 +00:00
2016-10-02 03:20:31 +00:00
2016-03-17 19:28:15 +00:00
2014-08-04 22:37:02 +00:00
2014-09-25 20:40:24 +00:00
2016-02-24 22:30:22 +00:00
2014-08-04 22:37:02 +00:00
2016-07-21 23:49:26 +00:00
2016-05-28 00:22:39 +00:00
2014-08-04 22:37:02 +00:00
2015-10-23 21:09:28 +00:00
2016-09-30 06:49:39 +00:00
2016-07-28 13:21:45 +00:00
2015-10-29 08:28:39 +00:00
2014-08-04 22:37:02 +00:00
2014-08-04 22:37:02 +00:00
2015-11-25 07:31:59 +00:00
2016-01-14 17:44:45 +00:00
2015-06-06 12:44:42 +00:00
2014-08-04 22:37:02 +00:00
2015-06-06 12:44:42 +00:00
2015-07-30 10:26:43 +00:00
2014-08-04 22:37:02 +00:00
2014-08-04 22:37:02 +00:00
2015-06-14 03:14:45 +00:00
2016-05-03 22:01:48 +00:00
2014-05-16 21:56:33 +00:00
2016-05-25 07:09:54 +00:00
2014-08-04 22:37:02 +00:00
2014-08-04 22:37:02 +00:00
2014-08-04 22:37:02 +00:00
2015-01-03 03:35:18 +00:00
2016-08-13 15:41:04 +00:00
2016-08-13 16:09:49 +00:00
2016-07-18 19:46:31 +00:00
2015-11-22 23:07:07 +00:00
2015-01-03 03:35:18 +00:00
2016-05-27 11:37:56 +00:00
2016-05-26 09:49:29 +00:00
2015-11-30 21:55:35 +00:00
2016-06-02 04:42:45 +00:00
2016-07-25 23:05:25 +00:00
2014-08-28 00:05:02 +00:00
2016-02-11 16:16:10 +00:00
2016-08-07 18:12:36 +00:00
2016-08-07 18:12:36 +00:00
2016-02-11 16:16:10 +00:00
2014-11-22 20:31:20 +00:00
2016-04-21 19:25:33 +00:00
2015-07-03 01:50:26 +00:00
2015-07-03 01:50:26 +00:00
2016-10-12 02:16:42 +00:00
2014-08-04 22:37:02 +00:00
2015-07-03 01:50:26 +00:00
2015-07-03 01:50:26 +00:00
2016-01-09 16:08:22 +00:00
2016-01-09 16:08:22 +00:00
2016-07-17 15:23:32 +00:00
2016-07-27 20:45:00 +00:00
2016-07-17 15:23:32 +00:00
2015-10-29 08:28:39 +00:00
2014-11-18 17:06:54 +00:00
2016-03-09 19:36:25 +00:00
2015-12-26 02:31:39 +00:00
2016-09-30 08:23:06 +00:00
2016-09-30 08:23:06 +00:00
2016-09-30 08:23:06 +00:00
2016-07-27 20:44:53 +00:00
2016-08-08 16:22:16 +00:00
2015-01-03 03:35:18 +00:00
2015-01-03 03:35:18 +00:00
2014-12-21 02:35:22 +00:00
2015-10-29 08:28:39 +00:00
2015-07-03 01:50:26 +00:00
2015-07-03 01:50:26 +00:00
2015-07-03 01:50:26 +00:00
2014-10-02 18:45:00 +00:00
2016-03-31 04:57:38 +00:00
2014-08-16 14:30:46 +00:00
2016-08-01 12:09:04 +00:00
2014-10-06 14:39:45 +00:00
2014-08-04 22:37:02 +00:00
2014-08-04 22:37:02 +00:00
2016-08-18 10:39:00 +00:00
2015-01-03 03:35:18 +00:00
2015-06-05 20:38:22 +00:00
2016-09-24 21:40:14 +00:00
2015-10-01 05:56:38 +00:00
2015-09-26 07:08:35 +00:00
2015-08-27 23:33:38 +00:00
2014-10-30 21:21:53 +00:00
2014-08-04 22:37:02 +00:00
2014-08-04 22:37:02 +00:00
2016-03-30 23:50:23 +00:00
2016-03-30 23:50:23 +00:00
2015-07-23 05:26:09 +00:00
2014-07-07 00:27:09 +00:00
2015-07-03 01:50:26 +00:00
2016-01-09 18:02:08 +00:00
2015-07-03 01:50:26 +00:00
2014-10-16 20:13:16 +00:00
2015-06-30 20:59:07 +00:00
2014-10-16 20:13:16 +00:00
2015-08-17 07:36:12 +00:00
2015-08-17 07:36:12 +00:00
2015-08-17 07:36:12 +00:00
2015-08-18 21:05:56 +00:00
2015-10-29 08:28:39 +00:00
2014-10-30 21:21:53 +00:00
2015-12-27 17:12:54 +00:00
2016-10-03 01:08:34 +00:00
2015-12-31 23:48:07 +00:00
2015-12-31 22:33:32 +00:00
2015-07-03 01:50:26 +00:00
2016-06-06 09:04:20 +00:00
2016-06-08 20:01:10 +00:00
2014-08-04 22:34:12 +00:00
2014-08-04 22:37:02 +00:00
2014-08-04 22:37:02 +00:00
2014-11-06 16:48:37 +00:00
2014-08-04 22:37:02 +00:00
2016-05-07 08:30:21 +00:00
2016-05-07 08:30:21 +00:00
2016-01-26 08:55:31 +00:00
2016-06-09 05:48:34 +00:00
2016-05-04 23:20:53 +00:00
2014-08-04 22:37:02 +00:00
2014-07-26 17:59:25 +00:00
2016-07-28 13:21:45 +00:00
2014-06-15 05:15:38 +00:00
2016-10-02 03:20:31 +00:00
2016-03-29 15:26:53 +00:00
2016-03-20 03:54:57 +00:00
2016-09-21 18:52:03 +00:00
2015-02-15 11:37:40 +00:00
2015-07-03 01:50:26 +00:00
2015-06-27 22:48:22 +00:00
2014-08-04 22:37:02 +00:00
2016-05-20 11:00:06 +00:00
2015-02-18 15:25:22 +00:00
2015-01-06 02:08:45 +00:00
2014-08-04 22:37:02 +00:00
2014-08-04 22:37:02 +00:00
2014-08-04 22:37:02 +00:00
2014-08-04 22:37:02 +00:00
2014-08-04 22:37:02 +00:00
2014-08-04 22:37:02 +00:00
2014-08-04 22:37:02 +00:00
2015-02-07 23:09:03 +00:00
2016-03-30 23:50:23 +00:00
2016-09-02 04:23:26 +00:00
2015-04-22 18:15:18 +00:00
2016-10-02 03:20:31 +00:00
2015-12-04 18:44:12 +00:00