From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0062.outbound.protection.outlook.com [104.47.42.62]) by dpdk.org (Postfix) with ESMTP id A6ABD1B75E for ; Tue, 15 May 2018 21:44:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=I1ER6BOeGZI98cBpjGZ4HS/QRwWmHaRpOw4w5C4yOA0=; b=K1nRfLjboo8OpCHeFbWR58qhZzoqlEAl3iKL4Au4Dy8iMjq4vZeiAJYpepRQPM3JOCzrnn37l0Mm7WgLtPXcULvrtXc62wTYzMoR5aaQgWzWSoGtYgK1PF5EjzkNzxIBdYP06j+6UU09fPULThf9+lm+AU47V7VTcaOAytCcLko= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Rasesh.Mody@cavium.com; Received: from cavium.com (198.186.0.2) by CY4PR0701MB3665.namprd07.prod.outlook.com (2603:10b6:910:93::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.776.11; Tue, 15 May 2018 19:44:12 +0000 From: Rasesh Mody To: dev@dpdk.org Cc: Rasesh Mody , ferruh.yigit@intel.com, arybchenko@solarflare.com, Dept-EngDPDKDev@cavium.com Date: Tue, 15 May 2018 12:43:59 -0700 Message-Id: <1526413439-5223-1-git-send-email-rasesh.mody@cavium.com> X-Mailer: git-send-email 1.7.10.3 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [198.186.0.2] X-ClientProxiedBy: CO2PR05CA0089.namprd05.prod.outlook.com (2603:10b6:104:1::15) To CY4PR0701MB3665.namprd07.prod.outlook.com (2603:10b6:910:93::16) X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:CY4PR0701MB3665; X-Microsoft-Exchange-Diagnostics: 1; CY4PR0701MB3665; 3:vc+b45lMVtAEMXlNZQZrXmoe8UAWEXjwNuOavP31Ns0yLR6xh7sbXq+nT5aj+JLGsaBeaBQE0vMXJfVAqWGuy+wo1J3jmCrsImt7zGcdoX3VE8pXRiEPS0z3T4Qs8gTNtaIR1Utkhs0vKgtjppXs6nl/V7BX/FoHcib2AklA5shmp26qGdzB22AxQU+jn5ORGchuDMVOgq92CD/UXgwnpYvrlBmIUFjTNxiBPC7tNAnYaGXNX2AyHj2dUnTB0DFV; 25:2GdRx+BPNh2OkKMgUXoAlfROJG0VwZD74g3DMjXyYZQUuEmBKgg3AThLvIuBXzGGe0N5GdsGyeNxwp9n1x8bdkc1gha7ig76CZqP2Q9yrxQooCnLVCf0SlEiuq7u5yTJZEMeXX4fRPm09nqpiw7AeIsvxnQ0p24ILs8wWfydggE8Cb10NF4e8bOMnmMLPO7ARy5EBLtlaFoh7b7+LbdQx+4cFHiTO9Q1uZjbm3I97AJNZ0X2X1RwigxUthC5W08txLHC8wRxJga8+WpLHUl7+4RwAln+9lY9rOzO14dxf6h4bCyVbW9GZ21VoQ/pU6KOEExwdWmF7W5JJC2UawlGFw==; 31:5nC6yfJFunZymaLhyhpsmgfAkz/43akBjGQaC3QmhAjrnxiCdYbREmZR0K7hlxp65VudDO1BDCnnzXYgVgL+49Qts6hhaBRDKDNkaRAIsrHg2hbc6QaAQUzY65PD1aQ51izaaKfjFp5PdFnuUv32ACcU7qUETer9ir0mcooUX6j74NDYPOUFX2oVhwcqazJmsAqT90CkBigME9giO2zT359mfRwodoZWX7sm4Y9WB2A= X-MS-TrafficTypeDiagnostic: CY4PR0701MB3665: X-Microsoft-Exchange-Diagnostics: 1; CY4PR0701MB3665; 20:EPpHgqT7C24BXQOz/XnCBzJVhqB1Mvv3KmpUW/y5NQ5Ovz/BflZaEcliQtnwBV9alECS+vEYZEsdOsnjIf/EvhFDNB+SMfTxmEzGuWtDL1IdLWD6++1wnRGECOj56ou53YFn55KvlugehXUC/tIrQDY9lh89eq8q19lu1Ue7yDsULdT+bsjjKFDRzPIWwedCX8Qpd1h4y+crRM+Ni5Fjb3H78ac28RK4lBqiWznIZMS7y0XbiJ8Ip8SKJGAT3DLiYeqwBtIyySM5a/flboGFHxpQt7Ahq5lZL6np1AZpg36mY1LS75+qm696c+5ndEUpRDABF3fU/O/dHNqPMxJZ1xiwwQ8RcruenID49krlmij/NwvdA4vzr9k2EXE2kznA5pvAi1m7osFOxDbyqSaiMuHuncRJKMefCI9pbHrLAR4vR8+Ovo6A5L3WyCe6O07eSbrX1H7D70EKjYEBgmoopyG8yWmBpkcywtR1xJDEEa8EuTT8lRKcPy+IvFva2Vsg; 4:5RR3nT9yXDTY+rprcHhGHoXbPzhdo3blz5U/Q6eDR6HiGDAw52D8VSAmZ1Xs1PR41y+Am+JXv4ZrSlfhOYccy41a5RtcmksQMeT9wd8a6Ldgf9oYGfdgGkxSEFFC7OUjDNniqShfszrY8NaYMKSjip8Zvt/llXHELTWke1ZzVDapRMfxyG8c7lfyN4BMS+bxpo/op93aQsFgLsrmhTUxgadiJAfEejlhVNf0MiVawPXdJkA7tMBdkkCVDs2mY8rhc0PIPCO+BudI5g03tNDL3Q== 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)(3231254)(944501410)(52105095)(93006095)(93001095)(3002001)(10201501046)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123564045)(20161123560045)(20161123562045)(6072148)(201708071742011); SRVR:CY4PR0701MB3665; BCL:0; PCL:0; RULEID:; SRVR:CY4PR0701MB3665; X-Forefront-PRVS: 0673F5BE31 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(376002)(346002)(39860400002)(396003)(39380400002)(366004)(189003)(199004)(66066001)(51416003)(52116002)(44832011)(476003)(2616005)(956004)(486006)(47776003)(48376002)(21086003)(69596002)(50466002)(16526019)(4720700003)(186003)(6666003)(8676002)(72206003)(8936002)(6916009)(81166006)(478600001)(50226002)(2361001)(59450400001)(81156014)(7696005)(386003)(305945005)(26005)(7736002)(2906002)(1857600001)(4326008)(3846002)(6116002)(2351001)(5660300001)(16586007)(36756003)(316002)(68736007)(55016002)(97736004)(53936002)(106356001)(107886003)(105586002)(86362001)(25786009); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR0701MB3665; H:cavium.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR0701MB3665; 23:pvukG2GxaUkZyzW8CECK3M0MxmT599MHPFFSsR9?= =?us-ascii?Q?TsEw39NEwsJG1XYZIkVfhRR1Oz6orByjxD3dFvIrsSX/1rFAA/GOlNeCauKV?= =?us-ascii?Q?qDK03SoUJIWJUV5P+gHcMsDzbjewXSUCP0w69uedpBJyPS4b3v26sKsvkMps?= =?us-ascii?Q?o/rTXNT1yzR464Bcn4Paa0H8IXpmMx3lMBR25vt/cve/YY8RIdrz3vsiAFW3?= =?us-ascii?Q?k0r2es5EaFn7nL3F5xKpX/zdHlA0exkSIIV5A3s5S1nxEQWQUiey5J3J/eiy?= =?us-ascii?Q?AC47N+2TMKOQ12fUE01sFoGwXuaCxX//3UgUeutmecZYrg2F/MR8/QdNxnft?= =?us-ascii?Q?QsUtCwhc7RtdeFc1umkX73TRhXJlJflefwCqqyMF7ZD+LjfcNWT2Yx23KbXa?= =?us-ascii?Q?WVvnd4QTmpK4KM1MTSKXozGuGlKmz9XqPnuxKpVA1Z4gcc9zQ9hUWdJioW7Y?= =?us-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QhIT042CI?= X-Microsoft-Antispam-Message-Info: qgt3csFmcI3Ywsw7sw9IDYRWREkbLkLL7Ao33xwGlWshHhc/9fUMRzkSLoARIzgbHilG+cjjWrUDA+9KZxQxWVTh+wgT0VaPtnA7VYRkJ8FAoJk/rYXLlSenhwUtIMydCS1ZJp7Ok23fpug5pNaG2P00EobQHDVFvqx6GzOYPYQihjT/ogegdzl5Dqh24InD X-Microsoft-Exchange-Diagnostics: 1; CY4PR0701MB3665; 6:cAsqDs8vjn0pNKGHMJFcZG832WnXN+a+Lk9W57+EnDurdK7ZbGa+wfprGp2bqq3K4oEHMElvTrQp5lvaA3H2qcYSnwPCg2C3VrluUdt2Vw2v2avjoHS+TSw8zr8oI8XbFg8V/oMWgQUf/+bIBwujcHMPZ3WRF0jVsY5uk7EFFBATeRjmWOPj3O47YZEPrmp/7Y6CWAp6alYwj9A9sBzxK9mEh9h71y6TqYGJ/CFx2zy4Gat+Kgoze0VB1I1OreD45yEhY0eLVOF/ZqeHQYveBNI6BtnbpARoBCWzh/yOgoCoNTjloXSD2inknEkLYwL9aun2K0aSs1LWsWwm1ea9rRbWy1ngA++PetqYW//DYelXmnHWjAm90JWYMWXS240YNivAPO1S+Z2wrLQlGoOJHiGAGJQYFH01S1VaslesymTST9RTdUICMLzWZr02ybZ/wHU/dUxkfTW4/3/lge522g==; 5:xnzK62GeDAqGmqxBmD40M1NGew4t2J8pAWhkO9L6eE368D2fANixguXS3NhrHi2XLG0ZsgkVHMT+uT5AV/ZnvTfI37zBfFZZjRKS/RLyJpqYQIZi5iitRDuaD6LN/XOtWQ+qsCR9Hbo7NQH93pqjJlfzBcaSBfrzqp+byYxmT6E=; 24:UQ65VrnNlKRcLpY2ktHugWKvzQVlytfrSjWphT0xHmPoW9o/xmseTnnnm31X+6RGoan/eBijc7p7O6xcbKRv/3bzhbVLQZxMynhW/ARlt6w= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY4PR0701MB3665; 7:Y6XbfKCQJV66drBYztUNmRg+vuFoQeJL+pFAIHnn+KINGmRlSKTFTN/jQDmTHxMV/q89Jyjs7uDNGslqoy4f9j4KOs+5eYN4rB9HxDz/hPgcozCLxFPXYh2NkoNGSjtp0/VNtcKbiJMoxfklWVOxeXZt2IsDLvxUe3xJ+F/94dJwGp9Yayk8Uv1fyKiw8jWChTQA8RonFDB4MRNba68s3edogCY/fENzPK0l9baJWADkAxPbBPy4fDb7eBOwqZGG X-MS-Office365-Filtering-Correlation-Id: 7a2394ec-b941-4b56-73fd-08d5ba9c3c41 X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 May 2018 19:44:12.7107 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7a2394ec-b941-4b56-73fd-08d5ba9c3c41 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR0701MB3665 Subject: [dpdk-dev] [PATCH] net/qede: fix default Tx offload config 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, 15 May 2018 19:44:15 -0000 Correct the default Tx offload config Fixes: 946dfd18a4ec ("net/qede: convert to new Rx/Tx offloads API") Signed-off-by: Rasesh Mody --- drivers/net/qede/qede_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/qede/qede_ethdev.c b/drivers/net/qede/qede_ethdev.c index 1202300..50a63be 100644 --- a/drivers/net/qede/qede_ethdev.c +++ b/drivers/net/qede/qede_ethdev.c @@ -1594,7 +1594,7 @@ static int qede_dev_configure(struct rte_eth_dev *eth_dev) dev_info->tx_queue_offload_capa = dev_info->tx_offload_capa; dev_info->default_txconf = (struct rte_eth_txconf) { - .txq_flags = DEV_TX_OFFLOAD_MULTI_SEGS, + .offloads = DEV_TX_OFFLOAD_MULTI_SEGS, }; dev_info->default_rxconf = (struct rte_eth_rxconf) { -- 1.7.10.3