mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 07:40:55 +07:00
01a3d79681
Add configuration setting for drivers to allow/block an RSS Redirection Table and a Hash Key querying for discrete VFs. On some devices VF share the mentioned above information with PF and querying it may adduce a theoretical security risk. We want to let a system administrator to decide if he/she wants to take this risk or not. Signed-off-by: Vlad Zolotarov <vladz@cloudius-systems.com> Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
20 lines
344 B
C
20 lines
344 B
C
#ifndef _LINUX_IF_LINK_H
|
|
#define _LINUX_IF_LINK_H
|
|
|
|
#include <uapi/linux/if_link.h>
|
|
|
|
|
|
/* We don't want this structure exposed to user space */
|
|
struct ifla_vf_info {
|
|
__u32 vf;
|
|
__u8 mac[32];
|
|
__u32 vlan;
|
|
__u32 qos;
|
|
__u32 spoofchk;
|
|
__u32 linkstate;
|
|
__u32 min_tx_rate;
|
|
__u32 max_tx_rate;
|
|
__u32 rss_query_en;
|
|
};
|
|
#endif /* _LINUX_IF_LINK_H */
|