NM.SettingOvsDpdk

g GObject.Object GObject.Object NM.Setting NM.Setting GObject.Object->NM.Setting NM.SettingOvsDpdk NM.SettingOvsDpdk NM.Setting->NM.SettingOvsDpdk

Subclasses:

None

Methods

Inherited:

NM.Setting (21), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

get_devargs ()

get_lsc_interrupt ()

get_n_rxq ()

get_n_rxq_desc ()

get_n_txq_desc ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Inherited:

NM.Setting (1)

Name

Type

Flags

Short Description

devargs

str

r/w/en

lsc-interrupt

int

r/w/en

n-rxq

int

r/w/en

n-rxq-desc

int

r/w/en

n-txq-desc

int

r/w/en

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class NM.SettingOvsDpdk(**kwargs)
Bases:

NM.Setting

Abstract:

No

Structure:

NM.SettingOvsDpdkClass

OvsDpdk Link Settings

classmethod new()
Returns:

the new empty NM.SettingOvsDpdk object

Return type:

NM.Setting

Creates a new NM.SettingOvsDpdk object with default values.

New in version 1.20.

get_devargs()
Returns:

the NM.SettingOvsDpdk :devargs property of the setting

Return type:

str

New in version 1.20.

get_lsc_interrupt()
Returns:

the NM.SettingOvsDpdk :lsc-interrupt property of the setting

Return type:

NM.SettingOvsDpdkLscInterrupt

New in version 1.54.

get_n_rxq()
Returns:

the NM.SettingOvsDpdk :n-rxq property of the setting

Return type:

int

New in version 1.36.

get_n_rxq_desc()
Returns:

the NM.SettingOvsDpdk :n-rxq-desc property of the setting

Return type:

int

New in version 1.42.

get_n_txq_desc()
Returns:

the NM.SettingOvsDpdk :n-txq-desc property of the setting

Return type:

int

New in version 1.42.

Property Details

NM.SettingOvsDpdk.props.devargs
Name:

devargs

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

Open vSwitch DPDK device arguments.

New in version 1.20.

NM.SettingOvsDpdk.props.lsc_interrupt
Name:

lsc-interrupt

Type:

int

Default Value:

-1

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

Configures the Link State Change (LSC) detection mode for the OVS DPDK interface. When set to NM.SettingOvsDpdkLscInterrupt.IGNORE, NetworkManager doesn’t change the default value configured by Open vSwitch. NM.SettingOvsDpdkLscInterrupt.ENABLED enables interrupts. NM.SettingOvsDpdkLscInterrupt.DISABLED disables interrupts, thus setting the interface in poll mode.

New in version 1.54.

NM.SettingOvsDpdk.props.n_rxq
Name:

n-rxq

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

Open vSwitch DPDK number of rx queues. Defaults to zero which means to leave the parameter in OVS unspecified and effectively configures one queue.

New in version 1.36.

NM.SettingOvsDpdk.props.n_rxq_desc
Name:

n-rxq-desc

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

The rx queue size (number of rx descriptors) for DPDK ports. Must be zero or a power of 2 between 1 and 4096, and supported by the hardware. Defaults to zero which means to leave the parameter in OVS unspecified and effectively configures 2048 descriptors.

New in version 1.42.

NM.SettingOvsDpdk.props.n_txq_desc
Name:

n-txq-desc

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

The tx queue size (number of tx descriptors) for DPDK ports. Must be zero or a power of 2 between 1 and 4096, and supported by the hardware. Defaults to zero which means to leave the parameter in OVS unspecified and effectively configures 2048 descriptors.

New in version 1.42.