freebsd-dev/sys/dev/cxgb
Robert Watson 315e3e38fa Many network stack subsystems use a single global data structure to hold
all pertinent statatistics for the subsystem.  These structures are
sometimes "borrowed" by kernel modules that require a place to store
statistics for similar events.

Add KPI accessor functions for statistics structures referenced by kernel
modules so that they no longer encode certain specifics of how the data
structures are named and stored.  This change is intended to make it
easier to move to per-CPU network stats following 8.0-RELEASE.

The following modules are affected by this change:

      if_bridge
      if_cxgb
      if_gif
      ip_mroute
      ipdivert
      pf

In practice, most of these statistics consumers should, in fact, maintain
their own statistics data structures rather than borrowing structures
from the base network stack.  However, that change is too agressive for
this point in the release cycle.

Reviewed by:	bz
Approved by:	re (kib)
2009-08-02 19:43:32 +00:00
..
common Greatly simplify cxgb by removing almost all of the custom mbuf management logic 2009-06-19 23:34:32 +00:00
sys mvec routines should have no knowledge of the SG engine. 2009-06-25 21:50:15 +00:00
ulp Many network stack subsystems use a single global data structure to hold 2009-08-02 19:43:32 +00:00
bin2h.pl Update the Chelsio driver to the latest bits from Chelsio 2009-03-10 19:22:45 +00:00
cxgb_adapter.h Use if_maddr_rlock() instead of IF_ADDR_LOCK() to protect access to 2009-06-26 19:04:08 +00:00
cxgb_config.h Add backward compatibility ifdefs for non-multiq kernels 2008-11-23 07:30:07 +00:00
cxgb_include.h - Remove default NIC dependency on ulp headers 2008-09-24 01:19:08 +00:00
cxgb_ioctl.h Update the Chelsio driver to the latest bits from Chelsio 2009-03-10 19:22:45 +00:00
cxgb_main.c Various ifmedia related fixes in cxgb(4), including: 2009-06-24 21:56:05 +00:00
cxgb_offload.c Minor updates to the Chelsio driver, including removing an LOR. 2009-03-23 19:58:26 +00:00
cxgb_offload.h - Remove default NIC dependency on ulp headers 2008-09-24 01:19:08 +00:00
cxgb_osdep.h Greatly simplify cxgb by removing almost all of the custom mbuf management logic 2009-06-19 23:34:32 +00:00
cxgb_sge.c Fix cxgb(4) panic with jumbo frames. 2009-07-09 19:27:58 +00:00
cxgb_t3fw.c Update the Chelsio driver to the latest bits from Chelsio 2009-03-10 19:22:45 +00:00
cxgb_t3fw.h Update the Chelsio driver to the latest bits from Chelsio 2009-03-10 19:22:45 +00:00
t3b_protocol_sram.h move remaining binaries in to blob headers 2008-02-26 23:05:05 +00:00
t3b_tp_eeprom.h move remaining binaries in to blob headers 2008-02-26 23:05:05 +00:00
t3c_protocol_sram.h Update the Chelsio driver to the latest bits from Chelsio 2009-03-10 19:22:45 +00:00
t3c_tp_eeprom.h Update the Chelsio driver to the latest bits from Chelsio 2009-03-10 19:22:45 +00:00
t3cdev.h MFSVN: 2008-05-05 01:41:53 +00:00