tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: if_wm.c workqueue



Hi,

Thank you for your information.

On 2022/05/26 15:50, Emmanuel Dreyfus wrote:
On Thu, May 26, 2022 at 11:40:15AM +0900, Kengo NAKAHARA wrote:
Hmm, could you send me the result of "dmesg | grep wm0" ?

This is NetBSD-9.2/amd64. It broke with two other acpi devices
starting to complain about workqueues. Sorry for being vague,
I did not copy the message, and I cannot break it during
daylight.

  wm0 at pci0 dev 25 function 0: I217 V Ethernet Connection (rev. 0x05)
  wm0: interrupting at msi2 vec 0
  wm0: PCI-Express bus
  wm0: 2048 words FLASH, version 0.13.4
  wm0: Ethernet address 3c:ec:ef:23:05:32
  wm0: 0x6a4480<FLASH,IOH_VALID,PCIE,ASF_FIRM,AMT,WOL,EEE>
  ihphy0 at wm0 phy 2: i217 10/100/1000 media interface, rev. 4

Ah, INTx, MSI of NetBSD-9.2 doesn't support workqueue proessing yet,
because it doesn't include the following commit.
    https://github.com/NetBSD/src/commit/37210869b14978ed9935efa67e7d5b302336982d

Could you use head of netbsd-9 branch?


  wm1 at pci2 dev 0 function 0: I210-T1 Ethernet Server Adapter (rev. 0x03)
  wm1: for TX and RX interrupting at msix4 vec 0 affinity to 0
  wm1: for TX and RX interrupting at msix4 vec 1 affinity to 1
  wm1: for LINK interrupting at msix4 vec 2
  wm1: PCI-Express bus
  wm1: 2048 words FLASH(HW), version 3.16, Image Unique ID 000004d9
  wm1: ROM image version 3.16 is older than 3.25
  wm1: Ethernet address 3c:ec:ef:23:05:33
  wm1: Copper
  wm1: 0x4c414500<FLASH_HW,IOH_VALID,PCIE,NEWQUEUE,EEE,PLLWA,CLSEMWA,CRC_STRIP>
  makphy0 at wm1 phy 1: I210 10/100/1000 media interface, rev. 0
wm1 uses MSI-X, so this interface can use workqueue processing in
NetBSD-9.2.


Thanks,

--
//////////////////////////////////////////////////////////////////////
Internet Initiative Japan Inc.

Device Engineering Section,
Product Division,
Technology Unit

Kengo NAKAHARA <k-nakahara%iij.ad.jp@localhost>




Home | Main Index | Thread Index | Old Index