lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20120214192634.GA14320@akhaparde-VBox>
Date:	Tue, 14 Feb 2012 13:26:34 -0600
From:	Ajit Khaparde <ajit.khaparde@...lex.com>
To:	<shemminger@...ux-foundation.org>
CC:	<davem@...emloft.net>, <netdev@...r.kernel.org>
Subject: [iproute2 RFC v2 0/2] Add option to ip link to set VF privileges

This patch adds ip link option to change the privilege level for the specified VF.

Example usage:-

If the current Privilege of the VF is 0x86:

To add VLAN privilege to the VF,
   ip link set ethX vf 0 privilege 0xC6

To add VLAN & MAC privilege to the VF,
   ip link set ethX vf 0 privilege 0xE6

To give just default privileges to the VF
   ip link set ethX vf 0 privilege 0x1

o/p of the *new* ip link show command:
ip link show eth2
9: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
    link/ether 00:00:c9:ef:7c:9a brd ff:ff:ff:ff:ff:ff
    vf 0 MAC 00:00:c9:f6:b0:4d, privilege 0x1
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ