From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20056.outbound.protection.outlook.com [40.107.2.56]) by dpdk.org (Postfix) with ESMTP id 2F491235 for ; Tue, 31 Jul 2018 18:13:23 +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=32rGVRE0YFE3FHqdhcupTERwyr7N+hwGJHIbukGhDFc=; b=VeQhM78UAFGRIcndEV2353lvfHRKTUx++5X6HX8advHPwKzw8Tm5+3naBtR/NN1jAGnVmtR//HCLBiSfJgg05QboZg9Q0kt2KVzt1B6i+3F0Iv+cDNXp5pGNNley+YkjQA2QrsByld6mgxcpxEYS8SDCoqew7SgCqd30PvAw7nI= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=motih@mellanox.com; Received: from localhost.localdomain (37.142.13.130) by AM0PR05MB4435.eurprd05.prod.outlook.com (2603:10a6:208:5a::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.995.19; Tue, 31 Jul 2018 16:13:20 +0000 From: Moti Haimovsky To: matan@mellanox.com Cc: dev@dpdk.org, Moti Haimovsky Date: Tue, 31 Jul 2018 19:13:06 +0300 Message-Id: <1533053586-8551-1-git-send-email-motih@mellanox.com> X-Mailer: git-send-email 1.7.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [37.142.13.130] X-ClientProxiedBy: HE1PR05CA0128.eurprd05.prod.outlook.com (2603:10a6:7:28::15) To AM0PR05MB4435.eurprd05.prod.outlook.com (2603:10a6:208:5a::20) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d3beee26-fd71-4682-2e8b-08d5f70088e9 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM0PR05MB4435; X-Microsoft-Exchange-Diagnostics: 1; AM0PR05MB4435; 3:iEJHLwiqlyb7BAoSPYjX6BHq88SLxPF4ccFx+KxDi2QisvFZYMONsyaz4I5V9Fz04AikNbhRIaGAImGSuH0sozeJX70bMf5VEN9xkC4ut4JnYESgCGM1tq4mCnnKJdmBXgAlZSrJy7MyShPWWdQev0JpLzENIq/D/aHqDxkhkYxCUGLuYZc7WMj2G/wMusTEoHy0X4K6bQtQA3jycN3DFux2Y9gqJ0fgI8Sq1KnKG+qgZdXCiB18GX4kc+cOzqXR; 25:X2XO+xuldEpiWlFpmK+lxdsUyR5dLA4g8/JR1G4ad+P0BP4eobnwns190uICowpsD94kY7IIhd5auijONZb8g6BodLoRR7EVwxjWuQ1L3xsxWUgn02NsHGCJU9+YeJVUMVTJcVrCvwKAQVhMAcZEJ5N/GrG/JsbpvAUcmN81I4lFTZpw8DQZdNpqy5mF1wkbuv38vTj6m44uvXuemu3H6d3owBOTeDW5Vv+fnJBXu4SF5WMaaVdrh+57ZbrNyr49gU+spGGBeP+mrf+vKEe2EDJp4XJOMt1ULw7SfNNdGlqbcW2P07EM+cb5oX/ILkMjsjXuTya0P0um5dFgrfrdjQ==; 31:E9NMQ/6Bc4gfYrKFFTUXu5Gr+GaPxkANfuEgbBnWPLdrJnH0l+9o4d6jVr0282S/vADvuISL4oXa1WWGjdnamzC8o8l0gmhyvt77fUiRPKYymVUkEk59ArTYx841rDH705rPNxyoElW1kbVqqHEOI6Ax3ZgdFLrmQ94y+ZHeq+bFNxwWo8OTHB4ESzPKsywsKwJabX3d1NjBy0NWIXyRnpM1vpBSgArO5CxyXKMCPVE= X-MS-TrafficTypeDiagnostic: AM0PR05MB4435: X-Microsoft-Exchange-Diagnostics: 1; AM0PR05MB4435; 20:MSDa3t5v8snI964pSrrxWZRYfj0FpA93hyuWGImD9S3AoWLwTYSFFLVr6I87SGKEOZaWo95YuhOl88fWFDCfb2NEemO7hNF4/W73ru7PfUD5Bf8Jdr8e0lZu0YfrDQkVBR4iVSXIFA2oeG+VeSrbFVb/TuCoIK3WT1BtfTrxtiHnd0LLzxS8vNBKIbCY2w76qWG6U2VmavTfi6vFGn++r9RNz7k/gV9aS53GVzPSqDLBgdPZyUxnSRlyAKud9Mtb+bIZqzetpxAid/z6HTzUVKGRk9FWy1Q/bSDdk+wihC5eKzKjHkdXQpClClSlg6v9elhQqEUXGEwoFXDGGeQ9237iMbA4v8ol23nQBLg27VqW1VrZoUsqVFEPQ/PeQ5lVP0kxHCPgCzn+uBoOzVWD1A0SLRhFr2GQhN9uKp7dTZcJIRuGI1nh3a/xTSd+lYKo/wPOjE1k3pOEVin62QhkXenpWNU/idi+TE7vZeTfJdpc+UU5Ei32IddyXFLjdJ+M; 4:wP6JcD/BbQkys7vSfqWTBSlKYkfrku0oEtolscAeES3zGNHxUkLFH9dm9uXrnN1AHsR7S2ZdU+JGwvoLIycbtzEimjttW7o9BSOsD+u6nB0FRzvMgE2QIBt0sn8Is+5HXYNdjUZM6UpvNfe+oc5rHHjWvpdR0QvPcwQkCMMB/dq5AW/CkQV+TsaCQNSxGU7IQms6TZq8icnZei79m+8sfY5jhmWMmzxxicTp7a0St2usMJtWDNNdSen3mFnUlUj6rSKp5+71/9XXmprxVLBSWw== 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)(8121501046)(5005006)(93006095)(93001095)(3002001)(3231311)(944501410)(52105095)(10201501046)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(6072148)(201708071742011)(7699016); SRVR:AM0PR05MB4435; BCL:0; PCL:0; RULEID:; SRVR:AM0PR05MB4435; X-Forefront-PRVS: 0750463DC9 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6069001)(376002)(39860400002)(396003)(366004)(136003)(346002)(189003)(199004)(1857600001)(26005)(48376002)(316002)(50466002)(16526019)(106356001)(105586002)(36756003)(97736004)(8936002)(68736007)(478600001)(2351001)(52116002)(51416003)(50226002)(956004)(47776003)(476003)(25786009)(37006003)(34206002)(6486002)(6666003)(305945005)(7736002)(4326008)(6636002)(53936002)(2906002)(14444005)(6116002)(3846002)(5660300001)(81156014)(2361001)(6512007)(81166006)(8676002)(16586007)(86362001)(66066001)(486006)(386003)(6506007)(107886003)(2616005)(83323001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR05MB4435; H:localhost.localdomain; 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-Exchange-Diagnostics: =?us-ascii?Q?1; AM0PR05MB4435; 23:HRFWWYf87B7K3f+iXQH7licRf72ppPkYkOf0fpR2B?= =?us-ascii?Q?1qmrDCD7x8aWAMbqrqesL7p+Y+QRt2QTjJPmT+4jz2tS8jwvHtk/YTvTCcny?= =?us-ascii?Q?vMyCw2/OWItsW2LbWFVVHbfLIsK59fmwJLhWDZboHRNW7x8q6ErLFuVdV4Ur?= =?us-ascii?Q?i4tRK0u0U7gZxjsHDV3Tcl2PhXaJzBc8qbFuBGkArOBljO8nbVDbgMFWw9Nf?= =?us-ascii?Q?TQ0ZnLsCoBjxfx2UyBBYJCrOCraToXqHn0Co+ENmaYdSH4uU71fsOJCxDB3z?= =?us-ascii?Q?fGXjFANyafw1irTAJUlA4Whl7hUndGm93aG0eNSKPM1cqlFLS7huYrg8goBX?= =?us-ascii?Q?EEObzvkpSdB9Cl4z7/8zexx6IKYi0HZmOFxIA+sqUd+d1XRz+G9U3zLNiYKA?= =?us-ascii?Q?w3TiNFkxtRr+Lab6rLPYzTtBHL9G1EYTP+uJYH1lYj5n5t/6PSHf94vFZFMp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8CtWfP6omY+aqzus8IZdSHRroY8COXTatcA6mXPYuPqWP4TFQKc5FTnRGDUeJn9zG6iWBzLPTPjXrx7fO6pkQTs8MtGC5+QN0ZWSrtMzSqPjrY2bgwFwiXq+v8P4IcFUFTRuemCWp8cDWTBf48Hk/izskmL+UeZJArj8Pd366K7yBlzOGrzopSfonEIQbiMqOZ79nOEkBkW3nPKmit0hVdIaXB+uhycya2vGiL6Me9qt0tc SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jul 2018 16:13:20.4024 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d3beee26-fd71-4682-2e8b-08d5f70088e9 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB4435 Subject: [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: Tue, 31 Jul 2018 16:13:23 -0000 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 = 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 |= DEV_RX_OFFLOAD_CHECKSUM; -- 1.8.3.1