gi-nm-1.0.1: NM bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.NM.Objects.SettingOvsDpdk

Description

OvsDpdk Link Settings

Synopsis

Exported types

class (GObject o, IsDescendantOf SettingOvsDpdk o) => IsSettingOvsDpdk o Source #

Type class for types which can be safely cast to SettingOvsDpdk, for instance with toSettingOvsDpdk.

Instances

Instances details
(GObject o, IsDescendantOf SettingOvsDpdk o) => IsSettingOvsDpdk o Source # 
Instance details

Defined in GI.NM.Objects.SettingOvsDpdk

toSettingOvsDpdk :: (MonadIO m, IsSettingOvsDpdk o) => o -> m SettingOvsDpdk Source #

Cast to SettingOvsDpdk, for types for which this is known to be safe. For general casts, use castTo.

Methods

getDevargs

settingOvsDpdkGetDevargs Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettingOvsDpdk a) 
=> a

self: the SettingOvsDpdk

-> m Text

Returns: the SettingOvsDpdk:devargs property of the setting

No description available in the introspection data.

Since: 1.20

getNRxq

settingOvsDpdkGetNRxq Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettingOvsDpdk a) 
=> a

self: the SettingOvsDpdk

-> m Word32

Returns: the SettingOvsDpdk:nRxq property of the setting

No description available in the introspection data.

Since: 1.36

getNRxqDesc

settingOvsDpdkGetNRxqDesc Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettingOvsDpdk a) 
=> a

self: the SettingOvsDpdk

-> m Word32

Returns: the SettingOvsDpdk:nRxqDesc property of the setting

No description available in the introspection data.

Since: 1.42

getNTxqDesc

settingOvsDpdkGetNTxqDesc Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettingOvsDpdk a) 
=> a

self: the SettingOvsDpdk

-> m Word32

Returns: the SettingOvsDpdk:nTxqDesc property of the setting

No description available in the introspection data.

Since: 1.42

new

settingOvsDpdkNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> m SettingOvsDpdk

Returns: the new empty SettingOvsDpdk object

Creates a new SettingOvsDpdk object with default values.

Since: 1.20

Properties

devargs

Open vSwitch DPDK device arguments.

Since: 1.20

clearSettingOvsDpdkDevargs :: (MonadIO m, IsSettingOvsDpdk o) => o -> m () Source #

Set the value of the “devargs” property to Nothing. When overloading is enabled, this is equivalent to

clear #devargs

constructSettingOvsDpdkDevargs :: (IsSettingOvsDpdk o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “devargs” property. This is rarely needed directly, but it is used by new.

getSettingOvsDpdkDevargs :: (MonadIO m, IsSettingOvsDpdk o) => o -> m Text Source #

Get the value of the “devargs” property. When overloading is enabled, this is equivalent to

get settingOvsDpdk #devargs

setSettingOvsDpdkDevargs :: (MonadIO m, IsSettingOvsDpdk o) => o -> Text -> m () Source #

Set the value of the “devargs” property. When overloading is enabled, this is equivalent to

set settingOvsDpdk [ #devargs := value ]

nRxq

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

Since: 1.36

constructSettingOvsDpdkNRxq :: (IsSettingOvsDpdk o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “n-rxq” property. This is rarely needed directly, but it is used by new.

getSettingOvsDpdkNRxq :: (MonadIO m, IsSettingOvsDpdk o) => o -> m Word32 Source #

Get the value of the “n-rxq” property. When overloading is enabled, this is equivalent to

get settingOvsDpdk #nRxq

setSettingOvsDpdkNRxq :: (MonadIO m, IsSettingOvsDpdk o) => o -> Word32 -> m () Source #

Set the value of the “n-rxq” property. When overloading is enabled, this is equivalent to

set settingOvsDpdk [ #nRxq := value ]

nRxqDesc

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.

Since: 1.42

constructSettingOvsDpdkNRxqDesc :: (IsSettingOvsDpdk o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “n-rxq-desc” property. This is rarely needed directly, but it is used by new.

getSettingOvsDpdkNRxqDesc :: (MonadIO m, IsSettingOvsDpdk o) => o -> m Word32 Source #

Get the value of the “n-rxq-desc” property. When overloading is enabled, this is equivalent to

get settingOvsDpdk #nRxqDesc

setSettingOvsDpdkNRxqDesc :: (MonadIO m, IsSettingOvsDpdk o) => o -> Word32 -> m () Source #

Set the value of the “n-rxq-desc” property. When overloading is enabled, this is equivalent to

set settingOvsDpdk [ #nRxqDesc := value ]

nTxqDesc

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.

Since: 1.42

constructSettingOvsDpdkNTxqDesc :: (IsSettingOvsDpdk o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “n-txq-desc” property. This is rarely needed directly, but it is used by new.

getSettingOvsDpdkNTxqDesc :: (MonadIO m, IsSettingOvsDpdk o) => o -> m Word32 Source #

Get the value of the “n-txq-desc” property. When overloading is enabled, this is equivalent to

get settingOvsDpdk #nTxqDesc

setSettingOvsDpdkNTxqDesc :: (MonadIO m, IsSettingOvsDpdk o) => o -> Word32 -> m () Source #

Set the value of the “n-txq-desc” property. When overloading is enabled, this is equivalent to

set settingOvsDpdk [ #nTxqDesc := value ]