From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0080.outbound.protection.outlook.com [104.47.1.80]) by dpdk.org (Postfix) with ESMTP id 6D8375F2D for ; Wed, 1 Aug 2018 14:51:59 +0200 (CEST) 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=/tviztWyj3V+byjD6Gb1YHLQ9C/bnmfSaYzZwvj6IgI=; b=YaWAnGyDiEpVJPMr89AexceilT4iyS2QyIr5aFn0g+zhIc10tZ25+rltRTPlehcjtrAF9hjZkUVq3kKMq8v1Z4UQ/L09PpgyPtqdt0hZrIooCGH/88pEmnM4yHlvGzNdEL/SvPCGD7TnmOk8KsWJX770d5/k6S/cl/dHxLtpveY= Received: from DB7PR05MB4426.eurprd05.prod.outlook.com (52.134.109.15) by DB7PR05MB4492.eurprd05.prod.outlook.com (52.134.109.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.995.21; Wed, 1 Aug 2018 12:51:47 +0000 Received: from DB7PR05MB4426.eurprd05.prod.outlook.com ([fe80::52a:650b:ae10:fc3]) by DB7PR05MB4426.eurprd05.prod.outlook.com ([fe80::52a:650b:ae10:fc3%4]) with mapi id 15.20.1017.010; Wed, 1 Aug 2018 12:51:47 +0000 From: Shahaf Shuler To: Matan Azrad , Mordechay Haimovsky CC: "dev@dpdk.org" Thread-Topic: [PATCH] net/mlx4: advertise jumbo frame support in Rx Thread-Index: AQHUKYB9zjLJEUgc80GwFRXFLXo4faSq2azA Date: Wed, 1 Aug 2018 12:51:47 +0000 Message-ID: References: <1533053586-8551-1-git-send-email-motih@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: [193.47.165.251] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB7PR05MB4492; 6:Egw3IsCZbWLwN+KWVnoXOLsPHpalmDPdkRrCmcxEuGFfkSMyjbrFeCLPGxAxr6fXYJdknaZHoHeMpn0xABS0aHl+MPZtS8usmBk5DFKQy8dgO+Urgmfbbr8VkJlLlJxoqYdqcNexPC+zsUeRxfs8CIM1EuMSQNc7bNKsIDNXPn/cDxOKi6vWDxbGEJRhnKDss+j4/N/uQcqulO5WRqofgaHljP7eNk+fcDpHrPMHvKz5x2O4AG+cC/3dybTmCA1NOgSr0U2HGPZUXbfqi5YaYI10aJ8+f88InSxTLdIdeqYMeDoX3amk6R5PfsmK46icumWsQBg9EsbfXRNHlkO8ALO2LuuC6Oj4q96S+ELv360yGwj9ZlWfrD+KfcoGvr6YJJTm/FhqYtTE6KmBHPcWGlyhp6lfQ+uSeVIoL/mfvRbnl1Vbyr1Mhaf/CReEgyDtx3bwKqHmZP0hoDLvnvMZYw==; 5:ZKmsnnyqFWvYRt8zFfpKBfz312Vm0LIU2dPYft2OTaiISgzIi49aAxx2rSaBPPxfXWXgb+Wz8rqFMbf4eLt8D0GZZ6M4df+kjOkZCf4ZFHaBaNCPyE8ZyXTOfFIVdvCmZQnzitF7pUp4Rq4IGo3HBI7Qe9/1iLgnjrJed4F4OeE=; 7:x/Om9vY14gu2OTAjLtxzN35/VRvUvzjq1BtsfpkSquxO3x/gMcvjbGMRgIik2uH0wBsMAl+sWvp2YfvzVFNkDm3jOdRaHLj+8FCjHXeGM9G9AyoY760q+/k87w22b1NLLLC4hLsYQ2rsIA5ita9DYQ6lbN12OcEjJAvakmDp95zmUggxfPvB/Jrm5KPFvkV3HSIrV0QCXniuuVXdKZPE9qmnPN4/NPWJYUeNe/Ywtw+OWVduSwFIg63NrQzMk+NI x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: e34c4915-449c-4754-b0d0-08d5f7ad8ab6 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:DB7PR05MB4492; x-ms-traffictypediagnostic: DB7PR05MB4492: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231311)(944501410)(52105095)(10201501046)(93006095)(93001095)(3002001)(6055026)(149027)(150027)(6041310)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123560045)(20161123558120)(6072148)(201708071742011)(7699016); SRVR:DB7PR05MB4492; BCL:0; PCL:0; RULEID:; SRVR:DB7PR05MB4492; x-forefront-prvs: 0751474A44 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(346002)(376002)(39850400004)(396003)(136003)(189003)(199004)(2900100001)(102836004)(316002)(110136005)(5250100002)(68736007)(76176011)(229853002)(7696005)(53936002)(6436002)(9686003)(25786009)(6246003)(55016002)(33656002)(99286004)(6506007)(4326008)(14454004)(5660300001)(476003)(6636002)(7736002)(3846002)(305945005)(81166006)(26005)(486006)(2906002)(478600001)(66066001)(97736004)(86362001)(256004)(8936002)(11346002)(6116002)(446003)(81156014)(14444005)(105586002)(74316002)(106356001)(8676002)(83323001); DIR:OUT; SFP:1101; SCL:1; SRVR:DB7PR05MB4492; H:DB7PR05MB4426.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: ChrnNHUoPBCJwsFTbd6bpuiEi1vuN9anRRKYoT8ua+eWARwSRG932mQIetuJ6OTAxAJbJ+cmHt4/B8dgKqApruRCN/ZkLL2YCWIzxSnCzv4RPv2F0sXJv6HclHod79SIDSyDz14vAnbsh2IDTT0ZmRJuDpnVjlCilUXjWUDBGqSigRut9LL3jS/Oz1hDdty9CTIFzuKTgVzxxH+bOezSfJpplXt3heW2N1n9hbzaU4WI5DCr+np2UxbA95io1qDf8TuqtewKyap8oEmrgaLYYTbnPug1LvE06KHMChDAI+VJxxmdUCABVbwAURDpR9BZf51PLxwGGx+0Ne2o61v2WOkcr7hMkevuXMlbxhDYFZo= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM 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: e34c4915-449c-4754-b0d0-08d5f7ad8ab6 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Aug 2018 12:51:47.0584 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR05MB4492 Subject: Re: [dpdk-dev] [PATCH] net/mlx4: advertise jumbo frame support in Rx 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 Aug 2018 12:52:00 -0000 Wednesday, August 1, 2018 1:15 PM, Matan Azrad: > Subject: Re: [dpdk-dev] [PATCH] net/mlx4: advertise jumbo frame support i= n > Rx >=20 > Hi Moti >=20 > From: Mordechay Haimovsky > > This commit adds the missing Rx jumbo frame support advertisement in > > Rx offload capabilities. > > > > Signed-off-by: Moti Haimovsky > > --- > > drivers/net/mlx4/mlx4_rxq.c | 3 ++- > > 1 file changed, 2 insertions(+), 1 deletion(-) > > > > diff --git a/drivers/net/mlx4/mlx4_rxq.c b/drivers/net/mlx4/mlx4_rxq.c > > index > > e8bef1d..9737da2 100644 > > --- a/drivers/net/mlx4/mlx4_rxq.c > > +++ b/drivers/net/mlx4/mlx4_rxq.c > > @@ -679,7 +679,8 @@ struct mlx4_rss * > > { > > uint64_t offloads =3D DEV_RX_OFFLOAD_SCATTER | > > DEV_RX_OFFLOAD_CRC_STRIP | > > - DEV_RX_OFFLOAD_KEEP_CRC; > > + DEV_RX_OFFLOAD_KEEP_CRC | > > + DEV_RX_OFFLOAD_JUMBO_FRAME; > > > > if (priv->hw_csum) > > offloads |=3D DEV_RX_OFFLOAD_CHECKSUM; > > -- >=20 > This patch should be backported to the stable branch. >=20 > Shahaf, can you add cc stable in the integration? >=20 > Cc: stable@dpdk.org >=20 > Acked-by: Matan Azrad Applied to next-net-mlx with Cc'ing stable. Thanks.=20 >=20