Module Name: src Committed By: martin Date: Mon Feb 5 15:07:30 UTC 2018
Modified Files: src/share/man/man4 [netbsd-8]: wm.4 src/sys/dev/pci [netbsd-8]: if_wm.c Log Message: Pull up following revision(s) (requested by knakahara in ticket #529): sys/dev/pci/if_wm.c: revision 1.560 sys/dev/pci/if_wm.c: revision 1.561 sys/dev/pci/if_wm.c: revision 1.562 share/man/man4/wm.4: revision 1.37 share/man/man4/wm.4: revision 1.38 sys/dev/pci/if_wm.c: revision 1.551 sys/dev/pci/if_wm.c: revision 1.553 sys/dev/pci/if_wm.c: revision 1.554 sys/dev/pci/if_wm.c: revision 1.555 sys/dev/pci/if_wm.c: revision 1.556 sys/dev/pci/if_wm.c: revision 1.557 sys/dev/pci/if_wm.c: revision 1.558 sys/dev/pci/if_wm.c: revision 1.559 PR/52885 - Shinichi Doyashiki -- typo in comment Fix legacy Tx descriptors printing when WM_DEBUG is enabled. improve comments Fix wm_watchdog_txq() lock region. Not only wm_txeof() but also wm_watchdog_txq() itself requires txq_lock as it reads Tx descriptor management variables such as "txq_free". There is almost no influence on performance. Fix duplicated "rxintr" evcnt counting. Pointed out by ozaki-r@n.o, thanks. wm_txeof() can limit the loop count the same as wm_rxeof() now. add WM_TX_PROCESS_LIMIT_DEFAULT and WM_TX_INTR_PROCESS_LIMIT_DEFAULT man. More markup. CID-1427779: Fix uninitialized variables Fix 82574 MSI-X mode cannot receive packets after 82574 receives high rate traffic. In short, 82574 MSI-X mode does not cause RXQ MSI-X vector when 82574's phys FIFO overflows. I don't know why but 82574 causes not RXQ MSI-X vector but OTHER MSI-X vector at the situation. see: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v4.15-rc9&id=4aea7a5c5e940c1723add439f4088844cd26196d advised by msaitoh@n.o, thanks. Fix if_wm.c:r1.557 merge miss, sorry. Fix unmatched return type. The return value of wm_txeof() is not useded yet. Make wm(4) watchdog MP-safe. There is almost no influence on performance. wm(4) does not use ifp->if_watchdog now, that is, it does not touch ifp->if_timer. It also uses own callout(wm_tick) as watchdog now. The watchdog uses per-queue counter to check timeout. So, global lock is not required. To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.36.4.1 src/share/man/man4/wm.4 cvs rdiff -u -r1.508.4.12 -r1.508.4.13 src/sys/dev/pci/if_wm.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.