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 08FADA00C4; Fri, 16 Dec 2022 18:33:50 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id ABE3242D2D; Fri, 16 Dec 2022 18:33:49 +0100 (CET) Received: from mail-pj1-f54.google.com (mail-pj1-f54.google.com [209.85.216.54]) by mails.dpdk.org (Postfix) with ESMTP id 458A64068E for ; Fri, 16 Dec 2022 18:33:48 +0100 (CET) Received: by mail-pj1-f54.google.com with SMTP id t17so3165764pjo.3 for ; Fri, 16 Dec 2022 09:33:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=aCsNQufAk+c1QyXAQUPpIfVi6mhPRi2w39RBXnrx12o=; b=bNpbRTnhe6bNggbA/ezLIR0HNh/Gm/dF7LS0F6qvg8Y25gYXFnpD3CPyqF/KIFdUau cRRFFzVDWdVpJ2aIBr+d4EhEsEtcw4dNAnk20hYGzrNhzU1Uw4R9EcZluZu+DqlOi0Uo MsMeza4fivX+gJULsIkOwTUoc1E86hcC++rob0g+cUiu3lQaWUB6Ry1kceuM94nUspam so8DDr7iYF3k6V675VFRA7aNnCgFaupe/3ygUBENd14MvlwTKOOzRQaWpfN0FRIjnrve S6MKeooM3dmoaWBZifxEp3615wUycFgAoOZ8lBLow8OXq2JezXrrIhGxFD2eHDdFqGUj TiEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=aCsNQufAk+c1QyXAQUPpIfVi6mhPRi2w39RBXnrx12o=; b=ZsZyEdLOw9NkdYvLrG5JsUwLq0uMM80hDf+VkHF+BQPvjonSf9vh5pei/sGMvsISug K41gkYT3/FQT/6FFxmJMXex2kNizul7C6i0WWsSnilLzw2nJxYYXlDGkAbBNf3wW7Ux8 wNA+x8luBtFLvPsUFcu+VmAlHHyVWiUyVl96h/pIa4LaHAnCKMLqUn8spPRDAm0GMz/3 CHEho4qtIAVnEXCOXQcW/QFXf4TNY/ABs50/3rrDYjvuVtVm83Llik/VNVv1Hvag3Ga3 fnYsD4vaTjOQ0kEJ4gGm37bGPRPLKPdk0yBQyvkT3gvhmM9cQWrTxAOA4IHwiU+0EbwN OROg== X-Gm-Message-State: ANoB5pmTzPN005iIdtuzThn7hh+6fXatp+y+SBnPrV3769n2oIpvs9vI KGVnFKWejLPX4lb1IoxC/XoAVg== X-Google-Smtp-Source: AA0mqf5WZNIWrT5g+2Xedqbj8yQAMe0o5KXDfFi1IjIHuU2p4bOn6wTswjuxqQOtFlJ8+g51xbWFwA== X-Received: by 2002:a17:902:f688:b0:189:77c1:b5ad with SMTP id l8-20020a170902f68800b0018977c1b5admr46568964plg.20.1671212027343; Fri, 16 Dec 2022 09:33:47 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id p3-20020a1709026b8300b00188fadb71ecsm1919808plk.16.2022.12.16.09.33.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Dec 2022 09:33:46 -0800 (PST) Date: Fri, 16 Dec 2022 09:33:45 -0800 From: Stephen Hemminger To: Ferruh Yigit Cc: Thomas Monjalon , , David Marchand , Daxue Gao , Christian Ehrhardt Subject: Re: [PATCH dpdk-kmod] linux/igb_uio: fix build with kernel 5.18 Message-ID: <20221216093345.03b72dcb@hermes.local> In-Reply-To: <20221216115732.3552650-1-ferruh.yigit@amd.com> References: <20221216115732.3552650-1-ferruh.yigit@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 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