Hello Ben!

> The interface should be bound to vfio-pci (you can use eg. the 
> extras/scripts/pci-nic-bind script). You can check it is properly associated 
> with "vppctl show pci".
> Then you should check if the driver is properly loaded: "vppctl show device 
> drivers".
> If both is true, then you can configure the device with something like 
> "vppctl device attach pci/0000:03:00.0 driver ige".
> You can enable debug logs with "vppctl set logging class dev level debug 
> syslog-level debug" and "vppctl set logging class ige level debug 
> syslog-level debug" and then check with "vppctl show log".

Thanks for that which got me a bit further along. Attaching the device
doesn't error but it also doesn't produce any interfaces in "show
inter". The attached text file is the debug level output. It seems
weird to me that the PHY is attached then immediately released again.
I did this with a build of the v26.06-rc1 tag, I'll try out other
versions when I have the time.

Best regards,
Wilhelm
vpp# device attach pci/0000:01:00.0 driver ige
dev/api               [debug ]: api_attach: pci/0000:01:00.0 driver ige flags 
'' args ''
dev/pci               [debug ]: device pci/0000:01:00.0
dev/process           [debug ]: 0000:00:00.0 process_create: process node 
'pci/0000:01:00.0-process' (787) reused
dev/process           [debug ]: 0000:00:00.0 process: process 
'pci/0000:01:00.0-process' started
dev/api               [debug ]: api_attach: found 'Intel(R) Ethernet Controller 
I225-V'
dev/process           [debug ]: 0000:00:00.0 ev_log_debug: call op requested 
received from process node unix-cli-process-0 (800)
dev/pci               [debug ]: 0000:01:00.0 bus_pci_open: device supports VA 
DMA
ige/reg               [debug ]: 0000:01:00.0 reg_poll: reg 00008 (suspend 
.000009)
ige/phy               [debug ]: 0000:01:00.0 phy_acquire: phy_acquire:
ige/reg               [debug ]: 0000:01:00.0 reg_sw_fw_sync_acquire: 
ige/reg               [debug ]: 0000:01:00.0 reg_sw_fw_sync_acquire: acquired
ige/phy               [debug ]: 0000:01:00.0 phy_acquire: phy_acquire: 
sw_fw_sync 0x1000
ige/reg               [debug ]: 0000:01:00.0 reg_sw_fw_sync_release: 
ige/phy               [warn  ]: 0000:01:00.0: phy_read: register read took 
.000190 sec
ige/phy               [debug ]: 0000:01:00.0 phy_read: reg PHYID1 data 0x67c9
ige/phy               [debug ]: 0000:01:00.0 phy_read: reg PHYID2 data 0xdc00
ige/phy               [debug ]: 0000:01:00.0 phy_read: reg GCTRL data 0x0300
ige/phy               [debug ]: 0000:01:00.0 phy_init: GCTRL was set to 0x0300
ige/phy               [debug ]: 0000:01:00.0 phy_write: reg GCTRL data 0x0300
ige/phy               [debug ]: 0000:01:00.0 phy_write: reg MMDCTRL data 0x0007
ige/phy               [debug ]: 0000:01:00.0 phy_write: reg MMDDATA data 0x0020
ige/phy               [debug ]: 0000:01:00.0 phy_write: reg MMDCTRL data 0x4007
ige/phy               [debug ]: 0000:01:00.0 phy_write: reg MMDDATA data 0x00a2
ige/phy               [debug ]: 0000:01:00.0 phy_write: reg MMDCTRL data 0x0000
ige/phy               [debug ]: 0000:01:00.0 phy_release: phy_release:
ige/reg               [debug ]: 0000:01:00.0 reg_sw_fw_sync_acquire: 
ige/reg               [debug ]: 0000:01:00.0 reg_sw_fw_sync_acquire: acquired
ige/reg               [debug ]: 0000:01:00.0 reg_sw_fw_sync_release: 
ige/init              [info  ]: 0000:01:00.0: MAC address is 20:7c:14:f0:c7:85
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#27052): https://lists.fd.io/g/vpp-dev/message/27052
Mute This Topic: https://lists.fd.io/mt/119666766/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/14379924/21656/631435203/xyzzy 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to