jme: Fix the race on the RX path against hardware for jumbo frames
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Tue, 12 Jun 2012 06:22:13 +0000 (14:22 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Tue, 12 Jun 2012 06:22:13 +0000 (14:22 +0800)
commit9d4f763dc4015db4724632fe3242f081a37882e9
tree4f69680526d7097d8734f533877e357aff2df653
parent6afef6ab99aa2769e222503b11ac5fd71d582ee3
jme: Fix the race on the RX path against hardware for jumbo frames

Hardware will not clear OWN bit except the first RX desc, so its
following RX desc's OWN bit should be cleared before set the OWN
bit on the first RX desc again, i.e. before the first RX desc get
reused.
sys/dev/netif/jme/if_jme.c