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

Changes to allow upto 16 Host VFs and num of APFs increased to 48. #306

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

sudhar-krishnakumar
Copy link
Contributor

Changes for Host VFs and num of APFs increased to 48, to accomodate 16 Host VFs.
Pre-defined range of ACC APF interface indexes allocated for various usages like(Host VFs, NF PRs, NFs(for ingress/egress)). Added changes to use AccApfInfo type for mac-list and intf-name list. Basic sanity test for Init->SetupAccApfs and GetDevices works as expected.
Changes to run devmem commands to add 48 ACC APFs to forwarding group one. By default only 16 ACC APFs are added to forwarding Group one. Function->AddAccApfsToGroupOne added to ipuplugin's Run function.

Changes tested for init, getDevices, CreateBridgePort, DeleteBridgePort, host-VF-to-host-VF(ping test). Basic sanity test for CreateNetworkFunction, and DeleteNetworkFunction works, and verified resource allocation.
TESTING ISSUE: Due to probably setup/config issue, issue with testing for:->Ping from ext-client to D4 or NF(ingress) or test using NF.

accomodate 16 Host VFs.
Pre-defined range of ACC APF interface indexes allocated
for various usages like(Host VFs, NF PRs, NFs(for ingress/egress)).
Added changes to use AccApfInfo type for mac-list and intf-name
list. Basic sanity test for Init->SetupAccApfs and GetDevices works as
expected.
Changes to run devmem commands to add 48 ACC APFs to forwarding group one.
By default only 16 ACC APFs are added to forwarding Group one.
Function->AddAccApfsToGroupOne added to ipuplugin's Run function.

Changes tested for init, getDevices, CreateBridgePort, DeleteBridgePort,
host-VF-to-host-VF(ping test). Basic sanity test for CreateNetworkFunction, and DeleteNetworkFunction works,
and verified resource allocation. But due to probably setup/config issue, issue with
testing for:->Ping from ext-client to D4 or NF(ingress) or test using NF.
CI unit test fix for bridgeport_test.go
@sudhar-krishnakumar sudhar-krishnakumar force-pushed the host_vfs2 branch 4 times, most recently from 62c1ade to ff10e13 Compare December 24, 2024 00:28
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.

2 participants