-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes to allow upto 16 Host VFs and num of APFs increased to 48. (#306
) * 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 run devmem commands for all APFs on ACC. Changes tested for init, getDevices, CreateBridgePort, DeleteBridgePort, host-VF-to-host-VF(ping test). With CreateNetworkFunction, and DeleteNetworkFunction works, and verified ping testing between external-client(CVL NIC) to NF's ingressMAC, and NF-egress to Host-VF, and between Host-VF to external-client. * Added changes to query IMC config(/etc/dpcp/cp_init.cfg) to determine acc_apf, and then wait for those APFs to get initialized. Also, old redhat P4 package code to check for D6 interface, was causing issue, when default P4 package, was used, made that check strictly for redhat P4 package.
- Loading branch information
1 parent
a34fefe
commit 10d134f
Showing
10 changed files
with
427 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.