Skip to content
This repository was archived by the owner on Feb 27, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions xoa_driver/internals/hli_v1/ports/port_l23/bases/port_l23.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
P_TXPACKETLIMIT,
P_PFCENABLE,
P_TXBURSTPERIOD,
P_CAPABILITIES_EXT,
)
if typing.TYPE_CHECKING:
from xoa_driver.internals.core import interfaces as itf
Expand Down Expand Up @@ -334,6 +335,12 @@ def __init__(self, conn: "itf.IConnection", module_id: int, port_id: int) -> Non
:type: P_CAPABILITIES
"""

self.capabilities_ext = P_CAPABILITIES_EXT(conn, module_id, port_id)
"""L23 port capabilities ext.

:type: P_CAPABILITIES_EXT
"""

self.pause = P_PAUSE(conn, module_id, port_id)
"""L23 port response to Ethernet PAUSE frames.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
P_TXENABLE,
P_LOADMODE,
P_EMULATE,
P_CAPABILITIES_EXT,
)
if TYPE_CHECKING:
from xoa_driver.internals.core import interfaces as itf
Expand All @@ -32,6 +33,12 @@ def __init__(self, conn: "itf.IConnection", module_id: int, port_id: int) -> Non
:type: P_CAPABILITIES
"""

self.capabilities_ext = P_CAPABILITIES_EXT(conn, module_id, port_id)
"""Chimera port capabilities ext.

:type: P_CAPABILITIES_EXT
"""

self.interface = P_INTERFACE(conn, module_id, port_id)
"""Physical interface type of the Chimera port.

Expand Down
7 changes: 7 additions & 0 deletions xoa_driver/internals/hli_v2/ports/port_l23/bases/port_l23.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
P_TXPACKETLIMIT,
P_PFCENABLE,
P_TXBURSTPERIOD,
P_CAPABILITIES_EXT,
)
if typing.TYPE_CHECKING:
from xoa_driver.internals.core import interfaces as itf
Expand Down Expand Up @@ -300,6 +301,12 @@ def __init__(self, conn: "itf.IConnection", module_id: int, port_id: int) -> Non
"""L23 port capabilities.
Representation of P_CAPABILITIES
"""

self.capabilities_ext = P_CAPABILITIES_EXT(conn, module_id, port_id)
"""L23 port capabilities ext.

Representation of P_CAPABILITIES_EXT
"""

self.pause = P_PAUSE(conn, module_id, port_id)
"""L23 port response to Ethernet PAUSE frames.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
P_TXENABLE,
P_LOADMODE,
P_EMULATE,
P_CAPABILITIES_EXT,
)
if TYPE_CHECKING:
from xoa_driver.internals.core import interfaces as itf
Expand All @@ -31,6 +32,12 @@ def __init__(self, conn: "itf.IConnection", module_id: int, port_id: int) -> Non
Representation of P_CAPABILITIES
"""

self.capabilities_ext = P_CAPABILITIES_EXT(conn, module_id, port_id)
"""Chimera port capabilities ext.

Representation of P_CAPABILITIES_EXT
"""

self.interface = P_INTERFACE(conn, module_id, port_id)
"""Physical interface type of the Chimera port.
Representation of P_INTERFACE
Expand Down