• Greg Rose's avatar
    iproute2: Add new command to ip link to enable/disable VF spoof check · 7b8179c7
    Greg Rose authored
    Add ip link command parsing for VF spoof checking enable/disable
    
    V2 - Fixed problem with parsing of dump info on kernels that don't
         support the spoof checking option and also wrapped the ifla_vf_info
         structure in #ifdef __KERNEL__ to prevent user space from directly
         accessing the structure
    V3 - Improved parsing of vfinfo
    V4 - Put Makefile back to proper list of subdirs
    V5 - Remove struct ifla_vf_info, it is only used by the kernel
    V6 - Make sure spoof check is reported by the driver - rtnl will set
         it to -1 to indicate driver didn't report a value.
    Signed-off-by: default avatarGreg Rose <gregory.v.rose@intel.com>
    Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
    7b8179c7
iplink.c 23.2 KB