Xilinx-CNS / onload

OpenOnload high performance user-level network stack
Other
581 stars 95 forks source link

missing /sys/module/sfc_resource/afxdp/register file #65

Closed arieb closed 2 years ago

arieb commented 2 years ago

following up on https://github.com/Xilinx-CNS/onload/issues/64 i manage to load onload (using onload_tool reload)

dmesg

[ 1173.007837] Efx driverlink unregistering onload driver
[ 1173.056027] Efx driverlink unregistering resource driver
[ 1173.095946] sfc_affinity: cleaning up
[ 1173.096075] Efx driverlink unregistering sfcaffinity driver
[ 1173.096086] sfc_affinity: unloaded
[ 1173.111823] Solarflare NET driver unloading
[ 1173.214200] Solarflare NET driver v4.15.14.1002
[ 1173.215814] sfc_affinity: starting
[ 1173.215818] Efx driverlink registering sfcaffinity driver
[ 1173.225532] Efx driverlink registering resource driver
[ 1173.277519] [onload] Onload 7.1.3.202
[ 1173.279324] [onload] Copyright 2019-2022 Xilinx, 2006-2019 Solarflare Communications, 2002-2005 Level 5 Networks
[ 1173.284944] Efx driverlink registering onload driver
[ 1173.387827] onload_cp_server[1196]: Spawned daemon process 1220

since my NIC is named ens3 , im assuming i need to run the following line to register my intel nic with onload echo ens3 > /sys/module/sfc_resource/afxdp/register“

however, /sys/module/sfc_resource/afxdp/register seems to be missing..

$ ls /sys/module/sfc_resource/
coresize  holders  initsize  initstate  notes  parameters  refcnt  sections  srcversion  taint  uevent
$ ethtool -i ens3
driver: ixgbevf
version: 5.13.0-1014-aws
firmware-version:
expansion-rom-version:
bus-info: 0000:00:03.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: no
supports-register-dump: yes
supports-priv-flags: yes
abower-amd commented 2 years ago

Hi arieb,

[ 1173.277519] [onload] Onload 7.1.3.202

however, /sys/module/sfc_resource/afxdp/register seems to be missing..

Onload version 7.1 does not include AF_XDP support - you need to take a copy from this repository to get that.