IRC channel logs

2024-05-07.log

back to list of logs

<Pellescours>Ah I found an implementation of it in src/sys/net/rss_config.c
<Pellescours>youhou, by coping the implementation of the method and using it to implement rumpn_rss_get_key I made progress for rumpnet
<Pellescours>it now find the card and try to probe it
<damo22>nice
<Pellescours>what is the next step?
<damo22>perhaps look at netbsd /usr/bin source code for configuring network devices?
<damo22>it probably opens the device node and does something
<damo22>i dont know how the network stack atttaches to that
<damo22>you probably need to write a server similar to rumpdisk block.c
<damo22>to expose the net device as a mach device
<Pellescours>ok, thanks
<damo22>but before you implement that, try to write a simple program that calls rump_init() and rump_open(/dev/wm0) and do something useful with the device
<damo22>then you will know how to proceed
<Pellescours>damo22: There is a really long time (~40sec) at startup of rumpnet. It seem to fail to open /dev/wm0
<Pellescours>I gdb to see where it "hang", and it’s in mach_msg_trap < mach_msg < host_get_time < clock_gettime < rumpuser_clock_gettime < rumpns_delay < wm_eeprom_recvbits...