libnl: nl_vf_rate Struct Reference

libnl 3.7.0

Data Fields
nl_vf_rate Struct Reference
Routing Library (libnl-route) » Links (Interfaces) » SRIOV

VF Rate information structure. More...

`#include <sriov.h>`

## Data Fields
int | api
uint32_t | rate
uint32_t | max_tx_rate
uint32_t | min_tx_rate

## Detailed Description

VF Rate information structure.

Definition at line 79 of file sriov.h.

## Field Documentation

## ◆ api

int nl_vf_rate::api

rtnl_link_rate_api_t API Version to use

Definition at line 80 of file sriov.h.

Referenced by rtnl_link_vf_get_rate(), and rtnl_link_vf_set_rate().

## ◆ rate

uint32_t nl_vf_rate::rate

Old API Max Rate in Mbps

Definition at line 81 of file sriov.h.

Referenced by rtnl_link_vf_get_rate(), and rtnl_link_vf_set_rate().

## ◆ max_tx_rate

uint32_t nl_vf_rate::max_tx_rate

New API Max Rate in Mbps

Definition at line 82 of file sriov.h.

Referenced by rtnl_link_vf_get_rate(), and rtnl_link_vf_set_rate().

## ◆ min_tx_rate

uint32_t nl_vf_rate::min_tx_rate

New API Mix Rate in Mbps

Definition at line 83 of file sriov.h.

Referenced by rtnl_link_vf_get_rate(), and rtnl_link_vf_set_rate().