hiren b09afc6f3f MFC r275358 r275483 r276982 - Removing M_FLOWID by hps@
r275358:
Start process of removing the use of the deprecated "M_FLOWID" flag
from the FreeBSD network code. The flag is still kept around in the
"sys/mbuf.h" header file, but does no longer have any users. Instead
the "m_pkthdr.rsstype" field in the mbuf structure is now used to
decide the meaning of the "m_pkthdr.flowid" field. To modify the
"m_pkthdr.rsstype" field please use the existing "M_HASHTYPE_XXX"
macros as defined in the "sys/mbuf.h" header file.

This patch introduces new behaviour in the transmit direction.
Previously network drivers checked if "M_FLOWID" was set in "m_flags"
before using the "m_pkthdr.flowid" field. This check has now now been
replaced by checking if "M_HASHTYPE_GET(m)" is different from
"M_HASHTYPE_NONE". In the future more hashtypes will be added, for
example hashtypes for hardware dedicated flows.

"M_HASHTYPE_OPAQUE" indicates that the "m_pkthdr.flowid" value is
valid and has no particular type. This change removes the need for an
"if" statement in TCP transmit code checking for the presence of a
valid flowid value. The "if" statement mentioned above is now a direct
variable assignment which is then later checked by the respective
network drivers like before.

r275483:
Remove M_FLOWID from SCTP code.

r276982:
Remove no longer used "M_FLOWID" flag from mbuf.h and update the netisr
manpage.

Note: The FreeBSD version has been bumped.

Reviewed by:    hps, tuexen
Sponsored by:   Limelight Networks
2015-04-24 23:26:44 +00:00
..
2015-04-23 22:39:32 +00:00
2014-04-14 04:58:50 +00:00
2014-04-14 04:51:59 +00:00
2014-12-02 13:46:13 +00:00
2014-12-21 03:06:11 +00:00
2014-12-31 23:25:37 +00:00
2015-03-26 05:12:30 +00:00
2014-10-21 01:14:56 +00:00
2014-12-02 22:04:27 +00:00
2014-10-21 13:07:36 +00:00
2014-05-07 21:38:33 +00:00
2014-12-21 03:06:11 +00:00
2014-10-30 08:04:48 +00:00
2014-12-21 03:06:11 +00:00
2014-12-04 01:10:50 +00:00
2015-04-18 21:26:47 +00:00
2015-03-26 05:17:20 +00:00
2015-02-08 20:44:44 +00:00
2014-02-04 03:36:42 +00:00
2014-10-25 20:34:10 +00:00
2015-04-01 21:48:54 +00:00
2014-05-15 16:11:06 +00:00
2014-05-15 16:11:06 +00:00
2013-05-10 16:41:26 +00:00
2014-12-27 00:44:33 +00:00
MFC
2013-02-26 21:09:35 +00:00
2013-05-10 16:41:26 +00:00
2013-05-10 16:41:26 +00:00
2013-02-19 18:22:25 +00:00
2014-02-04 03:36:42 +00:00
2015-03-23 13:38:33 +00:00
2014-04-25 21:32:34 +00:00
2014-01-04 18:48:29 +00:00
2014-03-26 07:31:57 +00:00
2014-03-06 13:15:53 +00:00
2014-12-27 04:35:18 +00:00
2014-12-21 03:06:11 +00:00
2013-08-28 14:49:36 +00:00
2014-04-14 04:51:59 +00:00
2014-12-21 03:06:11 +00:00
2015-02-14 21:16:19 +00:00
2014-12-21 03:06:11 +00:00
2014-06-14 00:44:57 +00:00
2014-12-21 03:06:11 +00:00
2014-12-21 03:06:11 +00:00
2014-12-21 03:06:11 +00:00
2015-04-13 01:19:22 +00:00
2014-12-03 06:53:49 +00:00
2014-08-16 13:23:23 +00:00
2014-02-17 01:36:53 +00:00
2014-12-26 23:18:09 +00:00
2015-02-03 22:49:12 +00:00
2014-04-25 22:19:18 +00:00
2015-04-13 01:01:17 +00:00
2014-04-14 04:51:59 +00:00
2013-02-19 19:25:50 +00:00
2015-02-15 20:02:29 +00:00
2013-07-07 19:47:22 +00:00
2014-01-04 18:53:31 +00:00
2014-08-04 01:14:27 +00:00
2015-02-14 08:44:12 +00:00
2015-03-19 13:37:36 +00:00
2014-05-15 16:11:06 +00:00
2015-03-26 05:44:21 +00:00
2014-03-26 07:31:57 +00:00
2015-03-24 17:20:20 +00:00
2015-04-15 21:47:15 +00:00
2014-12-21 03:06:11 +00:00
2014-04-14 04:51:59 +00:00
2015-02-15 20:02:29 +00:00
2014-05-31 11:08:22 +00:00
2014-05-31 11:08:22 +00:00
2015-03-26 05:07:18 +00:00
2013-05-10 16:41:26 +00:00
2013-09-05 23:14:27 +00:00
2014-06-18 19:32:38 +00:00
2014-12-31 23:25:37 +00:00
2015-04-01 21:48:54 +00:00
2015-04-01 21:48:54 +00:00
2014-02-19 19:38:25 +00:00
2015-01-09 03:35:19 +00:00
2014-05-15 16:11:06 +00:00
2015-02-22 15:27:02 +00:00
2014-07-11 00:26:57 +00:00
2014-10-28 00:43:00 +00:00
2014-01-04 21:32:53 +00:00
2015-02-13 20:38:39 +00:00
2014-05-15 16:11:06 +00:00
2014-04-14 04:51:59 +00:00
2014-05-31 11:08:22 +00:00
2015-03-26 04:55:22 +00:00
2014-05-31 11:08:22 +00:00
2013-05-10 16:41:26 +00:00
2015-03-25 13:14:25 +00:00
2014-01-09 18:28:58 +00:00
2013-05-10 16:41:26 +00:00
2014-12-21 03:06:11 +00:00
2015-01-23 18:55:24 +00:00
2014-05-15 16:11:06 +00:00
2014-01-04 19:13:25 +00:00
2014-10-26 01:30:46 +00:00
2014-12-21 03:06:11 +00:00
2014-05-31 11:08:22 +00:00
2015-03-12 15:48:25 +00:00
2015-04-23 01:52:07 +00:00
2012-10-10 08:36:38 +00:00
2013-07-27 20:47:01 +00:00
2014-02-17 01:36:53 +00:00
2014-04-25 22:23:38 +00:00
2014-11-03 12:38:29 +00:00