Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
GI.NM.Objects.SettingOvsDpdk
Description
OvsDpdk Link Settings
Synopsis
- newtype SettingOvsDpdk = SettingOvsDpdk (ManagedPtr SettingOvsDpdk)
- class (GObject o, IsDescendantOf SettingOvsDpdk o) => IsSettingOvsDpdk o
- toSettingOvsDpdk :: (MonadIO m, IsSettingOvsDpdk o) => o -> m SettingOvsDpdk
- settingOvsDpdkGetDevargs :: (HasCallStack, MonadIO m, IsSettingOvsDpdk a) => a -> m Text
- settingOvsDpdkGetNRxq :: (HasCallStack, MonadIO m, IsSettingOvsDpdk a) => a -> m Word32
- settingOvsDpdkGetNRxqDesc :: (HasCallStack, MonadIO m, IsSettingOvsDpdk a) => a -> m Word32
- settingOvsDpdkGetNTxqDesc :: (HasCallStack, MonadIO m, IsSettingOvsDpdk a) => a -> m Word32
- settingOvsDpdkNew :: (HasCallStack, MonadIO m) => m SettingOvsDpdk
- clearSettingOvsDpdkDevargs :: (MonadIO m, IsSettingOvsDpdk o) => o -> m ()
- constructSettingOvsDpdkDevargs :: (IsSettingOvsDpdk o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingOvsDpdkDevargs :: (MonadIO m, IsSettingOvsDpdk o) => o -> m Text
- setSettingOvsDpdkDevargs :: (MonadIO m, IsSettingOvsDpdk o) => o -> Text -> m ()
- constructSettingOvsDpdkNRxq :: (IsSettingOvsDpdk o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getSettingOvsDpdkNRxq :: (MonadIO m, IsSettingOvsDpdk o) => o -> m Word32
- setSettingOvsDpdkNRxq :: (MonadIO m, IsSettingOvsDpdk o) => o -> Word32 -> m ()
- constructSettingOvsDpdkNRxqDesc :: (IsSettingOvsDpdk o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getSettingOvsDpdkNRxqDesc :: (MonadIO m, IsSettingOvsDpdk o) => o -> m Word32
- setSettingOvsDpdkNRxqDesc :: (MonadIO m, IsSettingOvsDpdk o) => o -> Word32 -> m ()
- constructSettingOvsDpdkNTxqDesc :: (IsSettingOvsDpdk o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getSettingOvsDpdkNTxqDesc :: (MonadIO m, IsSettingOvsDpdk o) => o -> m Word32
- setSettingOvsDpdkNTxqDesc :: (MonadIO m, IsSettingOvsDpdk o) => o -> Word32 -> m ()
Exported types
newtype SettingOvsDpdk Source #
Memory-managed wrapper type.
Constructors
SettingOvsDpdk (ManagedPtr SettingOvsDpdk) |
Instances
Eq SettingOvsDpdk Source # | |
Defined in GI.NM.Objects.SettingOvsDpdk Methods (==) :: SettingOvsDpdk -> SettingOvsDpdk -> Bool # (/=) :: SettingOvsDpdk -> SettingOvsDpdk -> Bool # | |
GObject SettingOvsDpdk Source # | |
Defined in GI.NM.Objects.SettingOvsDpdk | |
ManagedPtrNewtype SettingOvsDpdk Source # | |
Defined in GI.NM.Objects.SettingOvsDpdk Methods toManagedPtr :: SettingOvsDpdk -> ManagedPtr SettingOvsDpdk # | |
TypedObject SettingOvsDpdk Source # | |
Defined in GI.NM.Objects.SettingOvsDpdk | |
HasParentTypes SettingOvsDpdk Source # | |
Defined in GI.NM.Objects.SettingOvsDpdk | |
IsGValue (Maybe SettingOvsDpdk) Source # | Convert |
Defined in GI.NM.Objects.SettingOvsDpdk Methods gvalueGType_ :: IO GType # gvalueSet_ :: Ptr GValue -> Maybe SettingOvsDpdk -> IO () # gvalueGet_ :: Ptr GValue -> IO (Maybe SettingOvsDpdk) # | |
type ParentTypes SettingOvsDpdk Source # | |
Defined in GI.NM.Objects.SettingOvsDpdk |
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
(GObject o, IsDescendantOf SettingOvsDpdk o) => IsSettingOvsDpdk o Source # | |
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
Click to display all available methods, including inherited ones
Methods
bindProperty, bindPropertyFull, compare, diff, duplicate, enumerateValues, forceFloating, freezeNotify, getv, isFloating, notify, notifyByPspec, optionClearByName, optionGet, optionGetAllNames, optionGetBoolean, optionGetUint32, optionSet, optionSetBoolean, optionSetUint32, ref, refSink, runDispose, stealData, stealQdata, thawNotify, toString, unref, verify, verifySecrets, watchClosure.
Getters
getData, getDbusPropertyType, getDevargs, getNRxq, getNRxqDesc, getNTxqDesc, getName, getProperty, getQdata, getSecretFlags.
Setters
getDevargs
settingOvsDpdkGetDevargs Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingOvsDpdk a) | |
=> a |
|
-> 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 |
|
-> 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 |
|
-> 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 |
|
-> m Word32 | Returns: the SettingOvsDpdk:nTxqDesc property of the setting |
No description available in the introspection data.
Since: 1.42
new
Arguments
:: (HasCallStack, MonadIO m) | |
=> m SettingOvsDpdk | Returns: the new empty |
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 ]