From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from dpdk.org (dpdk.org [92.243.14.124])
	by dpdk.space (Postfix) with ESMTP id D9E3EA00E6
	for <public@inbox.dpdk.org>; Mon, 10 Jun 2019 19:52:01 +0200 (CEST)
Received: from [92.243.14.124] (localhost [127.0.0.1])
	by dpdk.org (Postfix) with ESMTP id B2DB01C11D;
	Mon, 10 Jun 2019 19:52:00 +0200 (CEST)
Received: from mail-pf1-f193.google.com (mail-pf1-f193.google.com
 [209.85.210.193]) by dpdk.org (Postfix) with ESMTP id 3C09B1C0C5
 for <dev@dpdk.org>; Mon, 10 Jun 2019 19:51:59 +0200 (CEST)
Received: by mail-pf1-f193.google.com with SMTP id x15so5756651pfq.0
 for <dev@dpdk.org>; Mon, 10 Jun 2019 10:51:59 -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:mime-version
 :content-transfer-encoding;
 bh=UKfnJLu6tDJNe4Caqy5YGyFfjbirc5iC3m0DFYHEVDc=;
 b=OyPT+aNQpYQhBUJv7rF1JB/Br3ntu+a7uyPQjGyfg4CeSll56ExwFrG6R9UdKNlHjr
 kLk6Q6Y9mkNZyYRDFCFGTK14Ot6G+pR11wRI3fj0QS7cJPC9yzVhu/S2SE9EviYnkk/w
 VpzlyD0vx2KghN/F8RyntbiPs8egm6wqfHwxNwXnil8joHxXACp4xYsxyfkfeGmYKjJR
 a8c32bWwRR/FHdf02yTQrQuvCvvZ3v9Js0xCg0SF87lzGw9fvGNzIRobYyh7DwMqNUBz
 3VFkxJj73NbwQJQz+flRBh89nyig1noykYwRcPMG9aA7oYs+L2bvwkExeI3Ovr2bUF89
 GGTg==
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:mime-version
 :content-transfer-encoding;
 bh=UKfnJLu6tDJNe4Caqy5YGyFfjbirc5iC3m0DFYHEVDc=;
 b=sY+cT4dT9r+d+K78c4WoGMaZWDrJ+gtAxu3CxTLB02BpAOoe2rgpnG0FvcvHOGTZBZ
 O4Upw68lQDeGSLHrWPa3d+u3jwL1+nDtvEHnvvDvDeM80I6pkmw6EiHvaNeXS4n9epF1
 oo5r23oqJbWFjZOdjR0kDXGD1pSd36RwVfmAN5OGWkyXFDvaP0uUJLNuAE7y748/PjPq
 XoNfDC1/0hHvBudW4Nj4kob3iBSmOBkg3FIDIyg5it/RwIYnwb6CP8hU8GABfGoGp7+1
 HGCNiPuWw18BlWud2kAEOA5bKsMIRVX9EO7DJjn/C+i42OtkrX28Ado0XNCJ1TufRM1v
 rvAA==
X-Gm-Message-State: APjAAAVm3fBOw944OYFElhvhxjiToLO6+MXP8u13trhSVuE5Uhvyl2gb
 yLDXrK0J/vNpgzN2ONn8DQY8NQ==
X-Google-Smtp-Source: APXvYqxhs79PzgjGrt33P+La+a+1vG9YL2xKTS9qoxYBs7grA+ibuD4EEsgIvvXluVYJVXm0Y7iAxg==
X-Received: by 2002:a17:90a:4814:: with SMTP id
 a20mr22949860pjh.62.1560189118348; 
 Mon, 10 Jun 2019 10:51:58 -0700 (PDT)
Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127])
 by smtp.gmail.com with ESMTPSA id l38sm131656pje.12.2019.06.10.10.51.56
 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256);
 Mon, 10 Jun 2019 10:51:56 -0700 (PDT)
From: Stephen Hemminger <stephen@networkplumber.org>
To: ferruh.yigit@intel.com
Cc: dev@dpdk.org,
	Stephen Hemminger <stephen@networkplumber.org>
Date: Mon, 10 Jun 2019 10:51:48 -0700
Message-Id: <20190610175155.21374-1-stephen@networkplumber.org>
X-Mailer: git-send-email 2.20.1
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Subject: [dpdk-dev] [PATCH v2 0/7] kni: cleanups and improvements
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>

While testing KNI with netvsc, saw lots of places more code
could be safely removed from KNI kernel driver.

This is still mostly "putting lipstick on a pig" all users
would be better off using virtio_user rather than KNI.

v2 - get rid of unnecessary padding, combine the unused field patches

Stephen Hemminger (7):
  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

 .../sample_app_ug/kernel_nic_interface.rst    | 18 ++---
 kernel/linux/kni/kni_dev.h                    | 21 ++---
 kernel/linux/kni/kni_misc.c                   | 17 ++--
 kernel/linux/kni/kni_net.c                    | 79 +++++--------------
 4 files changed, 38 insertions(+), 97 deletions(-)

-- 
2.20.1