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 96590A0555; Thu, 20 Feb 2020 08:40:21 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id EC11B1BF98; Thu, 20 Feb 2020 08:40:19 +0100 (CET) Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30073.outbound.protection.outlook.com [40.107.3.73]) by dpdk.org (Postfix) with ESMTP id 682C3397D; Thu, 20 Feb 2020 08:40:18 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YJ097bQVGlfx4Ea/8EhGldF0Kc6d8C2ZDvCjDNMQYjgyzLw9+MDppUbap84iDIwXKORDNOW3JZUZClJB+Ab08lY40TNGnFuxg34s4SwIzuB4AHsy3vVtEshsdhjtJrjNfhjh3vUIP12uweer5fZn12BDq0By5YTgCAg0PWxDi4jvSnQyLQj3FZubNYNhS4OrBNvMI2Q9OLCHnkio9sHLBPfjoocxoUz+dLpVSdIyl5GPCKYO4D5WRoQkcQvGsm1xGDIB/CKd0UBpOIfWJo/iO1VyZqV52B8Qaj+ysID9nvIFUceIllsn1at5/xwa2DqwN8aHskAYw9DQqjM5LSN7nQ== 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=+Po5RTwftFF4rmdrLftgeOb6OSlNBbKvr6olS0NOLHY=; b=DyDqn1QE+76khr2WGfL9N9915oVjzDFAbIBsPZMxh6jgQ1mrtHVfWYDQWlG+qBUsIlLx+LBx8I0MVEJZRJv4KCE26IRiqA2xGw4aNPjNgJWqZZ7qj1zOru+JvptxswAD5Iv4xxBjo0Qz42SJaEJ7EsAtFxoZGDytqZavSsumZQZMtyD4dhk26EBSJtg0/6qaO4zgovRg+O/H6Lj8eNDyDhaArpsk8Ja3sDMi3k8LjWUiea4ehxl20kei6N08oNvBDwzVQTTUeuJeWJ3TaaszFKRoHLMMsRc7yQTq/Jp48iObZm4OVO6XZzl0Kkw5Bkg3YLUkehOjbkQDMfE6dQbhvg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+Po5RTwftFF4rmdrLftgeOb6OSlNBbKvr6olS0NOLHY=; b=FBiPaas2Cj95PVMikCQCKyBlQnWu9iO+FoNUCNdI/VL2j7Qhj+fiqQQ0nxwTRhK7VOx3F6dXsO2C+nEZYgiCmVwgHHDOhO1tcINjmdtrAKczEy5AvqVq2n1gQBjnfTFzZIRvzvcVxj7EQK9YnYf0vwSMSitYB0eO2cUiXtMCqwk= Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com (52.133.39.139) by AM0PR0502MB4084.eurprd05.prod.outlook.com (52.133.33.158) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2729.29; Thu, 20 Feb 2020 07:40:17 +0000 Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::e495:9258:db09:1de8]) by AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::e495:9258:db09:1de8%7]) with mapi id 15.20.2729.032; Thu, 20 Feb 2020 07:40:17 +0000 From: Matan Azrad To: Suanming Mou , Slava Ovsiienko CC: "dev@dpdk.org" , Raslan Darawsheh , "stable@dpdk.org" Thread-Topic: [PATCH v2 1/2] net/mlx5: fix layer flags missing in metadata Thread-Index: AQHV56Jalpb485BjV0+ljpO39lURlKgjsqRw Date: Thu, 20 Feb 2020 07:40:16 +0000 Message-ID: References: <1582122664-54731-1-git-send-email-suanmingm@mellanox.com> <1582171244-84418-1-git-send-email-suanmingm@mellanox.com> <1582171244-84418-2-git-send-email-suanmingm@mellanox.com> In-Reply-To: <1582171244-84418-2-git-send-email-suanmingm@mellanox.com> Accept-Language: en-US, he-IL Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=matan@mellanox.com; x-originating-ip: [193.47.165.251] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: f1831efd-3601-423a-8fda-08d7b5d82129 x-ms-traffictypediagnostic: AM0PR0502MB4084:|AM0PR0502MB4084: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtFwd x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-forefront-prvs: 031996B7EF x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(366004)(136003)(396003)(39860400002)(199004)(189003)(64756008)(66946007)(26005)(8676002)(33656002)(2906002)(71200400001)(81166006)(76116006)(66476007)(66556008)(66446008)(8936002)(81156014)(4326008)(9686003)(450100002)(55016002)(478600001)(4744005)(52536014)(86362001)(110136005)(7696005)(6636002)(316002)(186003)(54906003)(6506007)(5660300002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR0502MB4084; H:AM0PR0502MB4019.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: BCL:0; x-microsoft-antispam-message-info: Lt6DFY+7hAR1PBbLoeSw/s0V0qFtK9rFxZcoFRc4vVxJ87unKXOclLb3am1Hgu5GYwNIw13XP68WugkvmrWmgEH1JKmUJN4HfJfvG7xv71E3bHnEqtFBKx4KYeIpUvKZmsFZQgGvZ5M7Zousr12g8MWZfQNUGdaLZZIDAwfjPVr5p5/ABmOoWp4fST4JVsrCie0b2ViJHg1a+8n0IxCgja9MSqJQKEUAeVEYfR2nHE3BPwa5k7tmkgRFQGQHRdI4iXhn7Xtj4WGzg+vkp1pd6D3YmYFcni9pegZNfBdwHPi9KWC1K6S/hcVWtpumCamgfmQhvJufdHn8iV+wjrKpwgGRRoYKPRK8yPspsFTerkwi+iHLziSk39FzPOsJhsV5eBf4Ssi2wLZ9J6U+G9s5QDQdHhVnuS1aj8rJJzEe2QwDUCFIOQi2/8AIbQML+R9b x-ms-exchange-antispam-messagedata: GZQwUZhvp6kzvm5dSi2x8qoxAg+KSkoPPuYA/M9JF0U7K1I9DNU6/QjlAa7WVkBjJtjYg7pG1RGgKO/fK0I1wDexrWxoil/qh+A0VXlxchEO3DO4aB0FFAZzq/FVG0LsKFOjJZkrTLHyZBXb4kJlIA== 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: f1831efd-3601-423a-8fda-08d7b5d82129 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Feb 2020 07:40:16.8890 (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-CrossTenant-userprincipalname: xisiLv+JfNdEtOTbrSLx8OJf79l8xtv84REuubiIEV0v/o4RoMKHzye9BGNJFCHEgQ7DwJKu0z50KWVdFNqr0Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0502MB4084 Subject: Re: [dpdk-dev] [PATCH v2 1/2] net/mlx5: fix layer flags missing in metadata 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" From: Suanming Mou > Metadata suffix subflow inherits the RSS needed hash_fields from the pref= ix > subflow as the suffix subflow only has the tag match item unable to gener= ate > the full original hash_fields for RSS action. >=20 > Unfortunately, hash_fields will only be generated if flow has RSS action. > So it means the prefix flow won't generate the hash_fields as the RSS act= ion > has been split to the suffix flow. >=20 > Copy the layer flags from prefix subflow to suffix subflow to help the su= ffix > subflow to generate the correct hash_fields itself. >=20 > Fixes: 71e254bc0294 ("net/mlx5: split Rx flows to provide metadata copy") > Cc: viacheslavo@mellanox.com > Cc: stable@dpdk.org >=20 > Signed-off-by: Suanming Mou Acked-by: Matan Azrad