From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50075.outbound.protection.outlook.com [40.107.5.75]) by dpdk.org (Postfix) with ESMTP id 1307B1B398 for ; Wed, 1 Aug 2018 12:14:46 +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=WRvg3vq4qqkO3FxMz3PX5eHZL0/EWZTflcTC0bWeDnU=; b=rKUlWxu6Imv3Ov/D0XnbgbydF+9tihrahk+ypll2ILBezQP6G2ywcxJpzT5zmTYC3r4lNeDdKxOIoyla+KYSklGkS2m8t0JPt6Qu1ZxGqPyMk2twY/56+IsMVEE3fL7nfrv4DC0n8k5GBX1Njk43FYVV+TvRuIUG4Bb3eAowsYA= Received: from VI1PR0501MB2608.eurprd05.prod.outlook.com (10.168.137.20) by VI1PR0501MB2512.eurprd05.prod.outlook.com (10.168.136.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1017.14; Wed, 1 Aug 2018 10:14:44 +0000 Received: from VI1PR0501MB2608.eurprd05.prod.outlook.com ([fe80::dd44:4544:a34b:7e1d]) by VI1PR0501MB2608.eurprd05.prod.outlook.com ([fe80::dd44:4544:a34b:7e1d%10]) with mapi id 15.20.1017.010; Wed, 1 Aug 2018 10:14:44 +0000 From: Matan Azrad To: Mordechay Haimovsky CC: "dev@dpdk.org" Thread-Topic: [PATCH] net/mlx4: advertise jumbo frame support in Rx Thread-Index: AQHUKOlnyPhuuhLH1EKBtVNaO0BQxKSqrZoQ Date: Wed, 1 Aug 2018 10:14:44 +0000 Message-ID: References: <1533053586-8551-1-git-send-email-motih@mellanox.com> In-Reply-To: <1533053586-8551-1-git-send-email-motih@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-microsoft-exchange-diagnostics: 1; VI1PR0501MB2512; 6:dwB/XFx6FZJaQMw61EAJDaHsyHy1M1YEfpZhpm2571HImYyHL/3VWLH3+amWlDwz+M2Q8uLnGomL7NHzB1hrpjmn0AzZ0QLyOsOSK9W4N+Ppmnkzw7x8TV0eg25qnoeJw8gnkPEv2+7yeqSrnUe89a5TTL6XOw5C3hhHvz2nciG18gju5/34RA6/lNgC27SdvyRCNuiNcjLf/G7M/rpQR9NgKkWxIugn2/esRvnE744UJnLOHlpRKPQD4hXflDdmNrgvUZ9qeRTAy9hNP945dqZIhjV3gYr5HYO8EtfJd4+KGLvqKA8EnhPMMqNtJpKjavxato1a9fCsptqF9v5GYx5YEz8JX6tr/j5M3VaLXS6o/23jlmes1/eNoVokaq7hE5XtoQHwQ1KpvU4sU4RaZMy5N1yjIHhXHjU+xwHuJZq4ulAkP9FCaWvIQNdDy6vMujQiGyN5biCV5bqpZtdbmQ==; 5:6xuQmvyhm8ii+o8IBfWP6eOjqf8OeSzrKHcXfH0IfY6xJZyfRkPxfc+DrMotfJy3U1psvlHPayoYEo0evc+CfFwLVhWHIUg8jpjLn6F7Q1jvL5vtinxm8bFmifUW23blvVxauqdos7QMjP1430dINTurWdpR1jmrneHJnZuWlTs=; 7:inWCmBR/8WTEurUzRMT1xu8kAKLHoc4yQLFk3yNuSllI/ELfncvX7/JUmfs66C6dQQdi/9CpRxttLjp5pcgzqb6f6WK7hNXxiTmwdB05cArJbVrBtsyhRqbCm8M76BNJPkC2VB9rwlBRwZI717Cz3jafo5DWxSltt6xiHay/PkVIfKghK2b0q3NHv9MLi6vlMKcOdz1oPM5g6gEjrzS9Ap/MfkFSzeoIunTLWyqJiITzTDFgYpf7NlO/pmN1RCbr x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: fcaaf2a2-2dc0-44c5-bb93-08d5f7979aa6 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:VI1PR0501MB2512; x-ms-traffictypediagnostic: VI1PR0501MB2512: 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)(93006095)(93001095)(10201501046)(3002001)(6055026)(149027)(150027)(6041310)(20161123560045)(20161123558120)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(6072148)(201708071742011)(7699016); SRVR:VI1PR0501MB2512; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0501MB2512; x-forefront-prvs: 0751474A44 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(136003)(396003)(346002)(39860400002)(366004)(189003)(199004)(2900100001)(256004)(76176011)(476003)(5250100002)(486006)(14444005)(9686003)(55016002)(81166006)(6506007)(81156014)(8676002)(446003)(14454004)(33656002)(102836004)(26005)(11346002)(6246003)(53936002)(68736007)(86362001)(7736002)(97736004)(316002)(4326008)(2906002)(7696005)(6862004)(305945005)(99286004)(25786009)(6636002)(478600001)(229853002)(106356001)(66066001)(6436002)(5660300001)(105586002)(6116002)(74316002)(8936002)(3846002)(83323001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0501MB2512; H:VI1PR0501MB2608.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: +Uk0zTNlSkCtJwzahbWq/uOYbLObpCPxp2ZSZq9KI+2jxfvGJxpUsHCMgK7lZ998dg4qBZdG++rapRxqbUTbE+ZhiKAXWdL7ozK3E4+jsdm+dMWT7PFlVU/q7MKiGjoKM/Vad/NkBrpo4dqrYJBl6lgZqdgxe6UbUTx+1XoF+qAIwLmjUTjKrz5jXCCQRk/zInt41bOxn6qVQMUg4bT+yGYvTYPiI1oj/2knWNAI52WH26Z56UUURzDXGJgNTrtQ0aLiTBRWiqV4P3SZ1m0AiV2l/C2Ao7/7iBrWZc54rnSYh4s3Hce4CkJh27Cob2BY5Ys24r2YR4M8kypj4OVFI4NzHdSe/hxtV+x4hkloYJM= 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: fcaaf2a2-2dc0-44c5-bb93-08d5f7979aa6 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Aug 2018 10:14:44.8322 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0501MB2512 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 10:14:46 -0000 Hi Moti From: Mordechay Haimovsky > This commit adds the missing Rx jumbo frame support advertisement in Rx > offload capabilities. >=20 > Signed-off-by: Moti Haimovsky > --- > drivers/net/mlx4/mlx4_rxq.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) >=20 > diff --git a/drivers/net/mlx4/mlx4_rxq.c b/drivers/net/mlx4/mlx4_rxq.c in= dex > 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; >=20 > if (priv->hw_csum) > offloads |=3D DEV_RX_OFFLOAD_CHECKSUM; > -- This patch should be backported to the stable branch. Shahaf, can you add cc stable in the integration? Cc: stable@dpdk.org Acked-by: Matan Azrad