From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Feldman Subject: [net-next-2.6 V5 PATCH 0/3] Add port-profile netlink support Date: Wed, 05 May 2010 21:42:00 -0700 Message-ID: <20100506044200.29677.20604.stgit@savbu-pc100.cisco.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, chrisw@redhat.com, arnd@arndb.de To: davem@davemloft.net Return-path: Received: from sj-iport-1.cisco.com ([171.71.176.70]:42766 "EHLO sj-iport-1.cisco.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751808Ab0EFEmB (ORCPT ); Thu, 6 May 2010 00:42:01 -0400 Sender: netdev-owner@vger.kernel.org List-ID: (Resending to fix a bug found in testing get_vf_port_profile). The following series adds port-profile netlink support and adds an implementation to Cisco's enic netdev driver: 1/3: Adds port-profile netlink RTM_SETLINK/RTM_GETLINK support, and adds matching netdev ops net_{set|get}_vf_port_profile. 2/3: Adds enic support for net_{set|get}_vf_port_profile for enic dynamic devices. 3/3: (please don't apply this 3rd patch) Enables SR-IOV support for enic to illustrate support for port-profile netlink using SR-IOV- compliant devices. The SETLINK/GETLINK support follows the model for other IFLA_VF_* msgs used for SR-IOV devices where the receipent of the netlink msg is the PF, but the target is the VF. The intent of this patch set is to cover both definitions of port-profile as defined by Cisco's enic use and as defined by VSI discover protocol (VDP), used in VEPA implemenations. While both definitions are based on pre- standards, the concept of a port-profile to be applied to an external switch port on behalf of a virtual machine interface is common, as well as many of the fields defining the protocols. Signed-off-by: Scott Feldman Signed-off-by: Roopa Prabhu