jme: Rework MSI-X mapping, so RX MSI-X need not read register
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 30 Sep 2012 13:25:25 +0000 (21:25 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 30 Sep 2012 14:41:18 +0000 (22:41 +0800)
commite0009afb8eab458bc8269252adc0cfefad9fb7a5
tree28c9a4669b6fd67a464a457e42c8d96c6f3351a5
parent9f89fa9a85b717b98ff88455a6d03b44452bcd63
jme: Rework MSI-X mapping, so RX MSI-X need not read register

RX empty event rarely happens (I didn't see it even if the card is
sinking full speed tiny packets on one RX ring).  Put the RX empty
events into independent MSI-X, so the hot path RX MSI-X need not
read register at all.
sys/dev/netif/jme/if_jme.c
sys/dev/netif/jme/if_jmevar.h