]> git.proxmox.com Git - mirror_iproute2.git/commit
iproute2: Add new command to ip link to enable/disable VF spoof check
authorGreg Rose <gregory.v.rose@intel.com>
Thu, 13 Oct 2011 20:31:32 +0000 (20:31 +0000)
committerStephen Hemminger <shemminger@vyatta.com>
Wed, 23 Nov 2011 22:53:12 +0000 (14:53 -0800)
commit7b8179c780a1abd547e5002c4e6fba898c6d72bb
treea745f0da06c71a34045e428d55e6ce5cd37a68d1
parent719b958bbdfd1cb85d4b59826c503d0982322a9d
iproute2: Add new command to ip link to enable/disable VF spoof check

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: Greg Rose <gregory.v.rose@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
ip/ipaddress.c
ip/iplink.c
man/man8/ip.8