freebsd-skq/sys/dev/cxgb
andre e3737c33e7 Restructure the mbuf pkthdr to make it fit for upcoming capabilities and
features.  The changes in particular are:

o Remove rarely used "header" pointer and replace it with a 64bit protocol/
  layer specific union PH_loc for local use.  Protocols can flexibly overlay
  their own 8 to 64 bit fields to store information while the packet is
  worked on.

o Mechanically convert IP reassembly, IGMP/MLD and ATM to use pkthdr.PH_loc
  instead of pkthdr.header.

o Extend csum_flags to 64bits to allow for additional future offload
  information to be carried (e.g. iSCSI, IPsec offload, and others).

o Move the RSS hash type enumerator from abusing m_flags to its own 8bit
  rsstype field.  Adjust accessor macros.

o Add cosqos field to store Class of Service / Quality of Service information
  with the packet.  It is not yet supported in any drivers but allows us to
  get on par with Cisco/Juniper in routing applications (plus MPLS QoS) with
  a modernized ALTQ.

o Add four 8 bit fields l[2-5]hlen to store the relative header offsets
  from the start of the packet.  This is important for various offload
  capabilities and to relieve the drivers from having to parse the packet
  and protocol headers to find out location of checksums and other
  information.  Header parsing in drivers is a lot of copy-paste and
  unhandled corner cases which we want to avoid.

o Add another flexible 64bit union to map various additional persistent
  packet information, like ether_vtag, tso_segsz and csum fields.
  Depending on the csum_flags settings some fields may have different usage
  making it very flexible and adaptable to future capabilities.

o Restructure the CSUM flags to better signify their outbound (down the
  stack) and inbound (up the stack) use.  The CSUM flags used to be a bit
  chaotic and rather poorly documented leading to incorrect use in many
  places.  Bring clarity into their use through better naming.
  Compatibility mappings are provided to preserve the API.  The drivers
  can be corrected one by one and MFC'd without issue.

o The size of pkthdr stays the same at 48/56bytes (32/64bit architectures).

Sponsored by:	The FreeBSD Foundation
2013-08-24 19:51:18 +00:00
..
common - Correct mispellings of the word occurrence 2013-04-17 11:40:10 +00:00
sys Remove unnecessary #include's. 2013-06-02 18:10:16 +00:00
ulp Whitespace cleanup. 2013-08-23 18:45:39 +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 Add dependencies on the firmware, which allows the loading of the cxgb 2013-05-16 13:07:02 +00:00
cxgb_offload.h - Updated TOE support in the kernel. 2012-06-19 07:34:13 +00:00
cxgb_osdep.h Align the PCI Express #defines with the style used for the PCI-X 2012-09-18 22:04:59 +00:00
cxgb_sge.c Restructure the mbuf pkthdr to make it fit for upcoming capabilities and 2013-08-24 19:51:18 +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