--- wikisrc/users/msaitoh/Comparison_of_implementations_of_Ethernet_drivers.mdwn 2015/02/05 04:53:21 1.3 +++ wikisrc/users/msaitoh/Comparison_of_implementations_of_Ethernet_drivers.mdwn 2015/02/05 08:28:30 1.5 @@ -1,7 +1,7 @@
driver | -where dmemem is allocated in | +where dmamem is allocated in | variations of mutex | if_init lock | if_start lock | @@ -13,14 +13,14 @@notes | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
wm(knakahara) | +wm(knakahara+ozaki-r) | in attach() | tx, rx, core | CORE_LOCK(spin mutex) | TX_LOCK(spin mutex) + sc_stopping flag | CORE_LOCK(spin mutex)+sc_stopping flag | -use CORE_LOCK() and TX_LOCK() partially | -no | +use CORE_LOCK(spin mutex) and TX_LOCK(spin mutex) partially | +No | TX and RX differently | TX_LOCK(mutex) and check sc_stopping in the beginning | @@ -32,7 +32,7 @@ | not taken? | TX_LOCK(mutex)+sc_stopping check | TX, RX + sc_stopping check | -splnet | +splnet() | only RX is softint'ed | TX and RX differently | callout isn't used |