From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 397D0A034E; Mon, 21 Feb 2022 09:31:08 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C9D0B40E5A; Mon, 21 Feb 2022 09:31:07 +0100 (CET) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id 1A87440DF6 for ; Mon, 21 Feb 2022 09:31:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1645432265; x=1676968265; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=Ywp03cGPjyOBuyHLmdu7iAEUMzLzw5wOgi7EhU+3QTU=; b=NJ3rUnYfsYQg355oBTp1FdSZwzE23ECJ9Urt7sChiZa4W0EqPlTuZR+f Ari+8Etlma3fEW5aa4N8GNXXUVL4VZzymUmpsCGSuJ+/1AX5CsFB0Dgi+ Tt+3KseNLgzo6bV2nar4vEhkQZZxlgCVA0dW2fEVAesrLxG4Fgc92TR+4 eukGepGc/htuxAARWqZo57oiPWmDiqNumhSUKGg5kY0arPvalsbkp/501 6b+HBVqmwAEpT6h8tdBTfMsVtCgs6+Oz9tKbF3gwtAxFH5BT9dNIsG0/5 yRI4JU4wg7uTRjA151D764m28jvgqBaHfukIQw3OnLbpVUglvPpzYSjuY Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10264"; a="250282179" X-IronPort-AV: E=Sophos;i="5.88,385,1635231600"; d="scan'208";a="250282179" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Feb 2022 00:30:49 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,385,1635231600"; d="scan'208";a="573032066" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by orsmga001.jf.intel.com with ESMTP; 21 Feb 2022 00:30:49 -0800 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Mon, 21 Feb 2022 00:30:48 -0800 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Mon, 21 Feb 2022 00:30:48 -0800 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20 via Frontend Transport; Mon, 21 Feb 2022 00:30:48 -0800 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.41) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.20; Mon, 21 Feb 2022 00:30:47 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MSgV2vl7LKgVNWIbM57ieQAphxqnAW115OnE/BxXpVu3sgHDI6tHMehh7QcJrLb3dqoI5u3xQ5lTRMLZBQqHtBvJHZkbsjyLoYGu1rRzsM02hxdmZv1ak72ZOcmPsG4T8U/SRnXvGS1mFASxUV0jKRdwMD1ud5HoEsTBr/h2v06ui3oCaT9GTblPb2TzbiJSi95fS5X2EtWdy10Mb5AfIZBWCNNBso7LQV4vDHTjTRvWG1avwvHu1Zy763I/tRgzrtDOj+cjM8Ul7jBpE/qj4w7BIUFt0eflZdLjaT29VVBoJWxUoClncWyYNpsLwXb0SeSMrFTD9Y1oIbz/oLhB1Q== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=trgAHM2aylWDuHjgZ/j8EMdsur2ux04x4N/b+NDrrLw=; b=kGGLtJ/LLeTf1HAuctD6ivlaeBpOvnJ1g3kSaGxXaE4gxi+DeeyjKA7OsdTCU7NltxU1L3rqstwGIdqbXPuilk4eDGKQsAKlw+sae4fxTWAWXH+GREtyQU9z28CowPzhlJTCdMZOcqB7rOhnoXAhfzG99aTEXoiLwJpWV/o/KnQE62+VxK6yRKpGwvJh+cf3P0rHrltbmwP19aUPEEVek10YRy3zKbXqs9HTP/eDb1Nijg3jXZA7o+c/nYfwVZMnjKQVzOIhBkoNp6mFBAmBF2DJDJnDX2b3ndOX2i5Nsdtw4e5fKooJ9qxwt++7xfYcSUPW9oVdwc1qvEdkKC8NRQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from BYAPR11MB2711.namprd11.prod.outlook.com (2603:10b6:a02:c2::30) by BL0PR11MB3154.namprd11.prod.outlook.com (2603:10b6:208:2f::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4995.14; Mon, 21 Feb 2022 08:30:45 +0000 Received: from BYAPR11MB2711.namprd11.prod.outlook.com ([fe80::c49e:1c1d:255:f2a1]) by BYAPR11MB2711.namprd11.prod.outlook.com ([fe80::c49e:1c1d:255:f2a1%6]) with mapi id 15.20.4995.027; Mon, 21 Feb 2022 08:30:45 +0000 From: "Jiang, YuX" To: Alvin Zhang , "Xing, Beilei" , "Guo, Junfeng" CC: "dev@dpdk.org" , "Zhang, AlvinX" Subject: RE: [dpdk-dev] [PATCH v3] net/i40e: disable source pruning Thread-Topic: [dpdk-dev] [PATCH v3] net/i40e: disable source pruning Thread-Index: AQHXxVHVOtMgwSa1lECrabu3Rl5jN6yebejw Date: Mon, 21 Feb 2022 08:30:45 +0000 Message-ID: References: <20211019093835.3492-1-alvinx.zhang@intel.com> <20211020012831.8480-1-alvinx.zhang@intel.com> In-Reply-To: <20211020012831.8480-1-alvinx.zhang@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.5.1.3 dlp-reaction: no-action dlp-product: dlpe-windows authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 25fba405-a8d3-4bc7-adc5-08d9f51474b1 x-ms-traffictypediagnostic: BL0PR11MB3154:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: H+Rik0m+VVoXsZukYcHqfZhwTqh84xa4WVcpMgc0lqDLczsGbhztdmNdaqXamPPGDjb5x4fGW4+5XNmNak+cxXE8M5jC5GpL6SVGChGARusAvTypuomYuV5nCilfetaODp/sUDdMVEl2oFeclMOrwj06MB1ka98/uWuqJKdrJpTFAn7dmri5Puhb5O1umMZ6CfDJqZGX0HxQHINxpvT7WHG/wht5OmUbfYMJYKasGalpVYNQXANrHNouXNmF0JMwucxF0R/9xSYofGeOgEUeAsiToQ1WMVnNKUBUyRCaCih5EecMXZXZ84mgdX+xraGt9srQ6rR3b3QdOwFf9+FHm05clkiUYWR26UKyiLBZ+5XbCTFkEfCJnd4ebYt3FPno2ePhz3ld+Q0FrFh4KLwOnufGvRyXVEkyyDL4/FsWRV0F8DDTDlZCC7kKq1JRcNIlPNYq5nEQjOZ/z3Shh3CNxDErco66US3Z3/QgWSKETHKBf3Wn0qS1fhnCpl0MWm94m03hma6opRURWYbrPQG6+tNB74zUl9ewlSrWEISqKDJOj0JSwjfhBtPvU1csqzrKAZ6rdgEAjfeRRX66/CkpdO23uoT0LZrt/v/MkwlBLEKrJYMUTy2uKS2Hg7lciGwSY4vvGYtVOyLGcThiWn6q0mpVTl4ZumzlT7hTn5TDjADBcAEmmH3ffvJkVvLXC/ZG55ZxsEwnZ0PUtu2AZprawENQwr5unCeAxNDbRFy1aSeoqwumFN9n6PLrR4Z6IPNLcgS5rA9+tMDk1NvDzLBqbjxg6Gxf9cm+ah1/CfroKQc= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR11MB2711.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(9686003)(7696005)(110136005)(6506007)(64756008)(66946007)(5660300002)(4326008)(186003)(316002)(107886003)(66476007)(66446008)(508600001)(76116006)(6636002)(66556008)(966005)(71200400001)(83380400001)(26005)(52536014)(8676002)(33656002)(8936002)(38100700002)(82960400001)(2906002)(55016003)(122000001)(53546011)(54906003)(38070700005)(86362001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?VcXAsPx3Js3J2lbm9qncghRVxvjViq71fudBXIQ7A5vb5ig4qbzBt8XyOxgU?= =?us-ascii?Q?5hNd9uArGDN/7PtnnxAKK2FWF55/7/kcdnDf6rasUAOLj6NVpEGKJ3pFLJXT?= =?us-ascii?Q?yo6QkPTXgMAVaR6CnCFuTd4SzLhCwxG3GFKclbIKzPagcgBTSObmFJiWLmcT?= =?us-ascii?Q?mP0fd7U6iIabkXU0grK0DZ6evP9hL0mi74vhSMo2dvNoNF3bXfQfsjjeOpSy?= =?us-ascii?Q?bN1D8RtEGBSMRLuZhb4u3tgF/Bj//76meSqX1wX3PTxfbrt4hpsciotiTdcx?= =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2FrxpPQnyDLGDneWYcwEeEMMepK0MtplpniRpX6?= =?us-ascii?Q?E4fgPdUzYRgfAdU87puNNtkO6UCQjmPWcva6Nwsb+V5IOW3iVzEuVM7xQZKH?= =?us-ascii?Q?h4DffqeV+I+yLSVVL4rzi+lKEdh5GA036Rrj55bzU/g9Qrr3K+cxt0yq+Ham?= =?us-ascii?Q?OTbuk0aIGtxa9z1izFs7AncgVrCMfOFaombwBbSgQ0YO7kdj69U/OCFRZ4Zs?= =?us-ascii?Q?q7SuWjWk99o0RKrj67TIEFQipfvGIUgebCQKSZ96s8DMDdgSVN8XysvJopzh?= =?us-ascii?Q?W1cE99y5EPxOBbpbIrtI9+BFwqM8uL+XhJoFrx95qmgk32imWEmHwQdqQtub?= =?us-ascii?Q?leItfuVEo4A+79nM1aqwJKNtEtVzXfo7qyTlQLtdUOPewlnRRNrT4C5Hs74O?= =?us-ascii?Q?QFaLkZED0t7MiG9/Hlpp1BY+N/v7VM8VLHsAmEIGziWuDqU6vqsYw+iq2ZoC?= =?us-ascii?Q?+CZFVZ/o27XvQgErGtOBgvs=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR11MB2711.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 25fba405-a8d3-4bc7-adc5-08d9f51474b1 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Feb 2022 08:30:45.4494 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: FRVskm6qWBuJJLLBg7/AtJ0CbUYuhZgr/GwOAv18G6EmDCVgm0jS4HKFC+xNwR5TJjS8OpZx0wyS74kSdrpvDQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR11MB3154 X-OriginatorOrg: intel.com X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org > -----Original Message----- > From: dev On Behalf Of Alvin Zhang > Sent: Wednesday, October 20, 2021 9:29 AM > To: Xing, Beilei ; Guo, Junfeng > > Cc: dev@dpdk.org; Zhang, AlvinX > Subject: [dpdk-dev] [PATCH v3] net/i40e: disable source pruning >=20 > VRRP advertisement packets are dropped on i40e PF devices because when > a MAC address is added to a device, packets originating from that MAC > address are dropped. >=20 > This patch adds a devarg to support disabling source pruning to work arou= nd > above issue. >=20 > Bugzilla ID: 648 >=20 > Signed-off-by: Alvin Zhang > --- Tested-by: Yu Jiang Verified patchset http://patches.dpdk.org/project/dpdk/patch/20211020012831= .8480-1-alvinx.zhang@intel.com/ on baseline dpdk22.03-rc1:ecc0dd455e "raw/c= nxk_gpio: add option to select subset of GPIOs" Tested pass on Ethernet Controller XL710 for 40GbE QSFP+ 1583, OS: Fedora L= inux 35/5.14.10-300.fc35.x86_64 Test step as below: ./dpdk-testpmd -l 1,2 -n 1 -a 18:00.0,disable_source_pruning=3D1 -- -i pkt =3D Ether(src=3D"00:00:5E:00:01:0A")/IP()/Raw("x"*60) test steps: 1). testpmd>set verbose 1 testpmd>start 2). Send the pkt, the pkt can be received by testpmd 3). testpmd>mac_addr add 0 00:00:5E:00:01:0A=20 4). Re-send the pkt, the pkt still can be received by testpmd.