mirror of
https://github.com/k8snetworkplumbingwg/multus-cni.git
synced 2026-07-17 02:06:30 +00:00
Replace full ResourceSlice object cache with a flat deviceInfoCacheKey→deviceInfo index. Populate lazily per driver using combined spec.nodeName+spec.driver field selectors derived from pod.Spec.NodeName, reducing API response size to a single node's slices for one driver. Device lookup becomes O(1). Add ctx propagation to GetPodResourceMap interface. Signed-off-by: Fred Rolland <frolland@nvidia.com>