From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id AF64741CA5 for ; Wed, 15 Feb 2023 11:25:03 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A01DC43006; Wed, 15 Feb 2023 11:25:03 +0100 (CET) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2069.outbound.protection.outlook.com [40.107.220.69]) by mails.dpdk.org (Postfix) with ESMTP id 64B5740A8B; Wed, 15 Feb 2023 11:25:00 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VT2UfZ6zzuKNSceRJJn71nalt7FmuMozRWau2/rlzf5MsWABjb3FPVr2jGhignhMk5b+Ni/lBUP2opnJ3A5DEYcpMh70ZzU11p/XeIjj8x2lG/J9E37mhyqMyYov1Hvl5SiXyQMmdF1RB7VSRwktdnHLBvxKwArvf0I63TJu8aQOUfgKgPM7l9LMDHPH3Sj5GyP4zvBWBTDo4tdRO3T1N9cgAWWvLJgwFJa06HPNhqpqFv8o0stGB8Nvy21wnDCBPe54wMlV/7yP3ALQgPVWQiuZ0cEFpyW3DLEBXubtpHh9JLi3Lc+59P4H5/I1SKn7DLpWZeBDYz8D2WFns2yMtg== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=0WWjcnVu+WMvOZ1F+yCWDjlBc0ilF6nkm9FIOY1nj2g=; b=Xx3gbrbcVpGGNK4uGFXPCqB9l4JVWQCGV9sFeCPtqWl2xQFU+VtEIJUx0l4GupmJDHM7/Pp9m//LYymDC5DLNzvOyKno28mEYfkGnIh55NMcQ2QUwJASjn/6FPMMUiRWWzac8WjIOxWrV3c8q/nmP0UXIUuetP9RZpoiHLSupDPgs/Pua2anc3YDzR+/DPeoTf2IRv1/IzsS+YQBArbu4S+FqEwCa+Tt4K6uol4rQvnMwh+FSVGLlYmqSVKRHbM5sho+XHvtRoA30zEfhp/bGlOnbLRM6JwB6WD/WVB5/iydQxVpZahgw2gXnK9J0hepb4D3OsOK53MYLvzC/KpTjA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0WWjcnVu+WMvOZ1F+yCWDjlBc0ilF6nkm9FIOY1nj2g=; b=Hik6fREGLBOHLf8JK6Zl0Zy5Ca6aFMIfb34YGEzfrINPA6+fFxIsqt862M6CMwKsbuqVDSaSBTSWcBmD5/i4YUPxUsFEJfsWKwjkP+dCxc8ceg3it6HxZruU6hfZ0BvAvC6x8hAB+0MmF9KgQKu7bI09rHyIuREj7cc0bXr2UtQ= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) by DS0PR12MB8270.namprd12.prod.outlook.com (2603:10b6:8:fe::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6086.26; Wed, 15 Feb 2023 10:24:58 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::3614:22ed:ed5:5b48]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::3614:22ed:ed5:5b48%8]) with mapi id 15.20.6086.026; Wed, 15 Feb 2023 10:24:58 +0000 Message-ID: <0ee77978-57f9-b8e6-f37a-577c1034bf4a@amd.com> Date: Wed, 15 Feb 2023 10:24:52 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.7.2 Subject: Re: [PATCH v3] net/txgbe: fix Rx buffer size in configure register Content-Language: en-US To: Jiawen Wu , dev@dpdk.org Cc: stable@dpdk.org References: <20230118060039.3074016-1-jiawenwu@trustnetic.com> <20230215020056.3511976-1-jiawenwu@trustnetic.com> From: Ferruh Yigit In-Reply-To: <20230215020056.3511976-1-jiawenwu@trustnetic.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO2P265CA0325.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:a4::25) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|DS0PR12MB8270:EE_ X-MS-Office365-Filtering-Correlation-Id: 6bfe5360-5f6b-4e53-21fc-08db0f3ee354 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: J4INoGUpREe4WeC+2tdJA8lYrJ5ysYmk49bXOxidsbfkPbOlO1Uy2BA4QoPf5EpR22o+fX4X20bSWOQFLhEHE+f4L+js+oAM+kBPNpCrvMnasit6ypQ/HgajtBuMZPqbmrFf0fsfKDL2JORVJE6nLTDN+bOF5SDbXaZdmghX0eIlvvcrGIkvsdWxGkuC41/a6Esjj4HaGOxZTueKbrpbLDXfdsyp/7NrgLbv2h7MfsTZI25DS3I6dC5hVCwi/RA/S2qa17McQJ+pvc5UAMiXkXSaM0CWSs1l/60z8nc0TaxxIDCnNqK6Fzq5AZMnezZ58S1fn/bu7DKOay1fflOHeAtb6NSEnSzLG9R++uLdUhXu91SvzxVz6IRpoRvZUpFcROFqqpK93kNAiMi8Y0DcTeAWMTu9RaXBNeaDM3Namy+Ok3tZf8oxaG+Uk1qwomFScImgYqhgnMz4stq92tAbv9D+5Dahu9BpawT5UTwh8U5kwO395IJYgJD0kjoJ1yQ2u9//sbVeVVOhzGBDNEm7WYxsUU3Tj8tXBZ0O7wZf6P1pKlgVgwVZ7FpeVdoesgtFaSQ11AxhBRFKelaz9vl3adg17D/RB5tGIGiwmxjzF+SxDLjHXNU9KF+rnBjflKFp/nk4lQaba+twqv4M4m61y3W23cUIKhOhJHbqbYVkBZemdntVgHK6BrmV+RDew9rHwpJqygnJMoIgGu/fClZs5JvtsX4vCqAI0DOSmq6d7Ls= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH2PR12MB4294.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(4636009)(396003)(376002)(39860400002)(136003)(346002)(366004)(451199018)(316002)(6506007)(83380400001)(31696002)(86362001)(38100700002)(26005)(186003)(53546011)(6512007)(6486002)(6666004)(2616005)(478600001)(36756003)(2906002)(41300700001)(44832011)(5660300002)(4744005)(8936002)(31686004)(4326008)(66946007)(8676002)(66556008)(66476007)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?SXl6NSt0SDYrd092SWhzYS9GOXRWSVIxbHkxOGw2V1cxMDVJWkxJYnlFUHYr?= =?utf-8?B?QlRTeUZ5TmdjSHhUZ0RoZmR2YkdwNUl2VHlSM2psQ2J3QkJha084cjFxR2dK?= =?utf-8?B?NnkvZGg4MVh4MWxpUnk4K1FIdmpKMU82R0ZHR00wZTN5THUycUhTNzF2VGp0?= =?utf-8?B?QUpMSkdhdGhGY1VkSCtYVXdFeDBHNEM0Vkt0WlRvbEtHS0lVRDBkNWhzVnR6?= =?utf-8?B?NFVBeThBRzNsNTJkTFpESitiMGRrczNqZ1dyR05VOWp0Z2R2QUtNOG9nK0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dYcE84aHJIdnhyNlN1dFU0R0tSS3laWTFw?= =?utf-8?Q?M6wPt5jcEEv7gElTamMqyLloV?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6bfe5360-5f6b-4e53-21fc-08db0f3ee354 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Feb 2023 10:24:58.2056 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: JDnQVvtcJZWcAqQ0Cun9sdieOO4emadSYkQZmX+tHKvzLF+yMHVLNlaqGUpp1ut1 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR12MB8270 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org On 2/15/2023 2:00 AM, Jiawen Wu wrote: > When round up buffer size to 1K, to configure the register, hardware will > receive packets exceeding the buffer size in LRO mode. It will cause a > segment fault in the receive function. > > Fixes: be797cbf4582 ("net/txgbe: add Rx and Tx init") > Cc: stable@dpdk.org > > Signed-off-by: Jiawen Wu Applied to dpdk-next-net/main, thanks.