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 4A2CF42375; Mon, 9 Jan 2023 03:28:29 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DA88640687; Mon, 9 Jan 2023 03:28:28 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id C3EED4067C; Mon, 9 Jan 2023 03:28:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1673231307; x=1704767307; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=tVGWcv8UTCBzLlCb82oQpD+JLitiGIzxMUemBfx0V4I=; b=cd1612lunGydjP6mEzl1sbjxLaRMPNlYcguf3yC+QZZsh0o43ugGdIuU 8W9YT3DXkvmHXFuRyXcdD1d6SczMX4iRUTcoOEMI/urzhOxNan51i0hoM uRwyxKy0ZIwz074VTKm8pGF/OMMbCT69+WIWYMxquY1eomAnBRaKVTwMh 431dQldcrI8oE65yBGX5SK9qiOx5cesd2tLxn2G/HRqOl0raEcyoaCPGC iumZMCw7tXLhlI4Qy78OyJ36mrMHYu93ri1972f49GzuHW3ll5BfRMPIG BxlRckMHWoPP6kpSmvb6TSUc8xG5Tbtdsq78/PprAw0o4OJmfdvJ6bEED w==; X-IronPort-AV: E=McAfee;i="6500,9779,10584"; a="303139168" X-IronPort-AV: E=Sophos;i="5.96,311,1665471600"; d="scan'208";a="303139168" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Jan 2023 18:28:25 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10584"; a="764154558" X-IronPort-AV: E=Sophos;i="5.96,311,1665471600"; d="scan'208";a="764154558" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by fmsmga002.fm.intel.com with ESMTP; 08 Jan 2023 18:28:25 -0800 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Sun, 8 Jan 2023 18:28:25 -0800 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16 via Frontend Transport; Sun, 8 Jan 2023 18:28:25 -0800 Received: from NAM04-BN8-obe.outbound.protection.outlook.com (104.47.74.43) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.16; Sun, 8 Jan 2023 18:28:24 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PZ4j9rTcoFeQ8uTXyK0lJ0+wIL0K88plkWujmHBxgC3SKWule0xxzZV8ykl0XQjZgralH+qRsGRUlfLEjDsONqcAt6G3bqBK5DUNYCVv7J6JeAOzECHl9RoBHD/rZby87zduDOClFeBK3JNNU3HWNpmyr4njK5/IWkPuIqUqJRXfQM7QwsY9nX2QSHrFpnLQXSgG+Q/Fhf317v10HF8tJgPVLEjRbaNxdQdmQNm52Q079/i/P0x5xWf6rfRL9z3Nqg2O3PnxT9sliOYtx8RFPl/Sh2WPz8z9rPPGgLi1MrHhABz5voeFFqgRY7IS9sBDo1AArfSkmasfnIIZS1xv+Q== 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=tVGWcv8UTCBzLlCb82oQpD+JLitiGIzxMUemBfx0V4I=; b=FpmMREDkT4ydF/t70CZf1Jf++lBcK0nFmRCN7bN/vRTK2C4m1HnU6fgtYBtJGYo7tiTE59tvO1FG58yCtqnwwKON/H6J7qDBTyTlgKZJANrjDkqJK99kMpmMDMBIXmM2dYqT2eb9JPh9tufk8/Ofrdw/48EwfJ5FURUiuXh1G2mjriAVw1ELdkR/2rlq+D6AbHtIvX190KB11cz1IisFb4G3vms5Ml9CNN6lJz8+ks3wFUwWVN4rO+v0hbuP6jNF2iVvmSMCGwkyzx2IGicUPJEHO76EeZPoPUEQs4Yhu2gNcBIdk2OQLDU+7w9eOS9G+gIaqMThEoh+stVUB8mAqw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from MW4PR11MB5799.namprd11.prod.outlook.com (2603:10b6:303:181::17) by DS0PR11MB7213.namprd11.prod.outlook.com (2603:10b6:8:132::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5986.18; Mon, 9 Jan 2023 02:28:23 +0000 Received: from MW4PR11MB5799.namprd11.prod.outlook.com ([fe80::9668:982f:38c8:81fd]) by MW4PR11MB5799.namprd11.prod.outlook.com ([fe80::9668:982f:38c8:81fd%5]) with mapi id 15.20.5986.018; Mon, 9 Jan 2023 02:28:23 +0000 From: "Gao, DaxueX" To: Ferruh Yigit , Thomas Monjalon CC: David Marchand , "dev@dpdk.org" , "stable@dpdk.org" Subject: RE: [PATCH] kni: fix build on RHEL 9.1 Thread-Topic: [PATCH] kni: fix build on RHEL 9.1 Thread-Index: AQHZIgtizLB52OLNmEyd2VX+7hSR6a6VX6Tw Date: Mon, 9 Jan 2023 02:28:23 +0000 Message-ID: References: <20230106201315.1179306-1-ferruh.yigit@amd.com> In-Reply-To: <20230106201315.1179306-1-ferruh.yigit@amd.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MW4PR11MB5799:EE_|DS0PR11MB7213:EE_ x-ms-office365-filtering-correlation-id: 9d4c0f82-50cb-4395-7903-08daf1e92e2b x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 6wEhe3+T4mISayT7TZGZ/J1QYxn2pZBJZ1VEOSAbyfqFgLkrivj+Hq28HsT6X7urFqoTzFwqF3FfEt52hZcjUXDTooB4AZGmSDLhQhdcOTG4YoKtnGO4RWyV/O9CL9XoBjd3PZd+3pLijoASKE9Pebb/4gVIzv3dzQ5ktdzOya3obesjH0RtJKB8aE2196rr0bjCYqgTu9uwxtsD6nJ/Xu8kzwQ2bgx7s+TKaCH8g7mJFwcFirjZ7yFvTQ0Bzn3kCgTnuyN9M3cgrEPg9aDO2rsQhumCy2y8qUHuvlLVUOuN0c/vKHBBdx1ZWJndeoulMz0ic3U82x2MTdrh7oeo2j6jTWJ8XPgkxyx1Fh05QBmBQHpPTULZEkq01za1IwT6LmMjBDPBtRRSSnDexwyHtrBHO21HqYj4iDrfstsm6Kw8QAjApB9J6/As7pU+rmRLfIwrpE0sdZyKvIGnCR95XVrvjgF9u2NPxktSfmObglBLY7isOO1NYTEMFOK/EshaREX8QtnoGBbLgZBvgQhu2LV+pj3gF2MSVLqSsNgpa9IuNimNj/F1H6E04dUh1t8s05hZrLTyXAZgS8fmQDCWB310baDRcUstBBLjweJHRD1eFEmSU3EEdKOw2I1abmy9Po1yFhaKHR5UuEpvxs2VD5ZWebumoFKieEn975zM0L3XDvh/AyETXPr6b5APe37BSbm+neUNW2qYTMrYKta0RQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MW4PR11MB5799.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(366004)(136003)(396003)(346002)(376002)(39860400002)(451199015)(33656002)(4744005)(316002)(5660300002)(71200400001)(7696005)(26005)(186003)(9686003)(478600001)(41300700001)(110136005)(66556008)(4326008)(64756008)(66446008)(54906003)(66946007)(76116006)(66476007)(8676002)(8936002)(52536014)(86362001)(55016003)(38070700005)(53546011)(6506007)(122000001)(82960400001)(38100700002)(2906002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-2022-jp?B?VzlUUklKZTBlNjljdVhYVXhSaU5LUHlzYjc1cFdTb0hoTElwN1YvQWh2?= =?iso-2022-jp?B?dk1oYzdFTlU5QzArWC9WeEdJODBzUGdjZWp2R1UxN1hoY1poTURqb2sv?= =?iso-2022-jp?B?dGs4YTdRZ2ZMZ0paSHdtWTFtTmVXRDRBcVBZMmh5NzFkMHpQemkxVWhL?= =?iso-2022-jp?B?c2VVOUVvV0Z1QzVWTzdYRG40Sk9ZNGMvZ3hyRWk4MjVjMmdnREhDaEJR?= =?iso-2022-jp?B?Nmc2N3hRb0s3S0ZLMkhEaGxRMDBoSUF0THJhajF5elNkUitURkNXekM5?= =?iso-2022-jp?B?NUd5bWxaeS9GdklVYjF6MzN5dVFRRm9vRVNzT00rWG9LZnBaQ1RjTG9o?= =?iso-2022-jp?B?Vi9HUUtiQ2t6eTViUVQvZlFzZUNOUEpod01LOFpoWFkxZ0hqSXdKT2lJ?= =?iso-2022-jp?B?NXFHaWMxWE93QnRCSjVORmZMR3ZTWUlQL2g2bGVsMjNjcFBGeUpTS3Yz?= =?iso-2022-jp?B?V3pQNDNOaHhhV3A5SkV1STdMMW1ldmJDL3ZrVVdLaGtaalpBWGJ6d0Fv?= =?iso-2022-jp?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QQ==?= Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW4PR11MB5799.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9d4c0f82-50cb-4395-7903-08daf1e92e2b X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Jan 2023 02:28:23.0308 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: TVkS0TDFonGg0aXYCbEQdh1LF/k4YVvGnx+oiaBYAMShKE2WB28Bo44pt6+juUIdSkjPeChQnX7R4MEby1ihOg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR11MB7213 X-OriginatorOrg: intel.com 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 > From: Ferruh Yigit > Sent: 2023=1B$BG/=1B(B1=1B$B7n=1B(B7=1B$BF|=1B(B 4:13 > To: Thomas Monjalon > Cc: David Marchand ; dev@dpdk.org; > stable@dpdk.org; Gao, DaxueX > Subject: [PATCH] kni: fix build on RHEL 9.1 >=20 > Linux kernel in the RHEL9.1 seems backported Linux commit [1] that drops > netif_rx_ni(). >=20 > This was fixed in DPDK [2] for vanilla Linux kernel. >=20 > Adding RHEL9.1 check for the netif_rx_ni() usage to fix build error. >=20 > [1] > 2655926aea9b ("net: Remove netif_rx_any_context() and netif_rx_ni().") >=20 > [2] > Commit c98600d4bed6 ("kni: fix build with Linux 5.18") >=20 > Bugzilla ID: 1076 > Cc: stable@dpdk.org >=20 > Signed-off-by: Ferruh Yigit Tested-by: Daxue Gao