Skip to content

Fix vf counts#3

Draft
JefferyLim wants to merge 1 commit into
UIUC-ChenLab:masterfrom
JefferyLim:fix-vf_counts
Draft

Fix vf counts#3
JefferyLim wants to merge 1 commit into
UIUC-ChenLab:masterfrom
JefferyLim:fix-vf_counts

Conversation

@JefferyLim
Copy link
Copy Markdown

@JefferyLim JefferyLim commented Apr 30, 2026

As part of my MS Thesis at Boston University, I used OS4C as the baseline NIC design for my work.

Unfortunately, it appeared as though there were a few things that did not work in this design, and so I spent a few months fixing the repository to a working state.

That being said, there are likely bugs that I have not found yet, so hopefully this is a strong baseline that people can work off from.

This PR adds a VF_COUNT parameter in config.tcl which allows you to determine how many VFs you would like to create. All the FUNCTION_ID_WIDTH related math should be replaced with a F_COUNT (VF_COUNT + PF_COUNT) version.

FUNCTION_ID_WIDTH is now just the width of the function id (8 bits) that the PCIe core provides.

This does not include the pcie_msix.v fix so there may be certain workloads that crash the system.

@JefferyLim JefferyLim mentioned this pull request Apr 30, 2026
Closed
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.

1 participant