From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.tuxdriver.com (charlotte.tuxdriver.com [70.61.120.58]) by dpdk.org (Postfix) with ESMTP id 915191F3 for ; Mon, 14 Jul 2014 15:59:30 +0200 (CEST) Received: from uucp by smtp.tuxdriver.com with local-rmail (Exim 4.63) (envelope-from ) id 1X6gna-0002Dg-9l; Mon, 14 Jul 2014 10:00:10 -0400 Received: from linville-x1.hq.tuxdriver.com (localhost.localdomain [127.0.0.1]) by linville-x1.hq.tuxdriver.com (8.14.8/8.14.6) with ESMTP id s6EDkHte028172; Mon, 14 Jul 2014 09:46:17 -0400 Received: (from linville@localhost) by linville-x1.hq.tuxdriver.com (8.14.8/8.14.8/Submit) id s6EDkH1v028171; Mon, 14 Jul 2014 09:46:17 -0400 Date: Mon, 14 Jul 2014 09:46:16 -0400 From: "John W. Linville" To: Thomas Monjalon Message-ID: <20140714134616.GC27848@tuxdriver.com> References: <1405024369-30058-1-git-send-email-linville@tuxdriver.com> <20140711174042.GE25478@tuxdriver.com> <9007827.iVFoEikAOq@xps13> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9007827.iVFoEikAOq@xps13> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] librte_pmd_packet: add PMD for AF_PACKET-based virtual devices X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jul 2014 13:59:30 -0000 On Sat, Jul 12, 2014 at 12:34:46AM +0200, Thomas Monjalon wrote: > 2014-07-11 13:40, John W. Linville: > > Is there an example of code in DPDK that requires specific kernel > > versions? What is the preferred method for coding such dependencies? > > No there is no userspace code checking kernel version in DPDK. > Feel free to use what you think the best method. > Please keep in mind that checking version number is a maintenance nightmare > because of backports (like RedHat do ;). I suppose that it could be a configuration option? -- John W. Linville Someday the world will need a hero, and you linville@tuxdriver.com might be all we have. Be ready.