mellanox

package
v1.6.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 30, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mellanox

type Mellanox struct{}

func (*Mellanox) GetAdapterName

func (m *Mellanox) GetAdapterName() (string, error)

GetAdapter returns name of Mellanox adapter if found Returns errorMellanoxAdapterNotFound if adapter is not found or adapter name empty

func (*Mellanox) GetPriorityVLANTag

func (m *Mellanox) GetPriorityVLANTag() (int, error)

Get PriorityVLANTag returns PriorityVLANTag value for Mellanox Adapter (both version 3 and version 4)

func (*Mellanox) SetPriorityVLANTag

func (m *Mellanox) SetPriorityVLANTag(desiredVal int) error

Set Mellanox adapter's PriorityVLANTag value to desired value if adapter exists 5/16/23 : right now setting desired reg key value for PriorityVLANTag = 3 --> Packet priority and VLAN enabled for more details goto https://docs.nvidia.com/networking/display/winof2v230/Configuring+the+Driver+Registry+Keys#ConfiguringtheDriverRegistryKeys-GeneralRegistryKeysGeneralRegistryKeys

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL