From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 327D1A055A; Thu, 27 Feb 2020 00:05:12 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6290E1BFAB; Thu, 27 Feb 2020 00:05:11 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id EDE4C2C4F for ; Thu, 27 Feb 2020 00:05:09 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 01QN1aYe012225; Wed, 26 Feb 2020 15:05:09 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : mime-version; s=pfpt0818; bh=gPqk4rfHGyp00NxhJOeh2E1dCkxkRUvcdNl7aKRkkM0=; b=xsbK2MEEy9X7xmTMFUJUi0kd75Rw/uY51r0AZTta9hjvFXya1g1NnwYYmhG3vLb1x4ec vX1NkcD+MOxzczNHaieL35AVsInn+cPWoVG2qkqLFEVKIUUKyLuEy3U0DOqNO0nBn04C bz85KADIumsBOqQyDqgzXMKXcbfD2TQtS+KrWtxXZx8duuxPI9NDT2c9hp1uurM6eIG6 dB/k/+iLQDn+5/8j+LLLpjP6x+zXb1b/+JxEwjbCdSBz29ZaEuJ3iHWMKjytSTgKlp7/ YKRpM9sVeDuuY4QFdSbvzyR1HhOTujPQqxUUaWeRXnnKa0xSudKENLrnEWKHrYxyEHdW gg== Received: from sc-exch03.marvell.com ([199.233.58.183]) by mx0a-0016f401.pphosted.com with ESMTP id 2ydcm15e3y-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 26 Feb 2020 15:05:08 -0800 Received: from SC-EXCH02.marvell.com (10.93.176.82) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 26 Feb 2020 15:05:07 -0800 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.107) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Wed, 26 Feb 2020 15:05:07 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VmqLt8GBfk1s8kjUu326IvXiUPvfG0uA02AcIV+jMsCvkPPwRnGG2RwhYHwluB55luW++rWcVlv+DzGBHrjBv1FzxkItVk8S3HyI+sN64j0yWMwMHgs9SIYNlRCG4MbKjRClsCag5QE3HOYd8flv1/hVAp1mj/OQqvhY044Pu5J8fwDx3+5GdiFDLoPmzJ5VOm/z2WpMeJbAx8aXuXkL67/0ePFsgMH1zPCxrJ3LxomxZ1mbhBItXy80WflTEjNy/24gtQN9W8AUlWseiBqNozFhfPSwVbFqU5Vb572hDzT1CqN8pPnDx5EMwplnoRcv1H1xuFsPQxm49gOxL3tSLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gPqk4rfHGyp00NxhJOeh2E1dCkxkRUvcdNl7aKRkkM0=; b=Dqyoi/HWLKbGvWjSj8ixlq3So1+Cg1Q3059MTTWbAG8KqWIOA2PDN5JSBm8y5a7hJB0oIaajLgsGAcAdC20q/rkef7rd60sBemIddxfXKQV+89RxvHKMiZO6tupd+pznbdcx+jLDf5nforjSY6voWG6m67CahY/FQ2Fx3HDN7nhkaX43fgZbItA/8EZw7YEDxtl1EHLMuXUiSVtTGzI5OOA6TmgoOLIIxkngzwWMPBccD0uB4xegjsA980VgHU341/vCd7BFovSPmnwUd6HLmVjuqFkLRA3c55VHkfDjC1SKAO3J0/CwylUXgjUGs/SlTDy3fvs8bm1ASrOkMkwmUg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gPqk4rfHGyp00NxhJOeh2E1dCkxkRUvcdNl7aKRkkM0=; b=AYNXomoOffe6oypgyk1WMWfp78kb3Jr4PCTNBAr43iadRvM6rqdBoGw1bTdV/wcmYw4j8HpGK6Qajj6rN4kz7npeEU2LSmMCTmn+vXmcFsScBW0OxH+8RdB0FpqCkQu3xMOQ0fBPYbqYTsqi/hvb+zKFWn+JdighTYB4O/v4JmQ= Received: from BYAPR18MB2838.namprd18.prod.outlook.com (2603:10b6:a03:10a::18) by BYAPR18MB2423.namprd18.prod.outlook.com (2603:10b6:a03:132::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2750.18; Wed, 26 Feb 2020 23:05:04 +0000 Received: from BYAPR18MB2838.namprd18.prod.outlook.com ([fe80::dc19:9d5f:1a1c:ee16]) by BYAPR18MB2838.namprd18.prod.outlook.com ([fe80::dc19:9d5f:1a1c:ee16%4]) with mapi id 15.20.2750.021; Wed, 26 Feb 2020 23:05:04 +0000 From: Rasesh Mody To: "Dey, Souvik" , Shahed Shaikh , Jerin Jacob Kollanukkaran , "ferruh.yigit@intel.com" , "thomas@monjalon.net" CC: "dev@dpdk.org" Thread-Topic: [EXT] [PATCH] bnx2x: handle guest vlan for SR-IOV case Thread-Index: AQHV7MMAM/aHha6hp0CZT4RbaOqlWKgtkrcA Date: Wed, 26 Feb 2020 23:05:04 +0000 Message-ID: References: <20200226163635.18252-1-sodey@rbbn.com> In-Reply-To: <20200226163635.18252-1-sodey@rbbn.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/10.22.0.200209 x-originating-ip: [199.233.58.128] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: eb3a0206-384a-4dd6-0f0d-08d7bb1050df x-ms-traffictypediagnostic: BYAPR18MB2423: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3513; x-forefront-prvs: 0325F6C77B x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(396003)(376002)(39860400002)(346002)(366004)(136003)(189003)(199004)(8676002)(71200400001)(316002)(86362001)(66476007)(2616005)(9326002)(2906002)(64756008)(66946007)(81166006)(26005)(81156014)(186003)(66446008)(66556008)(4326008)(6506007)(53546011)(36756003)(5660300002)(33656002)(6486002)(6512007)(8936002)(478600001)(91956017)(110136005)(76116006); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR18MB2423; H:BYAPR18MB2838.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: marvell.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: tBq/Qs0xqDAUnM/NS6lIDPM+rFaYvZT5UJ9QY3nKQMWBKSvbESmKQmDDILWVQAsrTO1mKKotNR4qr0Gs/BKdQ01nA+mkE/v7VCqsCW4n7axOmclwNB5Qmorbp//HPW0YIn9De/tPEi6A/HCsxl4G1xwvM9PUFEo2SYAnCxNCJOJ/kR+/GOrEDUrWItWVDWFsftUmWjeixL9UIyNifcQeuQDFLDmEGr9JR35F/ogldiLVJST+eTq0xGPFQueC7TAKmteX4w9A9mzuWtpw7DLyY2p/5efVoftMfiz+iBd+RYFSGmsFObsmbcnHPhfzSMqKgMICaoleiS2UAw74UmGXqtD8Gl/zANVj1nBfhfk5qrYe+UvS2mcvOoZx+p4xD9Rg27awZVd59jmEMkC4E14fiGhgv6+WQpoACXL5ySasnmrxnB512N/PEq9ejjC3maq2 x-ms-exchange-antispam-messagedata: 3YBO4C49RaLLn3QKHlEboMmPptUEJpCNheVTnCVRMewj2cV+NdVGerucBBZs3Pb5SOFiAj+Zpy/bQ+o5XFECU95R+Nu3WJ3+lX/+1uVVdkLcb9csjjqTZuVsQzVuRZxYzpMoTTOtf097Eikxv3G3hA== MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: eb3a0206-384a-4dd6-0f0d-08d7bb1050df X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Feb 2020 23:05:04.5152 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: UbW91upu1Aa8J0l/6TFJQhpk0cpi9SbhaebIIjSqoNWCS3biaWmQrJUTdP96GH6dgUEVJ1zIy0z2A6V6M/sYdg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR18MB2423 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138, 18.0.572 definitions=2020-02-26_09:2020-02-26, 2020-02-26 signatures=0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] [EXT] [PATCH] bnx2x: handle guest vlan for SR-IOV case 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" SGkgRGV5LA0KDQpUaGUgY2hhbmdlcyBsb29rIGdvb2QsIGhvd2V2ZXIgcnRlL1JURSBwcmVmaXgg bmVlZCB0byBiZSB1c2VkLiBU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