opnsense-src/sys/netgraph/bluetooth/include
Alexander Motin 9852972bb5 Several changes breaking netgraph module ABI collected together:
- reorder structures fields (XX_refs) a bit to group fields modified
   same time together. According to my tests it gives up to 10%
   SMP performance benefit on real workload due to reduced inter-CPU
   cache trashing.
 - change q_flags from long to int as long is not really needed there and
   it's usage with atomics is argued by some people.
 - move NGF_WORKQ flag into the separate field q_flags2 as it protected by
   queue mutex instead of node writer protection used by the rest of flags.
 - move nd_work queue entry to ng_queue structure to which it is more
   related and make it STAILQ instead of TAILQ as now it is a classic FIFO.
 - remove q_node pointer from ng_queue structure as it is not really needed.
 - reimplement item queue using STAILQ instead of own equal implementation.
   As soon as BT subsystem has own item queues using ng_item.el_next update
   it also.
 - change depth field in ng_item from uintptr_t to u_int. It was made
   uintptr_t to keep ABI compatibility.

Reviewed by:	julian, emax
Tested with:	Netperf cluster
2008-04-15 21:15:32 +00:00
..
ng_bluetooth.h Several changes breaking netgraph module ABI collected together: 2008-04-15 21:15:32 +00:00
ng_bt3c.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
ng_btsocket.h Add new SIOC_HCI_RAW_NODE_LIST_NAMES ioctl. User-space applications can 2006-05-17 00:13:07 +00:00
ng_btsocket_hci_raw.h Change semantics of socket close and detach. Add a new protocol switch 2006-07-21 17:11:15 +00:00
ng_btsocket_l2cap.h Change semantics of socket close and detach. Add a new protocol switch 2006-07-21 17:11:15 +00:00
ng_btsocket_rfcomm.h Change semantics of socket close and detach. Add a new protocol switch 2006-07-21 17:11:15 +00:00
ng_h4.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
ng_hci.h Add new SIOC_HCI_RAW_NODE_LIST_NAMES ioctl. User-space applications can 2006-05-17 00:13:07 +00:00
ng_l2cap.h Fix dangling callout problem in the Bluetooth L2CAP code that leads to 2005-08-31 18:13:23 +00:00
ng_ubt.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00