Diff for /wikisrc/users/msaitoh/Comparison_of_implementations_of_Ethernet_drivers.mdwn between versions 1.3 and 1.5

version 1.3, 2015/02/05 04:53:21 version 1.5, 2015/02/05 08:28:30
Line 1 Line 1
 <table class="center">  <table class="center">
 <tr>  <tr>
   <th>driver</th>    <th>driver</th>
   <th>where dmemem is allocated in</th>    <th>where dmamem is allocated in</th>
   <th>variations of mutex</th>    <th>variations of mutex</th>
   <th>if_init lock</th>    <th>if_init lock</th>
   <th>if_start lock</th>    <th>if_start lock</th>
Line 13 Line 13
   <th>notes</th>    <th>notes</th>
 </tr>  </tr>
 <tr>  <tr>
   <th>wm(knakahara)</th>    <th>wm(knakahara+ozaki-r)</th>
   <td>in attach()</td>    <td>in attach()</td>
   <td>tx, rx, core</td>    <td>tx, rx, core</td>
   <td>CORE_LOCK(spin mutex)</td>    <td>CORE_LOCK(spin mutex)</td>
   <td>TX_LOCK(spin mutex) + sc_stopping flag</td>    <td>TX_LOCK(spin mutex) + sc_stopping flag</td>
   <td>CORE_LOCK(spin mutex)+sc_stopping flag</td>    <td>CORE_LOCK(spin mutex)+sc_stopping flag</td>
   <td>use CORE_LOCK() and TX_LOCK() partially</td>    <td>use CORE_LOCK(spin mutex) and TX_LOCK(spin mutex) partially</td>
   <td>no</td>    <td>No</td>
   <td>TX and RX differently</td>    <td>TX and RX differently</td>
   <td>TX_LOCK(mutex) and check sc_stopping in the beginning</td>    <td>TX_LOCK(mutex) and check sc_stopping in the beginning</td>
   <td></td>    <td></td>
Line 32 Line 32
   <td>not taken?</td>    <td>not taken?</td>
   <td>TX_LOCK(mutex)+sc_stopping check</td>    <td>TX_LOCK(mutex)+sc_stopping check</td>
   <td>TX, RX + sc_stopping check</td>    <td>TX, RX + sc_stopping check</td>
   <td>splnet</td>    <td>splnet()</td>
   <td>only RX is softint'ed</td>    <td>only RX is softint'ed</td>
   <td>TX and RX differently</td>    <td>TX and RX differently</td>
   <td>callout isn't used</td>    <td>callout isn't used</td>

Removed from v.1.3  
changed lines
  Added in v.1.5


CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb