Feat: Add DpuNetwork CR, Per-network device pools and Accelerated NF support#636
Feat: Add DpuNetwork CR, Per-network device pools and Accelerated NF support#636alkama-hasan wants to merge 3 commits intoopenshift:mainfrom
Conversation
|
Hi @alkama-hasan. Thanks for your PR. I'm waiting for a openshift member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
d5837b7 to
6f82b32
Compare
|
/approve |
|
/ok-to-test |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: alkama-hasan, wizhaoredhat The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
a8da5d9 to
fe9f635
Compare
|
/retest |
bcf1947 to
075b3a4
Compare
|
/retest |
1 similar comment
|
/retest |
|
/test make-test |
20b15b1 to
a7e0074
Compare
a7e0074 to
be1c641
Compare
Introduce DpuNetwork custom resource and reconciler: maintains dpu-device-plugin-config ConfigMap and NADs per network, with finalizer cleanup on delete. Includes RBAC, examples and test. Signed-off-by: Alkama Hasan <alkamah@marvell.com>
Introduced configMap based device plugin per dpuNetwork CR resource. Signed-off-by: Alkama Hasan <alkamah@marvell.com>
Plumb bridgeID across CNI and network function APIs. Add per-VF accelerated mode and orphaned VF representor recovery on shutdown. Signed-off-by: Alkama Hasan <alkamah@marvell.com>
be1c641 to
3ce6ba1
Compare
|
@alkama-hasan: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
This PR introduces a cluster-scoped DpuNetwork CRD (config.openshift.io) with a controller and device plugin manager for per-network DPU resource management and covers e2e deployment of Accelerated NF.
Changes
nodeSelector,dpuSelector(vfId range support),isAccelerated; status withresourceName,selectedVFs, and conditions.dpu-device-plugin-configConfigMap, creates a NAD per DpuNetwork, manages finalizer for cleanup on delete.CreateNetworkFunction/DeleteNetworkFunctionwithbridgeIDplumbed through CNI config, BridgePort, and NF APIs.releaseNfDevicesandrecoverOrphanedDevice.bridgeIDandisAcceleratedfields toNetConf;BridgePortnow usesbridgeIDinstead of hardcodedvf+2.bridgeIDparameter andSetDpuNetworkConfigRPC;GrpcPluginwiresDpuNetworkConfigServiceClient.SetDpuNetworkConfiggRPC to toggle accelerated mode and report accelerated devices.dpuNet-<name>.sock).dpunetworks, ConfigMaps, NADs; daemon role updated with ConfigMap access.dpunetwork-net1.yaml,dpunetwork-net2.yaml,host-pod.yaml,nf-pod.yaml.