mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2025-10-17 21:19:56 +00:00
add new IFLA_VF_TRUST netlink attribute
This commit is contained in:
parent
86c392f958
commit
dddf1b4412
@ -548,6 +548,7 @@ enum {
|
|||||||
* on/off switch
|
* on/off switch
|
||||||
*/
|
*/
|
||||||
IFLA_VF_STATS, /* network device statistics */
|
IFLA_VF_STATS, /* network device statistics */
|
||||||
|
IFLA_VF_TRUST, /* Trust VF */
|
||||||
__IFLA_VF_MAX,
|
__IFLA_VF_MAX,
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -609,6 +610,11 @@ enum {
|
|||||||
|
|
||||||
#define IFLA_VF_STATS_MAX (__IFLA_VF_STATS_MAX - 1)
|
#define IFLA_VF_STATS_MAX (__IFLA_VF_STATS_MAX - 1)
|
||||||
|
|
||||||
|
struct ifla_vf_trust {
|
||||||
|
__u32 vf;
|
||||||
|
__u32 setting;
|
||||||
|
};
|
||||||
|
|
||||||
/* VF ports management section
|
/* VF ports management section
|
||||||
*
|
*
|
||||||
* Nested layout of set/get msg is:
|
* Nested layout of set/get msg is:
|
||||||
|
Loading…
Reference in New Issue
Block a user