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 CF85468AB for ; Fri, 2 Dec 2016 18:26:59 +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=ZXtrZ8BamcYPnsx/9SF7wjuqEYnLY5oS5vypVHKrIEY=; b=tesanN0hQd7HFNcOV84R+SyxGzeAHTJtb2aEHYJGLbRvQubi7sG1FwbWmK1oMmRRj0sJLCS2wxNViLjBZ4QQ8CUQiHmicyfic2w9K9EUIQtXWRfaaFtQ9JL01AQVUN7yLH3qIbX3QUBlf7UFuTzrs+nqxXqCS2xyx0qIrOsnEMM= 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:26:58 +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:26:57 +0000 From: "Dey, Souvik" To: "dev@dpdk.org" Thread-Topic: ixgbevf: support multicast packets from PF to VF Thread-Index: AdJMwUeMIovxzxwPQU2ASbR+LZsrlA== Date: Fri, 2 Dec 2016 17:26:57 +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: be2c7344-1fff-4817-b2d8-08d41ad86b2b x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:BN3PR03MB1493; x-microsoft-exchange-diagnostics: 1; BN3PR03MB1493; 7:g6TIFSSR/Z15INHNvScvLCoB9Bo8428qbtSDBBGWiwrCw7gc8dstccyUlNr0lupMRg2iZw+WU2pC3eCopJGnNbNGSvX/fprScNQ3clwSTAeWhmwSR9v0AalGbCR/WPGQa5GGZ6Y0IgMteLkCA27bgABzBMfm8exCCVNWDeWTrFiRDZrhAOdxTdrBVwu6Cuk2ub3Yr/pUmFwnYTGnmffB/Qfkqe0WKq96gvcCiuUj9qukCE9c1+B5++/hHbIyDzmChJpYZvOU3HhsHWhhk/Wi/XCxqv/f90A6bkEBQpjEtMTGWTJLMXuy38YTU8v9ipVqM9VhhlMsbyZc0Ou0I6dUDkc6MMU6d/U15gk7JVaJeSTKVDHyvmQdcDnTR8pgw5UIhdZbnlZ1o0F4GgkkQ8h0mUekKu5hNiPkOmevz8ieR6cKcp+Admyc4KrGx67mZsBUE87bbtH7VFRDZJrbn6dFlg== x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(21748063052155); 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)(6009001)(7916002)(199003)(189002)(53754006)(51874003)(8936002)(50986999)(33656002)(5640700001)(54356999)(102836003)(2906002)(76576001)(8676002)(66066001)(81156014)(81166006)(6116002)(97736004)(1730700003)(92566002)(7846002)(86362001)(9686002)(106356001)(122556002)(99286002)(105586002)(5630700001)(7736002)(9326002)(101416001)(74316002)(2900100001)(6916009)(3846002)(3660700001)(2351001)(77096006)(68736007)(2501003)(790700001)(189998001)(450100001)(38730400001)(110136003)(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:26:57.6434 (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: [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:00 -0000 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