New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Program fails with Online config - Intel x710 with DPDK #21
Comments
I think that device supports only a specific RSS key length. We'll try a programmatic solution, but meanwhile can you change https://github.com/stanford-esrg/retina/blob/47f2721e6b59a2e6ae2c4f584d3f3013ddd6468d/core/src/port/mod.rs to set rss_key_len to 52 and expand the key so it is long enough? |
I tried it but getting the same error after changing the rss_key_len to 52 and expanding the key. |
Did you change the rss_hf to the expected value? |
Just to confirm, I need to change the following value to what exactly? port_conf.rx_adv_conf.rss_conf.rss_hf = |
Try |
Yes, I changed it to 0x7ef8. I get the following errors: |
The number of descriptors indicated in the config (32768) is too high for your setup, I suggest changing it to within the suggested range. You'll probably also need to adjust the number of queues depending on support from the NIC (this can all be modified in the config file). |
admin@AN450:~/retina$ sudo env LD_LIBRARY_PATH=$LD_LIBRARY_PATH RUST_LOG=error ./target/release/client_randoms -c configs/online.toml
Initializing Retina runtime...
Ethdev port_id=0 invalid rss_hf: 0x3afbc, valid value: 0x7ef8
thread 'main' panicked at 'Failed to initialize port.: Failed to configure Port 0', /home/admin/retina/core/src/runtime/online.rs:69:14
note: run with
RUST_BACKTRACE=1
environment variable to display a backtrace[2022-10-12T18:28:17Z ERROR retina_core::port] Failed to close Port 0.
The text was updated successfully, but these errors were encountered: