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 F3763A034C; Sun, 18 Dec 2022 15:26:44 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E2AA840A7A; Sun, 18 Dec 2022 15:26:44 +0100 (CET) Received: from NAM02-DM3-obe.outbound.protection.outlook.com (mail-dm3nam02on2087.outbound.protection.outlook.com [40.107.95.87]) by mails.dpdk.org (Postfix) with ESMTP id 5E2DA40685 for ; Sun, 18 Dec 2022 15:26:43 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EJ8RXepgapFZBZNyin9t5ygOok9jQK9QzgITrYz4Rr4cPVnALP4REAOioWyRZGKDuiOVsW6PX+toWXDHsL8AKXAP1inG5dXDGOUpZ1g1dhiXKZD8QM76qpTldIGI1wfXbWNZk8xwyQ1LeOdP/jWzczFpiTQxtXcw2qxOfxmtderGYKFw3dWeui2u5SXkWQGf/o7AVPZAKmqFTM1FQjJRk6zeLheTxhcCnJb2ajy3VP3inBF7Ht4clcsxWzL+hJoMK44/EEhaZBcr9abNJMbP16MiM4EakqfNcU6XbSxnq/dTseYcGJfkhgzuZT7QsIjr6hLnNY822oumhfJ1upUzZA== 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=+Ks4Fz57NEhK7ttOte6rWo0unPEvZlAObiJ2w65VvWA=; b=YMdgWj47wU4Vcq8VBGc8uu+eTJ+YbwobzpzvZ07lal7Wic/gBUoCn0Nq0NartuMHbSf6w8fEO5AJNIAIf+Qe47KrRNw47G+GkcSU8YBOTqeSjtcLH2uV4bgkw0v6UdLa8LG3mtcmM7k8DnvBleKHRbDwfqAPlogI7tqc9/X1eAKW/+S/0OTP5Q7tf6HI7kKXJRIYJzNVVTypDXu1QEhquKutlccLIO1O/G9qYmsUSKDybq5DRO+SZ74c/nc5mQ2MCZqivFUtnZBu1qpzkyWvuQ4TvJbeE3CJMCtEsXgUJxoyZdplBnRz/rUhsFUdkGdIA5s0pQmKW/Q/9vbNFoQDUg== 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=+Ks4Fz57NEhK7ttOte6rWo0unPEvZlAObiJ2w65VvWA=; b=p/II+EArNw/qIBZKKhlNXRQaYH2iCeD1Hv2qXMjptP/8WqVhjbTxjgc0Ag3cCVxUTnWNiJFpSDgi+zeOfRB5P8YwT1OPPBv7NYKtSviYJ75HCVrHYchaydsLwpQLV33Gg9ujZqJEccoNsj9uS43HhmuIe6XaqNR3PzbGHXw8Liw= 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 DS0PR12MB7745.namprd12.prod.outlook.com (2603:10b6:8:130::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5924.16; Sun, 18 Dec 2022 14:26:42 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::4807:1f44:5e04:e05a]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::4807:1f44:5e04:e05a%8]) with mapi id 15.20.5924.016; Sun, 18 Dec 2022 14:26:42 +0000 Message-ID: <2edc95f6-2101-42f3-0d30-2fc185659752@amd.com> Date: Sun, 18 Dec 2022 14:26:34 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: [PATCH dpdk-kmod] linux/igb_uio: fix build with kernel 5.18 Content-Language: en-US To: Stephen Hemminger Cc: Thomas Monjalon , dev@dpdk.org, David Marchand , Daxue Gao , Christian Ehrhardt References: <20221216115732.3552650-1-ferruh.yigit@amd.com> <20221216093345.03b72dcb@hermes.local> From: Ferruh Yigit In-Reply-To: <20221216093345.03b72dcb@hermes.local> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: PA7P264CA0049.FRAP264.PROD.OUTLOOK.COM (2603:10a6:102:34a::7) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|DS0PR12MB7745:EE_ X-MS-Office365-Filtering-Correlation-Id: 8ac6d78a-5a03-4f4a-307e-08dae103e1ec X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: gVQUotXm8YoHE0lqmbkJa74swBwVKSqsEhV+qhT3z6Krn5XkuvT3b5lEkHp1k9RNP3G70lzcWQVfLhtzMR57lvbJgtmlyNMQuo3ILty2P1dgGlqJ7/Nu7AA6uSPSWA0f/VbP8b6tAxOj3Tv/oVeW/jQ2p7enmmzvdcEz9omXITydO4UwOl/csrn9k6alY3avN4tcNY2F71Gs50jpCTX/ANaegsR9mGzAq8VTPUDneYsqs39rJz1Zocqb9cqyJqP05bmwXao16QKxcbFIDY62PM9HW6RMkCFnfakbXQm0o1fpC6EXjVgwkO6twhO00hR0ctQzup0CAFQp4ovBs+moLxrrOqPEN01HpNvB3X8O9Mq1FuKv7APOriDmLBL/enCDsRGwr7xRppS2ZmK0tbIDw/dLA9xw7UDi5c+Wyr3ufcbPwXuh5XNdFjsH26FegkGH1WYEXg/rgREEmd6/6SM/WZ60J28Qul0b6tU8BqXto8wZFTpbQuLaIKzoqtd2FAt8I9TwSdEN+MJ7nozXbrrMu1jip00CBmR7SSZ8aURB9jaWFMHhgzwsU6heJiIbLi9rpH3eov/9Utdds7WoZq8U4MkHflR3tFN8j7Usd7A3UAjvaCezxt/kjpHGtEyrszTN5F30TTzABDgLVgIsB1UZVMQ/bB8PiC6IlC1QtSHoOUTQmNKoKUb51GFpTNThB11sFyg+mNmhQRWduprsE94Q77fvVD/WNFrDqFj/Z7EN7wY= 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:(13230022)(4636009)(346002)(136003)(366004)(39860400002)(376002)(396003)(451199015)(38100700002)(4744005)(41300700001)(8936002)(66476007)(5660300002)(66946007)(4326008)(8676002)(66556008)(31686004)(478600001)(53546011)(83380400001)(6486002)(6916009)(36756003)(54906003)(44832011)(2906002)(316002)(26005)(186003)(6512007)(86362001)(6666004)(6506007)(31696002)(2616005)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?bVY5NXBVM00xWVU5OTZpMFZtbnhpSyt5WDE4MVFRU0VabXBDdnhOQUNhcFRv?= =?utf-8?B?NFYzT21tNGh5OGhNbk5xRTZqTXhhV0tORU85bVpGTjAvcitCN3d6RGIzZjNR?= =?utf-8?B?TWhJSDgrOTBxT2FJUVFkVVhnTDdVbXRBTW4xR29JTGh0c0pNdll3TXBiSFQ5?= =?utf-8?B?ejZLYW8zY2xFYjRQK3kzcTQwTndYT2FvME9oU0xkckplZWlvMzRoTmMzN25z?= =?utf-8?B?T3dpNTF5dDMzRlNZb1dVMWYzcW5aSnR3WUVuT1BCY0RTRjJUc3M5dmFw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ko2MjRlTDdhNytxWW94OThwY0RDb3NlbSs4N1JP?= =?utf-8?Q?R0lQiHi/WYdPUKRMHSpArVspl?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8ac6d78a-5a03-4f4a-307e-08dae103e1ec X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Dec 2022 14:26:41.9391 (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: 8bbQmawYr6WUr03cpEdy7n3gkETrTWhTDJKm9ti7DoxbPyJ4mug1JuEple3s3D7r X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR12MB7745 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On 12/16/2022 5:33 PM, Stephen Hemminger wrote: > On Fri, 16 Dec 2022 11:57:32 +0000 > Ferruh Yigit wrote: > >> In Linux kernel v5.18, "pci-dma-compat.h" wrapper file is removed [1]. >> >> Some APIs in that wrapper file were used by igb_uio kernel module and >> kernel module build fails after mentioned commit. >> >> Fixed build for v5.18 by replacing APIs in igb_uio. >> >> Replaced APIs are available in Linux v4.4 (minimum Linux kernel version >> supported by DPDK), so no Linux version check is needed. >> > > Makes sense, but lets put the correct versions in the commit description. > DPDK should not be trying to support unsupported kernel versions. > > 5.18 is End of Life now and so the one that matters is really 6.0. > > Current DPDK 22 should be supporting last supported LTS which > in January will be 4.14 Agree on this, but officially in documents it still says 4.4, when doc updated I can update commit log too.