From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 2F533A0471 for ; Wed, 19 Jun 2019 21:00:03 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 084A21D07F; Wed, 19 Jun 2019 21:00:03 +0200 (CEST) Received: from mail-pl1-f194.google.com (mail-pl1-f194.google.com [209.85.214.194]) by dpdk.org (Postfix) with ESMTP id 931D01D07E for ; Wed, 19 Jun 2019 21:00:01 +0200 (CEST) Received: by mail-pl1-f194.google.com with SMTP id ay6so187976plb.9 for ; Wed, 19 Jun 2019 12:00:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Rbxg3ZMR9HE1qqnoOVTRSLrHaBwhlp7cE91E+TDMG7k=; b=d+G/wxS538iroSVb8JiyGs7MyZFSjwfpuBDDaFJFP0xmArxvC3/kN8Ig5KILBv3rob kyZyJsdTMnV4SquG44giFY3H5inib+dckhIif02NJnp85NUziH8qX9syveM4bM+vz4k6 W9hf6q8ZMGkzqDItlAOad8QgvnaiPiY+19/brDf7QeQ1p8cMr31D+u/zBRfL6SJ0MxZf D1+am8UPKOoH3jSJm27pBIMr2mxyiooE0k2iiTn7BTPSZyDDmqTLd7XYesetkIiifALw SP0IX8FUNjs8lNhsBUlVwFwTMR0XhdVlKWnMTHqdYomxiPMVcJ0wKIaKQHwoto2/u/j/ /Fhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Rbxg3ZMR9HE1qqnoOVTRSLrHaBwhlp7cE91E+TDMG7k=; b=axEfaKp31iz4G7h6BoMk3F9FgSxjxxc8sbGCpxfrNxTx+1ZFbG7S/dNDN+zcFpaaCt x4b8aVd3mffqTdh28/tnAGHsHcvwiJBNskPyfspFq6sDQyRQ92DbNxs+pdyCMY/WZGUe 4SE0oTkmdU/bVnMSTPIUAiN4u+Qc15iHXiDwpxpX8FTJXCHx2e/8KqVkiLVvI1mE9sdt DJr7I4e/sjuHeORljaO9qUTyEDmcKkVs7eGbnbsFFWv5wjU8gUfetPzSrgtFtDUyNQBt Z2JHolJvSxBRBJO5BbfhRRI4WCHQGO+6gj5ycS6jvOZOEyEYaPaTwS2wUoJbRgKUp3Yl mVSg== X-Gm-Message-State: APjAAAWyjRAgOU9oumwVh6520CSbAbNJ1uxEYpUoccrd0zlDfCPOY7Rx mHFCedPDusUgMiU1PYmpYIA5Vb7Hm3I= X-Google-Smtp-Source: APXvYqxLdq77GGPrmco6RWwhd37P6Jr85ohRpV9+Xm7XjknN3MhOtmgzbByk5jaI4m+8m3Jrcejdyw== X-Received: by 2002:a17:902:9898:: with SMTP id s24mr21887825plp.226.1560970800588; Wed, 19 Jun 2019 12:00:00 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id g8sm18613397pfi.8.2019.06.19.11.59.59 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 19 Jun 2019 11:59:59 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Wed, 19 Jun 2019 11:59:50 -0700 Message-Id: <20190619185958.27306-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190610175155.21374-1-stephen@networkplumber.org> References: <20190610175155.21374-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v4 0/8] kni: fixes and cleanups X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" While testing KNI with netvsc, saw lots of places more code could be safely removed from KNI kernel driver. v4 - add more style fixes v3 - rebase to current master, add style fix patch v2 - get rid of unnecessary padding, combine the unused field patches Stephen Hemminger (8): kni: don't need stubs for rx_mode or ioctl kni: use netdev_alloc_skb kni: don't keep stats in kni_net kni: drop unused fields kni: use proper type for kni fifo's kni: return -EFAULT if copy_from_user fails doc: update KNI documentation kni: fix style issues .../sample_app_ug/kernel_nic_interface.rst | 18 ++--- kernel/linux/kni/kni_dev.h | 18 ++--- kernel/linux/kni/kni_misc.c | 17 ++-- kernel/linux/kni/kni_net.c | 79 +++++-------------- lib/librte_kni/rte_kni.c | 38 ++++----- 5 files changed, 57 insertions(+), 113 deletions(-) -- 2.20.1