CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2015/12/05 09:23:37
Modified files:
sys/dev/pci : if_bnx.c if_bnxreg.h
Log message:
Make the bnx interrupt handler mpsafe, and perform rx and tx completion
outside the kernel lock.
Remove tx descriptor lists (essentially backing out if_bnx.c r1.77),
add an interrupt barrier in bnx_stop, check the rx ring state before receiving
packets, adjust the tx counter with atomic operations, and rework bnx_start
to check for ring space before dequeueing and drop the packet if bnx_encap
fails.
tested on BCM5708 by me and on BCM5709 by Hrvoje Popovski
ok dlg@