MCPcopy Create free account
hub / github.com/F-Stack/f-stack / PortConfig

Class PortConfig

dpdk/dts/framework/config/__init__.py:74–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72
73@dataclass(slots=True, frozen=True)
74class PortConfig:
75 node: str
76 pci: str
77 os_driver_for_dpdk: str
78 os_driver: str
79 peer_node: str
80 peer_pci: str
81
82 @staticmethod
83 def from_dict(node: str, d: dict) -> "PortConfig":
84 return PortConfig(node=node, **d)
85
86
87@dataclass(slots=True, frozen=True)

Callers 1

from_dictMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected