Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031058AbbD1Tgo (ORCPT ); Tue, 28 Apr 2015 15:36:44 -0400 Received: from mga14.intel.com ([192.55.52.115]:61515 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030737AbbD1Tgm convert rfc822-to-8bit (ORCPT ); Tue, 28 Apr 2015 15:36:42 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.11,665,1422950400"; d="scan'208";a="563252175" 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 1/3] ixgbe, ixgbevf: Add new mbox API to enable MC promiscuous mode Thread-Topic: [PATCH v4 1/3] ixgbe, ixgbevf: Add new mbox API to enable MC promiscuous mode Thread-Index: AdBzKjRGz5fU01DpRDmyC61lLEzXdAOwFdww Date: Tue, 28 Apr 2015 19:36:40 +0000 Message-ID: <305E19FFAC908240AB6DEBD1E2D8C1E17F8243E5@ORSMSX108.amr.corp.intel.com> References: <7F861DC0615E0C47A872E6F3C5FCDDBD05E7EBE2@BPXM14GP.gisp.nec.co.jp> In-Reply-To: <7F861DC0615E0C47A872E6F3C5FCDDBD05E7EBE2@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: 2425 Lines: 52 > -----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:04 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 1/3] ixgbe, ixgbevf: Add new mbox API to > enable MC promiscuous mode > > From: Hiroshi Shimamoto > > The limitation of the number of multicast address for VF is not enough for the > large scale server with SR-IOV feature. > IPv6 requires the multicast MAC address for each IP address to handle the > Neighbor Solicitation message. > We couldn't assign over 30 IPv6 addresses to a single VF interface. > > The easy way to solve this is enabling multicast promiscuous mode. > It is good to have a functionality to enable multicast promiscuous mode for each > VF from VF driver. > > This patch introduces the new mbox API, IXGBE_VF_SET_MC_PROMISC, to > enable/disable multicast promiscuous mode in VF. If multicast promiscuous > mode is enabled the VF can receive all multicast packets. > > With this patch, the ixgbevf driver automatically enable multicast promiscuous > mode when the number of multicast addresses is over than 30 if possible. > > Signed-off-by: Hiroshi Shimamoto > Reviewed-by: Hayato Momma > CC: Choi, Sy Jong > --- > drivers/net/ethernet/intel/ixgbe/ixgbe.h | 1 + > drivers/net/ethernet/intel/ixgbe/ixgbe_mbx.h | 2 + > drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c | 76 > +++++++++++++++++++++++ > drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c | 3 + > drivers/net/ethernet/intel/ixgbevf/mbx.h | 2 + > drivers/net/ethernet/intel/ixgbevf/vf.c | 27 +++++++- > drivers/net/ethernet/intel/ixgbevf/vf.h | 1 + > 7 files changed, 111 insertions(+), 1 deletion(-) 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/