freebsd-skq/sys/dev/cxgb
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
..
common MFC r276959: 2015-01-18 20:38:38 +00:00
sys Remove unnecessary #include's. 2013-06-02 18:10:16 +00:00
ulp MFC r259897: 2013-12-28 02:15:30 +00:00
bin2h.pl
cxgb_adapter.h cxgb(4): IPv6 rx/tx hw checksum, IPv6 TSO and LRO too. 2012-06-30 02:11:53 +00:00
cxgb_include.h
cxgb_ioctl.h
cxgb_main.c MFC r276959: 2015-01-18 20:38:38 +00:00
cxgb_offload.h - Updated TOE support in the kernel. 2012-06-19 07:34:13 +00:00
cxgb_osdep.h MFC r278364: 2015-02-14 06:58:32 +00:00
cxgb_sge.c MFC r275358 r275483 r276982 - Removing M_FLOWID by hps@ 2015-04-24 23:26:44 +00:00
cxgb_t3fw.c Revert previous commit... 2012-10-10 08:36:38 +00:00
cxgb_t3fw.h Update T3 firmware to 7.11.0 2011-03-25 20:53:02 +00:00
t3b_protocol_sram.h
t3b_tp_eeprom.h
t3c_protocol_sram.h
t3c_tp_eeprom.h