freebsd-nq/sys/dev/netmap
Luigi Rizzo 2157a17ce2 ixgbe changes:
- remove experimental code for disabling CRC
- use the correct constant for conversion between interrupt rate
  and EITR values (the previous values were off by a factor of 2)
- make dev.ix.N.queueM.interrupt_rate a RW sysctl variable.
  Changing individual values affects the queue immediately,
  and propagates to all interfaces at the next reinit.
- add dev.ix.N.queueM.irqs rdonly sysctl, to export the actual
  interrupt counts

Netmap-related changes for ixgbe:
- use the "new" format for TX descriptors in netmap mode.
- pass interrupt mitigation delays to the user process doing poll()
  on a netmap file descriptor.
  On the RX side this means we will not check the ring more than once
  per interrupt. This gives the process a chance to sleep and process
  packets in larger batches, thus reducing CPU usage.
  On the TX side we take this even further: completed transmissions are
  reclaimed every half ring even if the NIC interrupts more often.
  This saves even more CPU without any additional tx delays.

Generic Netmap-related changes:
- align the netmap_kring to cache lines so that there is no false sharing
  (possibly useful for multiqueue NICs and MSIX interrupts, which are
  handled by different cores). It's a minor improvement but it does not
  cost anything.

Reviewed by:	Jack Vogel
Approved by:	Jack Vogel
2012-01-26 09:55:16 +00:00
..
head.diff
if_em_netmap.h small code cleanup in preparation for future modifications in 2012-01-10 19:57:23 +00:00
if_igb_netmap.h small code cleanup in preparation for future modifications in 2012-01-10 19:57:23 +00:00
if_lem_netmap.h small code cleanup in preparation for future modifications in 2012-01-10 19:57:23 +00:00
if_re_netmap.h fix indentation 2012-01-13 11:01:23 +00:00
ixgbe_netmap.h ixgbe changes: 2012-01-26 09:55:16 +00:00
netmap_kern.h ixgbe changes: 2012-01-26 09:55:16 +00:00
netmap.c ixgbe changes: 2012-01-26 09:55:16 +00:00