Luigi Rizzo 849bec0e76 Partial cleanup in preparation for upcoming changes:
- netmap_rx_irq()/netmap_tx_irq() can now be called by FreeBSD drivers
  hiding the logic for handling NIC interrupts in netmap mode.
  This also simplifies the case of NICs attached to VALE switches.
     Individual drivers will be updated with separate commits.

- use the same refcount() API for FreeBSD and linux

- plus some comments, typos and formatting fixes

Portions contributed by Michio Honda
2013-04-30 16:08:34 +00:00
..
2013-04-29 18:00:53 +00:00
2013-04-29 18:00:53 +00:00
2013-04-29 18:00:53 +00:00
2013-04-29 18:00:53 +00:00
2013-04-29 18:00:53 +00:00