diff options
author | gnn <gnn@FreeBSD.org> | 2009-05-27 20:13:36 +0000 |
---|---|---|
committer | gnn <gnn@FreeBSD.org> | 2009-05-27 20:13:36 +0000 |
commit | 7cc11d24d8d26d91c6ab2c2b0377046ed7014d25 (patch) | |
tree | 3263d98b1fc8dcba4534b0b045c7b440f80ede82 /cddl | |
parent | 08f63a0d1856606c05d8acbbdf2842f53f0a5075 (diff) | |
download | FreeBSD-src-7cc11d24d8d26d91c6ab2c2b0377046ed7014d25.zip FreeBSD-src-7cc11d24d8d26d91c6ab2c2b0377046ed7014d25.tar.gz |
Rework interrupt bringup and teardown.
Calculate the exact number of vectors we'll use before calling
pci_alloc_msix. Don't grab nine all the time.
Call cxgb_setup_interrupts once per T3, not once per port. Ditto
for cxgb_teardown_interrupts.
Don't leak resources when interrupt setup fails in the middle.
Obtained from: Navdeep Parhar
MFC after: 10 days
Diffstat (limited to 'cddl')
0 files changed, 0 insertions, 0 deletions