Skip to content
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

ON-14783: Use additional NIC flags for X3522 #68

Open
wants to merge 1 commit into
base: v9_0
Choose a base branch
from

Conversation

ibeecraft-amd
Copy link
Contributor

Running with Warnings enabled on X3 you get output warning that the NIC is not running low-latency firmware.

This commit simply suppresses the warning on X3 NICs.

Without commit on X3522:

ZF_ATTR="log_level=0x2;interface=ens1f0np0" ./zfsink 224.1.1.1:9001
  1000 | Interface ens1f0np0 is not in low latency mode.
  1000 | Low latency mode is recommended for best latency with TCPDirect.
  1000 | PIO not supported by efct interface but pio=3. Not attempting to allocate PIO buffer.
Polling reactor

With commit on X3522:

ZF_ATTR="log_level=0x2;interface=ens1f0np0" ./zfsink 224.1.1.1:9001
  1000 | PIO not supported by efct interface but pio=3. Not attempting to allocate PIO buffer.
Polling reactor

With Commit on X2522 running full-feature firmware:

ZF_ATTR="log_level=0x2;interface=enp131s0f0" ./zfsink 224.1.1.1:9001
  1000 | Interface enp131s0f0 is not in low latency mode.
  1000 | Low latency mode is recommended for best latency with TCPDirect.
Polling reactor

With commit on X2522 running ultra-low-latency firmware:

ZF_ATTR="log_level=0x2;interface=enp131s0f0" ./zfsink 224.1.1.1:^C01
sudo ip l set enp129s0f0 up
ZF_ATTR="log_level=0x2;interface=enp129s0f0" ./zfsink 224.1.1.1:9001
Polling reactor

@ibeecraft-amd ibeecraft-amd requested a review from a team as a code owner February 18, 2025 16:09
This commit adds two additional NIC flags for use with X3522 NICs. These being
ZF_RES_NIC_FLAG_SHARED_RXQ and ZF_RES_NIC_FLAG_CTPIO_ONLY. These are then used to
set up the stack.
@ibeecraft-amd ibeecraft-amd changed the base branch from v8_1 to v9_0 February 24, 2025 11:28
@ibeecraft-amd ibeecraft-amd changed the title ON-14783: Supress FW variant warning on X3 NICs ON-14783: Use additional NIC flags for X3522 Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants