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 3A96FA04F0; Thu, 19 Dec 2019 12:26:24 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1498B1BDFD; Thu, 19 Dec 2019 12:26:24 +0100 (CET) Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-eopbgr130077.outbound.protection.outlook.com [40.107.13.77]) by dpdk.org (Postfix) with ESMTP id C90A6330 for ; Thu, 19 Dec 2019 12:26:21 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fj0l/OUfrxpJN8CTs6n4WwG7PKELL78EtOh5pKs0feFQ9l27vIYgH+q849THVxi124+VnhczAV4H+08f8y+JPqAX+TpYZ6wUNlfnb7+R//qG/slMf3RWeo4nXGnbz1cvrWkg6yZ5jLIxqBBXE99sJdKWbVaYrqtG+o5aV/f4rT8iK6pmu7pg6Rv71zsZNHXtA/zmfB4GoO4RpNQhSnDmAnai1egT1tlkGXtu5yM1+mPPzMru72jvBlbrzZH39JvJFpl2MpX3Jk2IcfjJdI9v32x2h3nDl5P3MVRXVnta6y5VQlZd7lvBX3MEi0f8OTCipNQ8ofVgu7G1Aq/Dz4ra6g== 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=gOnOcrnGH+w91RZNCcfe9boLNJhE0A5jT3XNhuPi4GE=; b=aGEv7EjlGRoS9KYuuJHV+eeUxFQUHTFl0LB9ZGD1rx1OYkCVSTQVvz4MiDDsJxglyaLLesS4hxJkQv0I20T6QxRBWw0CppNv2ke799VM596EGIuVmqclPzNYC3zLX0XlpcCSG+iAnBs59jPc2L8JonkOMONkBcq3pAJCdo+Bj4JJUKPBuM6POKbfoK9+Vyezl1G/Ui15LUzZfm5fmS2dYCnvpYe20q11ZcnKL8lsdAD9tvd2XDCp1y5u/f3yGF+5XyG5W9i3nYNa0eJaCSPbhyUYln36M/7crzsWZ7gcTCr7fzPbYmDG2JYdiXuXMtQqmM5Yh3OojIXwaOSfxl2R+w== 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=gOnOcrnGH+w91RZNCcfe9boLNJhE0A5jT3XNhuPi4GE=; b=ZS4ixNEUqDPKJYmiyILEaRUdTH1+x7YVfrOD4wzcAb7gOdkRhWnB0MEo1MAq4ID75xSK53ctE2dEMbJzeArLLKiMv4XUDh0+Y4UNurQefdu9RY1yyKRDSVJ2Q9D/vBeLPlc1gHpNm9bNfDTvMG9SnUo0W2Kw+iWHFc9ORG9BAOo= Received: from DB3PR0502MB3964.eurprd05.prod.outlook.com (52.134.65.161) by DB3PR0502MB4043.eurprd05.prod.outlook.com (52.134.68.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2538.18; Thu, 19 Dec 2019 11:26:20 +0000 Received: from DB3PR0502MB3964.eurprd05.prod.outlook.com ([fe80::2151:27c7:b8ec:3da9]) by DB3PR0502MB3964.eurprd05.prod.outlook.com ([fe80::2151:27c7:b8ec:3da9%6]) with mapi id 15.20.2538.022; Thu, 19 Dec 2019 11:26:20 +0000 From: Raslan Darawsheh To: Dekel Peled , Matan Azrad , Slava Ovsiienko , Shahaf Shuler CC: Ori Kam , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] net/mlx5: remove redundant define of LRO masks Thread-Index: AQHVtXfEBNn/2smIe0asW/KkK4dxrKfBUzvA Date: Thu, 19 Dec 2019 11:26:20 +0000 Message-ID: References: <748eabc4ceca57bfbb982a74699254c0cf3f8dab.1576655039.git.dekelp@mellanox.com> In-Reply-To: <748eabc4ceca57bfbb982a74699254c0cf3f8dab.1576655039.git.dekelp@mellanox.com> 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=rasland@mellanox.com; x-originating-ip: [212.29.221.74] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 486fb72f-517e-4187-929e-08d78476457e x-ms-traffictypediagnostic: DB3PR0502MB4043:|DB3PR0502MB4043: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:651; x-forefront-prvs: 0256C18696 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(39860400002)(376002)(346002)(396003)(136003)(366004)(199004)(13464003)(189003)(66556008)(55016002)(186003)(9686003)(71200400001)(4326008)(86362001)(33656002)(66476007)(26005)(66946007)(110136005)(54906003)(316002)(478600001)(64756008)(81166006)(81156014)(76116006)(66446008)(52536014)(6636002)(7696005)(5660300002)(2906002)(8936002)(6506007)(53546011)(8676002); DIR:OUT; SFP:1101; SCL:1; SRVR:DB3PR0502MB4043; H:DB3PR0502MB3964.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: PWt66UWfER6SaAu79M7wXEFUBfF8gufdeg5Qo0Wn8FM4qDh+sW3d0jUmsCQJ6o3gpjhj++486JJqUkJW7KLLfJVYDhJlCqfGzrSGO4at1Ctd4ivXLTQ3qcoxj1d8ocjpRCPgZ9vxB1/S83Np0kPW6UqqsiuA3LVhQvVLsOlEIuCKrf8P17JByT5gFIoStzv7zzi+JZ2+CEnJDwh16nASnmEY/SL0oldtdAkSmjvghukmDn3H2rE/12xFKvRhMYwoMMoNT1Qaq/CRbx6DFBtUFO3y5QbjNAK3HJG8uAdNsLorBuGHCm5nsfIK4yinV/xMlSA89dOopL14ixifWVSvFV0ctZatGZC2mfFVFQf13rruG1GWpksLAUzZcR/kR5K+zq9lhFjk766hL5z9TMLB8UT7YDQqj+sbK/USy7evS6KbSO7Ku9EHhFxS5rAVA4ODzgpq3aQdpozq88pBws1guVHbde336MHoWDM/Jm/FKhcxGCV95SaZy+8JTFCTK/op 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: 486fb72f-517e-4187-929e-08d78476457e X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Dec 2019 11:26:20.1106 (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: LY1FrtCGpIzEMJaUEPDWn5cX95dVFkqgCtI/uF+zsFQpfoJATGZTLHSDQYkj6JvFLgoLf/znD8U8hXfPwOEmmg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0502MB4043 Subject: Re: [dpdk-dev] [PATCH] net/mlx5: remove redundant define of LRO masks 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" Hi, > -----Original Message----- > From: dev On Behalf Of Dekel Peled > Sent: Wednesday, December 18, 2019 9:50 AM > To: Matan Azrad ; Slava Ovsiienko > ; Shahaf Shuler > Cc: Ori Kam ; dev@dpdk.org > Subject: [dpdk-dev] [PATCH] net/mlx5: remove redundant define of LRO > masks >=20 > Bit-masks MLX5_FLOW_LAYER_IPV4_LRO and > MLX5_FLOW_LAYER_IPV6_LRO were > added during work on LRO. > They are not used anywhere in current code. >=20 > This patch removes these redundant definitions. >=20 > Signed-off-by: Dekel Peled > Acked-by: Matan Azrad >=20 > --- > drivers/net/mlx5/mlx5_flow.h | 6 ------ > 1 file changed, 6 deletions(-) >=20 > diff --git a/drivers/net/mlx5/mlx5_flow.h b/drivers/net/mlx5/mlx5_flow.h > index 3fff5dd..08e223e 100644 > --- a/drivers/net/mlx5/mlx5_flow.h > +++ b/drivers/net/mlx5/mlx5_flow.h > @@ -131,12 +131,6 @@ enum mlx5_feature_name { > (MLX5_FLOW_LAYER_OUTER_L2 | MLX5_FLOW_LAYER_OUTER_L3 | > \ > MLX5_FLOW_LAYER_OUTER_L4) >=20 > -/* LRO support mask, i.e. flow contains IPv4/IPv6 and TCP. */ > -#define MLX5_FLOW_LAYER_IPV4_LRO \ > - (MLX5_FLOW_LAYER_OUTER_L3_IPV4 | > MLX5_FLOW_LAYER_OUTER_L4_TCP) > -#define MLX5_FLOW_LAYER_IPV6_LRO \ > - (MLX5_FLOW_LAYER_OUTER_L3_IPV6 | > MLX5_FLOW_LAYER_OUTER_L4_TCP) > - > /* Tunnel Masks. */ > #define MLX5_FLOW_LAYER_TUNNEL \ > (MLX5_FLOW_LAYER_VXLAN | MLX5_FLOW_LAYER_VXLAN_GPE | \ > -- > 1.8.3.1 Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh