From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-we0-f174.google.com (mail-we0-f174.google.com [74.125.82.174]) by dpdk.org (Postfix) with ESMTP id A1CD01FE for ; Sat, 12 Jul 2014 00:34:28 +0200 (CEST) Received: by mail-we0-f174.google.com with SMTP id u57so1744156wes.19 for ; Fri, 11 Jul 2014 15:34:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=2VzR3l1vDqf8xvJCYBIqt3+g1w3pxh+uQxen/YBti7g=; b=lVzhMgpXw0a+mg72P2E8IW9GBJzhcL9rS2hcI2VP6zoDGAwI55JJNignr6dUc62WTN H+EmIjBnsTD5R8+lk1D9wAiFY/Z4MEbUMWHwPEGMXhbaubb7ou2lbFO8eLgMotjNfKav X5RrB9FJkzukqzStF80Qa2u5O/mW8FBbNaW/fbAMxRHCTNRtCDziYBXXix65TOorSDVA S/1dpeU6nX0jDFOesuElPlBZtBvdSS6B5Tj5lywA9EnL1rK+9SELpzXTFDikO5iewY7p FBD8rF4xszCmKnLL5h/5O78zez9rbc51VrZgsAvRPM6q4RyvZqCGC+Bhkfp5mSDMoTjn COeQ== X-Gm-Message-State: ALoCoQkjKgW3Qe+J9GbeXoONXloxgiamnUY251//LXIfGb7Pyfj91MLj7Yyu+yM/mEPGciAXXZ0e X-Received: by 10.194.82.198 with SMTP id k6mr2492193wjy.10.1405118096776; Fri, 11 Jul 2014 15:34:56 -0700 (PDT) Received: from xps13.localnet ([80.215.166.190]) by mx.google.com with ESMTPSA id di7sm7814794wjb.34.2014.07.11.15.34.54 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 Jul 2014 15:34:55 -0700 (PDT) From: Thomas Monjalon To: "John W. Linville" Date: Sat, 12 Jul 2014 00:34:46 +0200 Message-ID: <9007827.iVFoEikAOq@xps13> Organization: 6WIND User-Agent: KMail/4.13.1 (Linux/3.14.6-1-ARCH; KDE/4.13.1; x86_64; ; ) In-Reply-To: <20140711174042.GE25478@tuxdriver.com> References: <1405024369-30058-1-git-send-email-linville@tuxdriver.com> <20140711174042.GE25478@tuxdriver.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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: Fri, 11 Jul 2014 22:34:28 -0000 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 ;). -- Thomas