From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 39E75C43613 for ; Thu, 20 Jun 2019 19:21:00 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id B5CB02084A for ; Thu, 20 Jun 2019 19:20:59 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=networkplumber-org.20150623.gappssmtp.com header.i=@networkplumber-org.20150623.gappssmtp.com header.b="m2XpEsWT" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B5CB02084A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=networkplumber.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B84B51D460; Thu, 20 Jun 2019 21:20:58 +0200 (CEST) Received: from mail-pf1-f196.google.com (mail-pf1-f196.google.com [209.85.210.196]) by dpdk.org (Postfix) with ESMTP id 125D01D453 for ; Thu, 20 Jun 2019 21:20:57 +0200 (CEST) Received: by mail-pf1-f196.google.com with SMTP id r7so2216799pfl.3 for ; Thu, 20 Jun 2019 12:20:56 -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=scthbx73IwjE1oXTqYe1FQ1MLWAvJEKeFYzwxCLBQs8=; b=m2XpEsWTxNSrzkwMnWp8HVOV6Bgbm4BTgy04jAsbIngiAADWabyiknUpg2ncPxKOn8 r+hYD4pixCt4kiKnVTsF3QSt8jxsFEGKDRvVtv938+sD+8f9QlT6BwtURmpjhv9CUN+/ D1Upz+FShajSAMBT3us9VXZH5zVcaXnxU0W51RYXUryvyTpIWe1fwG0d4PzQWdD9ppmo JWC5j7L6Z5mDIY0bV5gzT9NjuOAtmd0nElMaTOSFWvAbE0vNokkkGbg7RDK2ze8X67XO q9RANx1ECrASKkmFp8hyMnkOKLKOLtTLpXySKMGGfl9nXxZbrRPY/Ass4r6g5AAd6f6i K/7w== 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=scthbx73IwjE1oXTqYe1FQ1MLWAvJEKeFYzwxCLBQs8=; b=K9lxjTtxu4jgzn2lkAJq3hflSpQKBjNHs7QuxUD6kIcwWEA6uRxKXj1oQAYNR4tUwt S79rJjP6FGKdQjXKzHnGhS9yv3qKARYHzATB09nz6YNx2uUA0qYwet1LbLIHbIZZwCMd 0fUdN5+ubK89f3Ad3ms013xx3nI5J/d6MFmlvmEuDy7VjS0oQx6Wg6jtCUNEvPJlt9C9 0OfAGASyoZFD4a6Cx9kVpdy5kNNWzh9jzNxG3MgmcY5VSDmuLnXXST7ESeZXtv1GCTej WvWOr6OEjqeyMpIa/ktYYlAnSnJAYR+1VTrYCgFYIGKDMHDR2+YeeZxISgInomHNizdK 3d7g== X-Gm-Message-State: APjAAAWt2b1L4cmYuxVC+AP3DOKyPMCjQe3rnz+NhXO+6X3NtMiObeqv 4WmSE5S2vGFOzbOZxLUmxY0bc+A7D/A= X-Google-Smtp-Source: APXvYqy+jqCoFruJtmxolsu1GfDsQ76KqN90ibu904yEjpi8o6UpiGVoaap1xY/A8UJOmO3wFkBx3g== X-Received: by 2002:a17:90a:950d:: with SMTP id t13mr1226242pjo.81.1561058455903; Thu, 20 Jun 2019 12:20:55 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id j11sm255703pfa.2.2019.06.20.12.20.54 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 20 Jun 2019 12:20:55 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Thu, 20 Jun 2019 12:20:39 -0700 Message-Id: <20190620192048.13814-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 v5 0/9] 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. v5 - add minimal ethtool, fix checkpath author complaints 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 (9): 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 kni: add minimal ethtool .../sample_app_ug/kernel_nic_interface.rst | 18 ++-- kernel/linux/kni/kni_dev.h | 20 ++-- kernel/linux/kni/kni_misc.c | 18 ++-- kernel/linux/kni/kni_net.c | 100 +++++++----------- lib/librte_kni/rte_kni.c | 38 +++---- 5 files changed, 78 insertions(+), 116 deletions(-) -- 2.20.1