From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-eopbgr150052.outbound.protection.outlook.com [40.107.15.52]) by dpdk.org (Postfix) with ESMTP id C50B93256 for ; Wed, 1 May 2019 08:09:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JHKEy5sBwk4AJrVKCcgJa8o8Detjp0F5tO/f4UIox/s=; b=bMRzCAgpLkwo6U7klg92HevUrdVCdmppQZbHUpLNR94DnCcZYRrNt/XqrspSKHwoLVrcberLZPIRKd9N+W+xkYW99kFk7OOL9cJjzMBlw0uoIkBGdOU/yVh+ZJWJP7bSmF5fi09YF9M10w3MRUsYiOPskawZelVtG/t7YPDFjaY= Received: from AM0PR0502MB3795.eurprd05.prod.outlook.com (52.133.45.150) by AM0PR0502MB3969.eurprd05.prod.outlook.com (52.133.36.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1835.13; Wed, 1 May 2019 06:09:56 +0000 Received: from AM0PR0502MB3795.eurprd05.prod.outlook.com ([fe80::4192:b468:41e1:c323]) by AM0PR0502MB3795.eurprd05.prod.outlook.com ([fe80::4192:b468:41e1:c323%4]) with mapi id 15.20.1856.008; Wed, 1 May 2019 06:09:56 +0000 From: Shahaf Shuler To: Yongseok Koh , Ori Kam CC: "dev@dpdk.org" Thread-Topic: [PATCH v2] net/mlx5: fix E-Switch flow without port item Thread-Index: AQHU+2FYivak8zH/3kei5GWw1oSheKZNKQcAgAipFKA= Date: Wed, 1 May 2019 06:09:56 +0000 Message-ID: References: <1556018356-86706-1-git-send-email-orika@mellanox.com> <1556194855-12679-1-git-send-email-orika@mellanox.com> In-Reply-To: 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=shahafs@mellanox.com; x-originating-ip: [31.154.10.105] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: dd4c6f11-9592-44ef-9d73-08d6cdfba291 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(4618075)(2017052603328)(7193020); SRVR:AM0PR0502MB3969; x-ms-traffictypediagnostic: AM0PR0502MB3969: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:207; x-forefront-prvs: 00246AB517 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(376002)(396003)(366004)(39860400002)(136003)(199004)(189003)(33656002)(8676002)(446003)(81156014)(5660300002)(71200400001)(486006)(256004)(81166006)(76176011)(11346002)(316002)(53936002)(6506007)(86362001)(8936002)(53546011)(229853002)(6436002)(68736007)(4744005)(476003)(55016002)(2906002)(25786009)(26005)(66066001)(66556008)(71190400001)(478600001)(102836004)(6246003)(3846002)(4326008)(110136005)(6116002)(66476007)(186003)(6636002)(64756008)(9686003)(66946007)(66446008)(52536014)(76116006)(73956011)(74316002)(7736002)(305945005)(14454004)(99286004)(7696005); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR0502MB3969; H:AM0PR0502MB3795.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: r2CEm4oMQwKopAyZL4y3VuYC/HaeWGMKNANkfPY+Y0pqLODk4GViHUXCieVwLBiu50yUCnnaThKvhTCnuynikK+aqxtrRDoAqrQfC8L14PSFm4iRZo5ykOmE7coD6hWdbQ1MMIU+iVd77Qll53HVFZ9CqzirRuRUKmXt4qi/7XU531pF1x/kJmIgb2/jrsrg+ho5ghyg7j9YD78Xl5oSeORNbAYPdb7VTF5X/wvc1c+LlWuztyuVSmE9SGwLkyCd9IuHZkgOnpQ+e5luxdYVJC7Hs7d+wFA8g8YWIF6VARXS/YrMxBqIY8kp2yj1tp+1wm+FmL0Sa4NuXo5MlqgiuSO35YwJZnwziAg1SJ99B2VgLsW4C4+1dfNp/39Ho0xmnttJKsJexL8O2TL64YoBY8+nPpk/OlaVoDcKmp5wdUE= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: dd4c6f11-9592-44ef-9d73-08d6cdfba291 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 May 2019 06:09:56.6600 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0502MB3969 Subject: Re: [dpdk-dev] [PATCH v2] net/mlx5: fix E-Switch flow without port item 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: Wed, 01 May 2019 06:09:58 -0000 Thursday, April 25, 2019 8:54 PM, Yongseok Koh: > Subject: Re: [PATCH v2] net/mlx5: fix E-Switch flow without port item >=20 >=20 >=20 > > On Apr 25, 2019, at 5:20 AM, Ori Kam wrote: > > > > When creating a flow rule without the port_id pattern item, always the > > PF was selected. > > > > This commit fixes this issue, if no port_id pattern item is available > > then we use the port that the flow was created on as source port. > > > > Fixes: 822fb3195348 ("net/mlx5: add port id item to Direct Verbs") > > > > Signed-off-by: Ori Kam > > --- > Acked-by: Yongseok Koh Applied to next-net-mlx, thanks. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 69B4CA0ACC for ; Wed, 1 May 2019 08:10:00 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9C596326C; Wed, 1 May 2019 08:09:59 +0200 (CEST) Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-eopbgr150052.outbound.protection.outlook.com [40.107.15.52]) by dpdk.org (Postfix) with ESMTP id C50B93256 for ; Wed, 1 May 2019 08:09:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JHKEy5sBwk4AJrVKCcgJa8o8Detjp0F5tO/f4UIox/s=; b=bMRzCAgpLkwo6U7klg92HevUrdVCdmppQZbHUpLNR94DnCcZYRrNt/XqrspSKHwoLVrcberLZPIRKd9N+W+xkYW99kFk7OOL9cJjzMBlw0uoIkBGdOU/yVh+ZJWJP7bSmF5fi09YF9M10w3MRUsYiOPskawZelVtG/t7YPDFjaY= Received: from AM0PR0502MB3795.eurprd05.prod.outlook.com (52.133.45.150) by AM0PR0502MB3969.eurprd05.prod.outlook.com (52.133.36.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1835.13; Wed, 1 May 2019 06:09:56 +0000 Received: from AM0PR0502MB3795.eurprd05.prod.outlook.com ([fe80::4192:b468:41e1:c323]) by AM0PR0502MB3795.eurprd05.prod.outlook.com ([fe80::4192:b468:41e1:c323%4]) with mapi id 15.20.1856.008; Wed, 1 May 2019 06:09:56 +0000 From: Shahaf Shuler To: Yongseok Koh , Ori Kam CC: "dev@dpdk.org" Thread-Topic: [PATCH v2] net/mlx5: fix E-Switch flow without port item Thread-Index: AQHU+2FYivak8zH/3kei5GWw1oSheKZNKQcAgAipFKA= Date: Wed, 1 May 2019 06:09:56 +0000 Message-ID: References: <1556018356-86706-1-git-send-email-orika@mellanox.com> <1556194855-12679-1-git-send-email-orika@mellanox.com> In-Reply-To: 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=shahafs@mellanox.com; x-originating-ip: [31.154.10.105] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: dd4c6f11-9592-44ef-9d73-08d6cdfba291 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(4618075)(2017052603328)(7193020); SRVR:AM0PR0502MB3969; x-ms-traffictypediagnostic: AM0PR0502MB3969: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:207; x-forefront-prvs: 00246AB517 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(376002)(396003)(366004)(39860400002)(136003)(199004)(189003)(33656002)(8676002)(446003)(81156014)(5660300002)(71200400001)(486006)(256004)(81166006)(76176011)(11346002)(316002)(53936002)(6506007)(86362001)(8936002)(53546011)(229853002)(6436002)(68736007)(4744005)(476003)(55016002)(2906002)(25786009)(26005)(66066001)(66556008)(71190400001)(478600001)(102836004)(6246003)(3846002)(4326008)(110136005)(6116002)(66476007)(186003)(6636002)(64756008)(9686003)(66946007)(66446008)(52536014)(76116006)(73956011)(74316002)(7736002)(305945005)(14454004)(99286004)(7696005); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR0502MB3969; H:AM0PR0502MB3795.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: r2CEm4oMQwKopAyZL4y3VuYC/HaeWGMKNANkfPY+Y0pqLODk4GViHUXCieVwLBiu50yUCnnaThKvhTCnuynikK+aqxtrRDoAqrQfC8L14PSFm4iRZo5ykOmE7coD6hWdbQ1MMIU+iVd77Qll53HVFZ9CqzirRuRUKmXt4qi/7XU531pF1x/kJmIgb2/jrsrg+ho5ghyg7j9YD78Xl5oSeORNbAYPdb7VTF5X/wvc1c+LlWuztyuVSmE9SGwLkyCd9IuHZkgOnpQ+e5luxdYVJC7Hs7d+wFA8g8YWIF6VARXS/YrMxBqIY8kp2yj1tp+1wm+FmL0Sa4NuXo5MlqgiuSO35YwJZnwziAg1SJ99B2VgLsW4C4+1dfNp/39Ho0xmnttJKsJexL8O2TL64YoBY8+nPpk/OlaVoDcKmp5wdUE= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: dd4c6f11-9592-44ef-9d73-08d6cdfba291 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 May 2019 06:09:56.6600 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0502MB3969 Subject: Re: [dpdk-dev] [PATCH v2] net/mlx5: fix E-Switch flow without port item 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" Message-ID: <20190501060956.Tj8-xMFGnjkZhy9YVf7LyXhk7BLOUBmdA_x5UvNZLPg@z> Thursday, April 25, 2019 8:54 PM, Yongseok Koh: > Subject: Re: [PATCH v2] net/mlx5: fix E-Switch flow without port item >=20 >=20 >=20 > > On Apr 25, 2019, at 5:20 AM, Ori Kam wrote: > > > > When creating a flow rule without the port_id pattern item, always the > > PF was selected. > > > > This commit fixes this issue, if no port_id pattern item is available > > then we use the port that the flow was created on as source port. > > > > Fixes: 822fb3195348 ("net/mlx5: add port id item to Direct Verbs") > > > > Signed-off-by: Ori Kam > > --- > Acked-by: Yongseok Koh Applied to next-net-mlx, thanks.