Class: Nl::Linux::Netdev::AsyncOperations
- Inherits:
-
Object
- Object
- Nl::Linux::Netdev::AsyncOperations
- Defined in:
- nl-linux/generated/nl/linux/netdev.rb
Instance Method Summary collapse
-
#do_bind_rx(**args) ⇒ Nl::Async::Future<Messages::DoBindRxReply>
Bind dmabuf to netdev.
-
#do_bind_tx(**args) ⇒ Nl::Async::Future<Messages::DoBindTxReply>
Bind dmabuf to netdev for TX.
-
#do_dev_get(**args) ⇒ Nl::Async::Future<Messages::DoDevGetReply>
Get / dump information about a netdev.
-
#do_napi_get(**args) ⇒ Nl::Async::Future<Messages::DoNapiGetReply>
Get information about NAPI instances configured on the system.
-
#do_napi_set(**args) ⇒ Nl::Async::Future<void>
Set configurable NAPI instance settings.
-
#do_page_pool_get(**args) ⇒ Nl::Async::Future<Messages::DoPagePoolGetReply>
Get / dump information about Page Pools.
-
#do_page_pool_stats_get(**args) ⇒ Nl::Async::Future<Messages::DoPagePoolStatsGetReply>
Get page pool statistics.
-
#do_queue_create(**args) ⇒ Nl::Async::Future<Messages::DoQueueCreateReply>
Create a new queue for the given netdevice.
-
#do_queue_get(**args) ⇒ Nl::Async::Future<Messages::DoQueueGetReply>
Get queue information from the kernel.
-
#dump_dev_get(**args) ⇒ Nl::Async::Stream<Messages::DumpDevGetReply>
Get / dump information about a netdev.
-
#dump_napi_get(**args) ⇒ Nl::Async::Stream<Messages::DumpNapiGetReply>
Get information about NAPI instances configured on the system.
-
#dump_page_pool_get(**args) ⇒ Nl::Async::Stream<Messages::DumpPagePoolGetReply>
Get / dump information about Page Pools.
-
#dump_page_pool_stats_get(**args) ⇒ Nl::Async::Stream<Messages::DumpPagePoolStatsGetReply>
Get page pool statistics.
-
#dump_qstats_get(**args) ⇒ Nl::Async::Stream<Messages::DumpQstatsGetReply>
Get / dump fine grained statistics.
-
#dump_queue_get(**args) ⇒ Nl::Async::Stream<Messages::DumpQueueGetReply>
Get queue information from the kernel.
Instance Method Details
#do_bind_rx(**args) ⇒ Nl::Async::Future<Messages::DoBindRxReply>
Bind dmabuf to netdev
Requires CAP_NET_ADMIN in the user namespace owning the network namespace.
3365 3366 3367 |
# File 'nl-linux/generated/nl/linux/netdev.rb', line 3365 def do_bind_rx(**args) @exchange.call(:"do", Messages::DoBindRxRequest, Messages::DoBindRxReply, args) end |
#do_bind_tx(**args) ⇒ Nl::Async::Future<Messages::DoBindTxReply>
Bind dmabuf to netdev for TX
3392 3393 3394 |
# File 'nl-linux/generated/nl/linux/netdev.rb', line 3392 def do_bind_tx(**args) @exchange.call(:"do", Messages::DoBindTxRequest, Messages::DoBindTxReply, args) end |
#do_dev_get(**args) ⇒ Nl::Async::Future<Messages::DoDevGetReply>
Get / dump information about a netdev.
3244 3245 3246 |
# File 'nl-linux/generated/nl/linux/netdev.rb', line 3244 def do_dev_get(**args) @exchange.call(:"do", Messages::DoDevGetRequest, Messages::DoDevGetReply, args) end |
#do_napi_get(**args) ⇒ Nl::Async::Future<Messages::DoNapiGetReply>
Get information about NAPI instances configured on the system.
3328 3329 3330 |
# File 'nl-linux/generated/nl/linux/netdev.rb', line 3328 def do_napi_get(**args) @exchange.call(:"do", Messages::DoNapiGetRequest, Messages::DoNapiGetReply, args) end |
#do_napi_set(**args) ⇒ Nl::Async::Future<void>
Set configurable NAPI instance settings.
Requires CAP_NET_ADMIN in the initial user namespace.
3382 3383 3384 |
# File 'nl-linux/generated/nl/linux/netdev.rb', line 3382 def do_napi_set(**args) @exchange.call(:"do", Messages::DoNapiSetRequest, nil, args) end |
#do_page_pool_get(**args) ⇒ Nl::Async::Future<Messages::DoPagePoolGetReply>
Get / dump information about Page Pools. Only Page Pools associated by the driver with a net_device can be listed. ifindex will not be reported if the net_device no longer exists.
3264 3265 3266 |
# File 'nl-linux/generated/nl/linux/netdev.rb', line 3264 def do_page_pool_get(**args) @exchange.call(:"do", Messages::DoPagePoolGetRequest, Messages::DoPagePoolGetReply, args) end |
#do_page_pool_stats_get(**args) ⇒ Nl::Async::Future<Messages::DoPagePoolStatsGetReply>
Get page pool statistics.
3288 3289 3290 |
# File 'nl-linux/generated/nl/linux/netdev.rb', line 3288 def do_page_pool_stats_get(**args) @exchange.call(:"do", Messages::DoPagePoolStatsGetRequest, Messages::DoPagePoolStatsGetReply, args) end |
#do_queue_create(**args) ⇒ Nl::Async::Future<Messages::DoQueueCreateReply>
Create a new queue for the given netdevice. Whether this operation is supported depends on the device and the driver.
Requires CAP_NET_ADMIN in the initial user namespace.
3412 3413 3414 |
# File 'nl-linux/generated/nl/linux/netdev.rb', line 3412 def do_queue_create(**args) @exchange.call(:"do", Messages::DoQueueCreateRequest, Messages::DoQueueCreateReply, args) end |
#do_queue_get(**args) ⇒ Nl::Async::Future<Messages::DoQueueGetReply>
Get queue information from the kernel. Only configured queues will be reported (as opposed to all available hardware queues).
3310 3311 3312 |
# File 'nl-linux/generated/nl/linux/netdev.rb', line 3310 def do_queue_get(**args) @exchange.call(:"do", Messages::DoQueueGetRequest, Messages::DoQueueGetReply, args) end |
#dump_dev_get(**args) ⇒ Nl::Async::Stream<Messages::DumpDevGetReply>
Get / dump information about a netdev.
3252 3253 3254 |
# File 'nl-linux/generated/nl/linux/netdev.rb', line 3252 def dump_dev_get(**args) @exchange.call(:"dump", Messages::DumpDevGetRequest, Messages::DumpDevGetReply, args) end |
#dump_napi_get(**args) ⇒ Nl::Async::Stream<Messages::DumpNapiGetReply>
Get information about NAPI instances configured on the system.
3337 3338 3339 |
# File 'nl-linux/generated/nl/linux/netdev.rb', line 3337 def dump_napi_get(**args) @exchange.call(:"dump", Messages::DumpNapiGetRequest, Messages::DumpNapiGetReply, args) end |
#dump_page_pool_get(**args) ⇒ Nl::Async::Stream<Messages::DumpPagePoolGetReply>
Get / dump information about Page Pools. Only Page Pools associated by the driver with a net_device can be listed. ifindex will not be reported if the net_device no longer exists.
3279 3280 3281 |
# File 'nl-linux/generated/nl/linux/netdev.rb', line 3279 def dump_page_pool_get(**args) @exchange.call(:"dump", Messages::DumpPagePoolGetRequest, Messages::DumpPagePoolGetReply, args) end |
#dump_page_pool_stats_get(**args) ⇒ Nl::Async::Stream<Messages::DumpPagePoolStatsGetReply>
Get page pool statistics.
3297 3298 3299 |
# File 'nl-linux/generated/nl/linux/netdev.rb', line 3297 def dump_page_pool_stats_get(**args) @exchange.call(:"dump", Messages::DumpPagePoolStatsGetRequest, Messages::DumpPagePoolStatsGetReply, args) end |
#dump_qstats_get(**args) ⇒ Nl::Async::Stream<Messages::DumpQstatsGetReply>
Get / dump fine grained statistics. Which statistics are reported depends on the device and the driver, and whether the driver stores software counters per-queue.
3352 3353 3354 |
# File 'nl-linux/generated/nl/linux/netdev.rb', line 3352 def dump_qstats_get(**args) @exchange.call(:"dump", Messages::DumpQstatsGetRequest, Messages::DumpQstatsGetReply, args) end |
#dump_queue_get(**args) ⇒ Nl::Async::Stream<Messages::DumpQueueGetReply>
Get queue information from the kernel. Only configured queues will be reported (as opposed to all available hardware queues).
3319 3320 3321 |
# File 'nl-linux/generated/nl/linux/netdev.rb', line 3319 def dump_queue_get(**args) @exchange.call(:"dump", Messages::DumpQueueGetRequest, Messages::DumpQueueGetReply, args) end |