From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0085.outbound.protection.outlook.com [104.47.37.85]) by dpdk.org (Postfix) with ESMTP id 88EE468AB for ; Fri, 2 Dec 2016 18:27:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=SonusNetworks.onmicrosoft.com; s=selector1-sonusnet-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=hQKdnWifsmvgu226m4fLgXyHDqxE01rNQwfbj7CJITI=; b=iH/PeXsGRMMN615VAioj3ic9sWWbqcnw3pYRo+g/tQ2PaTLkAz/Xnk6FXl+vlKD5QEBt637D7E0omwdJISE6zw6VfKPOlso6OPMu/z2IgzGLibaR6XdLnf3K0/66e1rHd/z3kwIsQbpXJjgsSEtWfqZ8Zwc0RrqPumt5Vso83So= Received: from BN3PR03MB1494.namprd03.prod.outlook.com (10.163.35.145) by BN3PR03MB1493.namprd03.prod.outlook.com (10.163.35.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.761.9; Fri, 2 Dec 2016 17:27:56 +0000 Received: from BN3PR03MB1494.namprd03.prod.outlook.com ([10.163.35.145]) by BN3PR03MB1494.namprd03.prod.outlook.com ([10.163.35.145]) with mapi id 15.01.0761.012; Fri, 2 Dec 2016 17:27:56 +0000 From: "Dey, Souvik" To: "dev@dpdk.org" , "wenzhuo.lu@intel.com" Thread-Topic: ixgbevf: support multicast packets from PF to VF Thread-Index: AdJMwUeMIovxzxwPQU2ASbR+LZsrlAAABeeQ Date: Fri, 2 Dec 2016 17:27:56 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=sodey@sonusnet.com; x-originating-ip: [208.45.178.4] x-ms-office365-filtering-correlation-id: 5a874f75-6c65-41c4-19bf-08d41ad88e0e x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:BN3PR03MB1493; x-microsoft-exchange-diagnostics: 1; BN3PR03MB1493; 7:zar7Du7hhjSuV47l/mJ7qaCdS+r/n8PUfuGZD1zjop5QByaZK+WxvJN0ZLwea94ck7O/yANtpdCjOM2iMZG3YDt0jut53abegugtvWuro9qfC2QfJ+1Pv9BcEg8NVa5tcqQk5us0f/GU7qAPB8dS1FvsP+3Zv2yPkvMSXKBf4z98xsTeBGm0ZhuRmRHZI7PYVDiQYzmnZQ37RjVqNIGOy3u4Ge+GySZFnHmXe9yW2X1bSEBq2UQRpm8DcfwJ1HZsSIWu78zlL9EB3jbPt4O1Mvu2p1zfhFF0uxZhEqFxqf0b2PXexaqVi79lvpk7jyMomyD8qSTu2dY8gRXyTjiEFmb5pLY5L3YOHRyKwSYblfmOvsiYkqlmujBts/pudLkH2gfXgfQzCICJK3UuMDJsmqPEcKwSFB/LDsnWGIXGe2cTzQSpjDvbVTT5HNXZZpDkRVjC/27zq53nI2nWfu75ZQ== x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(21748063052155)(228905959029699); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6041248)(20161123564025)(20161123560025)(20161123562025)(20161123555025)(6072148)(6047074); SRVR:BN3PR03MB1493; BCL:0; PCL:0; RULEID:; SRVR:BN3PR03MB1493; x-forefront-prvs: 0144B30E41 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(7916002)(199003)(189002)(53754006)(51874003)(377454003)(8936002)(50986999)(33656002)(54356999)(5001770100001)(102836003)(2906002)(76576001)(8676002)(66066001)(3900700001)(81156014)(81166006)(6116002)(97736004)(92566002)(7846002)(86362001)(9686002)(106356001)(122556002)(99286002)(105586002)(7736002)(101416001)(74316002)(2900100001)(3846002)(3660700001)(606004)(77096006)(68736007)(2501003)(790700001)(189998001)(229853002)(38730400001)(107886002)(39450400002)(39410400001)(5660300001)(3280700002)(7696004)(6506004); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR03MB1493; H:BN3PR03MB1494.namprd03.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; received-spf: None (protection.outlook.com: sonusnet.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: sonusnet.com X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Dec 2016 17:27:56.2167 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 29a671dc-ed7e-4a54-b1e5-8da1eb495dc3 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR03MB1493 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] ixgbevf: support multicast packets from PF to VF X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Dec 2016 17:27:59 -0000 Adding wenzhuo.lu@intel.com From: Dey, Souvik Sent: Friday, December 2, 2016 12:27 PM To: 'dev@dpdk.org' Subject: ixgbevf: support multicast packets from PF to VF Hi All, I am trying to support multicast packet over SRIOV using ke= rnel PF + DPDK VF(ixgbevf) drivers for ipv6. I am currently using 2.1 DPDK = and found that there was a patch in 16.04 for "ixgbe: support multicast pro= miscuous mode on VF". So I have backported the patch to the 2.1 DPDK but st= ill multicast packets were not coming up to the DPDK app. Then I tried to e= nable the rte_eth_dev_set_mc_addr_list and with the the packets were coming= up properly. Now I have some doubts : 1. Do we have to use both rte_eth_dev_set_mc_addr_list and rte_eth_al= lmulticast_enable to get the multicast packets. 2. How do we get the mc_addr_list dynamically as I don't see we are u= sing the kni_net_set_rx_mode in rte_kni. Without this the DPDK app will not= have any idea to update the mc_addr_list in the PF. 3. Is there any other patches which I should be using to get this fun= ctionality working. I am using : DPDK -2.1 Host kernel - 4.4 ( ubuntu) Guest kernel - 3.2 (Debian) Drivers - ixgbe ( for both pf and vf). Thanks in advance for the help and support. -- Regards, Souvik