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 15FA8A0C46; Fri, 23 Jul 2021 10:20:54 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A0ACB40040; Fri, 23 Jul 2021 10:20:53 +0200 (CEST) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by mails.dpdk.org (Postfix) with ESMTP id ED5804003C for ; Fri, 23 Jul 2021 10:20:51 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 9CFD05C00FE; Fri, 23 Jul 2021 04:20:51 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Fri, 23 Jul 2021 04:20:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm1; bh= 4RAL6XTVtfCdXGyr23pU4x4LI6uh1kJmgrCU5Cm6AqE=; b=4bUSdogtEdqBxtx9 WSrfsw+6m9icMdrfw7Ze96RHxLkTnHSTj0dpmdrmmt5vzUMRTGTBYvmHq8sR1WnY SutM55FsRIs3dxEL0HKxDOz7WoYp/KdTEwkirpUGl114PgWtX8fJeI3F5rVzU+0W VnG0zBpDWyYmMie3ZUw8o4G9J6e6ZxDdlXDEQU/xEoDvaibf1zFYyAJ5iuEL+U1N 6LlrNzt5VF0ZfJuFrzb8/MLs1udwhGI0ZyiuploRVK9hpWwuMUcgF15qRjrGm0Y9 HBWa/MPn7JbamBbZIgqDc7JPEH7r8Vr6EiONQVtGtN6IIBgLG/o9FCIS7ZV4rpZ1 Bnyv/g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=4RAL6XTVtfCdXGyr23pU4x4LI6uh1kJmgrCU5Cm6A qE=; b=Vy8XlFQJCJUQuVG2N49Z6Hxyfur4dofI6eVDzEwhoF+Itr8U9q06Bf8H5 BvjyJ4W/7slGsbt9XeObnER/bjTd0qAn194RLZO0J4T60vyv7NObC+i6YdXHFfnZ uQFtO/zZkDakafZtbRBkYLS2JxhVW2MuWBEgqjiloJziEl4OQ0TdwKMCxXT2gjp0 JKCcAlsxW7zSpGFFXxV/1rfnfR4BmpNt3v5w1T4cgoYzb4XGnCbur2nUQv5gicuu FJfX8wzYj2WeyRCBzVvSqjyMfp5xBcedZOlpjnBLsc6C7jwIg4mKWKHEu8/evApN dOno/aIGOM4qU60BMFW4rjyoN1hiQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrfeekgddtvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucggtf frrghtthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdejueei iedvffegheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 23 Jul 2021 04:20:50 -0400 (EDT) From: Thomas Monjalon To: Tudor Cornea , Tudor Cornea Cc: ferruh.yigit@intel.com, dev@dpdk.org, "John W. Linville" Date: Fri, 23 Jul 2021 10:21:11 +0200 Message-ID: <2188861.Bs9sFKtozO@thomas> In-Reply-To: <1626254891-65085-1-git-send-email-tudor.cornea@keysight.com> References: <1626254891-65085-1-git-send-email-tudor.cornea@keysight.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] net/af_packet: run on kernels without qdisc bypass support 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 Sender: "dev" 14/07/2021 11:28, Tudor Cornea: > Some older kernels do not support the PACKET_QDISC_BYPASS socket > option. Such an example is the CentOS 7 kernel (3.10). > > If we only check for the definition of PACKET_QDISC_BYPASS, it might mean > that we will not be able to compile the PMD driver on a newer platform, > and run in on a machine with an older kernel. > > Setting the socket option only if it is specifically requested from > the EAL arguments, allows us to have a way to run the PMD compiled > against newer kernel headers, on platforms having older kernels. > > Signed-off-by: Tudor Cornea Applied, thanks.