From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3B212A0526 for ; Thu, 9 Jul 2020 00:21:28 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 961FB1DDB4; Thu, 9 Jul 2020 00:21:27 +0200 (CEST) Received: from mail-pl1-f180.google.com (mail-pl1-f180.google.com [209.85.214.180]) by dpdk.org (Postfix) with ESMTP id 5ACD01DC46 for ; Thu, 9 Jul 2020 00:21:26 +0200 (CEST) Received: by mail-pl1-f180.google.com with SMTP id p1so9497090pls.4 for ; Wed, 08 Jul 2020 15:21:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=eGwkBjnU3Ch5SqSYcT8tyVt/KwkWdqebVruoUm+DzFY=; b=gFp+maPT5Iexe+kTjuk6WeDWm5rqSUQ20q95GBZoT/N3L1JpC/TjOda3vmqyujihSx odPhPQMy3XPBQGenuI1C3pfRxpdNRrsWaI/6ehGf1XR159/QnlQsrbqy8b4yYdGFIl82 wtCyo0HTDZGGASMZ7JYTVtrwO9XH/F7DSRn1ag1jYkp/X9vPAlW6X3vqgpD4l6uvbybS E+CqAh0uCLIghnr0hg0/0rhYdPIKYBzf/wpLhBEBv0aupD2f3U6d3GzO88dZWj2ifWIP WK333uqpGyWrxNvAXzTY7gJTta7Zxb4XixLQQQuwes0Fpvy4fOWX2Mlgemigo0A95Trn 7L5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=eGwkBjnU3Ch5SqSYcT8tyVt/KwkWdqebVruoUm+DzFY=; b=QQd5hYmJmiUofujYm9DX9NEqZnXtcSvJS5x/iCLFABTLAQhfenuVLaHr820jx1t2ie mEKAJkl8Jb9tlb0UOBjnGHGyR7HKZNThUyDe/BjiCnOONVlUn/XorhD0fEqZaPRCe98/ oykwcb/xri0lMJ2RTxZeHwFgGwIzf8yCnBELXk72pOboYIhfDXVhDNKIlbzIrz+Zl5bL KD5/SxvK52sv3M+uhsvj3P8cmL/nyy+lplC/E7E01zFPHnRRSl1jBVseYbyN/XSuzWy9 mOPm5waXMKOo2nTZfBdF3GBDTziUGxYSLULDjTtaCq4QAlD/Fv8V12YybIpTiT8tPpQX LnXA== X-Gm-Message-State: AOAM532DTk7pHwpc6HsbpG4mteZhTUEjtQayMxujhnYVGFkyxL7gsdmQ YodZVKBEBvKzXXlVb7w5Eatfgg== X-Google-Smtp-Source: ABdhPJzhUITWYpyA9ycDUWJQcrjG0UP9JOjvdTvoG546sWi4X8+p14JMh5TQZ8VIEgtT9vFG5wdY4A== X-Received: by 2002:a17:90b:23d5:: with SMTP id md21mr12225870pjb.0.1594246885371; Wed, 08 Jul 2020 15:21:25 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id 137sm702422pgg.72.2020.07.08.15.21.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jul 2020 15:21:25 -0700 (PDT) Date: Wed, 8 Jul 2020 15:21:17 -0700 From: Stephen Hemminger To: Cyrus Bugwadia Cc: users@dpdk.org, s_rsharma@hotmail.com Message-ID: <20200708152117.6bb96371@hermes.lan> In-Reply-To: <320D2D8E-BD74-4947-A31C-B5A29BA59577@gmail.com> References: <320D2D8E-BD74-4947-A31C-B5A29BA59577@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-users] KNI issues X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" On Tue, 7 Jul 2020 11:59:20 -0700 Cyrus Bugwadia wrote: > Hi, > We have been trying to make a sample DPDK application work on RHEL 7.0 and keep getting these errors saying /dev/kni can't be loaded. There are no instructions on how to find or build this kernel model (rte_kni) and it doesn't appear to be installed or built by default. > > Please suggest if we are missing some steps or from where to get this kernel module > > Thanks, > Cyrus You need to have KNI module enabled in the config. By default all kernel modules in DPDK are now disabled. Set CONFIG_RTE_KNI_KMOD=y Then after build you will find kni module in the build result. You will have to manually insmod it. I assume you are using older release with make (not current releases with meson).