Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031160AbbD1Thj (ORCPT ); Tue, 28 Apr 2015 15:37:39 -0400 Received: from mga03.intel.com ([134.134.136.65]:36073 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030826AbbD1The convert rfc822-to-8bit (ORCPT ); Tue, 28 Apr 2015 15:37:34 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.11,665,1422950400"; d="scan'208";a="563252505" From: "Schmitt, Phillip J" To: Hiroshi Shimamoto , "Kirsher, Jeffrey T" , Alexander Duyck , intel-wired-lan CC: "vyasevic@redhat.com" , "e1000-devel@lists.sourceforge.net" , "netdev@vger.kernel.org" , "Choi, Sy Jong" , "linux-kernel@vger.kernel.org" , David Laight , Hayato Momma , Edward Cree , Or Gerlitz , =?iso-8859-1?Q?Bj=F8rn_Mork?= Subject: RE: [PATCH v4 3/3] ixgbe: Add new ndo to allow VF multicast promiscuous mode Thread-Topic: [PATCH v4 3/3] ixgbe: Add new ndo to allow VF multicast promiscuous mode Thread-Index: AdBzKmQNJYklnKhIS1SLO9UAa7OXKQOwFQAg Date: Tue, 28 Apr 2015 19:37:32 +0000 Message-ID: <305E19FFAC908240AB6DEBD1E2D8C1E17F82443D@ORSMSX108.amr.corp.intel.com> References: <7F861DC0615E0C47A872E6F3C5FCDDBD05E7EC5C@BPXM14GP.gisp.nec.co.jp> In-Reply-To: <7F861DC0615E0C47A872E6F3C5FCDDBD05E7EC5C@BPXM14GP.gisp.nec.co.jp> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.22.254.138] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1988 Lines: 48 > -----Original Message----- > From: Intel-wired-lan [mailto:intel-wired-lan-bounces@lists.osuosl.org] On > Behalf Of Hiroshi Shimamoto > Sent: Thursday, April 09, 2015 6:08 PM > To: Kirsher, Jeffrey T; Alexander Duyck; intel-wired-lan > Cc: vyasevic@redhat.com; e1000-devel@lists.sourceforge.net; > netdev@vger.kernel.org; Choi, Sy Jong; linux-kernel@vger.kernel.org; David > Laight; Hayato Momma; Edward Cree; Or Gerlitz; Bj?rn Mork > Subject: [Intel-wired-lan] [PATCH v4 3/3] ixgbe: Add new ndo to allow VF > multicast promiscuous mode > > From: Hiroshi Shimamoto > > Implements the new netdev op to allow VF multicast promiscuous mode. > > The multicast promiscuous mode is not allowed for all VFs by default. > > The administrator can allow to VF multicast promiscuous mode for only trusted > VM. After allowing multicast promiscuous mode from the host, we can use over > 30 IPv6 addresses on VM. > # ip link set dev eth0 vf 1 mc_promisc on > > When disallowing multicast promiscuous mode, ixgbevf can only handle 30 > IPv6 addresses at most. > # ip link set dev eth0 vf 1 mc_promisc off > > Signed-off-by: Hiroshi Shimamoto > Reviewed-by: Hayato Momma > CC: Choi, Sy Jong > --- > > v4: Put reconfiguration of MC promiscuous mode into the previous loop. > > drivers/net/ethernet/intel/ixgbe/ixgbe.h | 1 + > drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 5 ++++ > drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c | 32 > ++++++++++++++++++++++++-- drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.h | > 2 ++ > 4 files changed, 38 insertions(+), 2 deletions(-) Tested-by: Phil Schmitt -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/