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 1BCB5A0471 for ; Tue, 18 Jun 2019 18:16:48 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 040241C208; Tue, 18 Jun 2019 18:16:47 +0200 (CEST) Received: from mail-pg1-f193.google.com (mail-pg1-f193.google.com [209.85.215.193]) by dpdk.org (Postfix) with ESMTP id DEA101C10C for ; Tue, 18 Jun 2019 18:16:44 +0200 (CEST) Received: by mail-pg1-f193.google.com with SMTP id s21so7936359pga.12 for ; Tue, 18 Jun 2019 09:16:44 -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=7B1q5j0yI58OqCRqoTpFwtqQnVaQroQZbLG4ZRZnefQ=; b=f3WZdP2Y5TfIzKc2DrB1FELFxLWsIStxFD2cp+0WBMd3727BGUrsxlcWxN/IbFrnVa GUmSjjO2caBJvbXEHGCkI+v99kfsroZhZZlMK9qzTu4xKgYxJLVROd1wNeqGHdoRrTKz 51zslBtuEBlve71iA3k6no38ZErq5+lo2ZcD3ruw3n/3nRGj4J/V1j/WRQbZPUdjGlcc pF/PACu2ERPmAKa1C4HJ9OMEAsGDkSvMiV3ep8d/91YzCjJyltrS1kFr4irGS7w9ZwsM IFU3/Cje+F1cNMTeMFljqn7dGdeB3T0Cm7JTrl5Ff0pAa62F4I8GJ/4cX2FWHICyi9j9 Lw1g== 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=7B1q5j0yI58OqCRqoTpFwtqQnVaQroQZbLG4ZRZnefQ=; b=l38/BfHK3vCYKTFqjS3hgmvGyVU85X7MrDgZ6/ej6x76lSSdxo0pw0O96BH1ynrRo+ P+W5XfIP7ZnTpUFiPk/2lu7dOKhTh8iRWXb75S4nLM9lyqvp+1At58t78u6OP/fWi6gd /pelUABFfQahTyWx453+NPvzOLQOlYXQ6IlRq9/PUkHV1of+PVbGraynpq6+5IN6eKE/ 0QopvBIA43IqOSd8zcqoDchf5swbL/HVuzcTgRfS+VWkcRdEwE1u7YxZmbRrLoKsc45y TTX4tGpaISpHq25iY4BS6B71ra3Km963vlMQjr0opUAGyBB1ktYKaJHLiHuMz43G9Pr2 Rnow== X-Gm-Message-State: APjAAAW8kwF/JmbKzPq4p0FR8dZ0b5MgBeDGEYRQOe/TFUTuzgGI3+Vo iyQWmxWTZ6D6C0b654k1K4FCa2VNlKI= X-Google-Smtp-Source: APXvYqzHuO1WuV4vcJbCH2IV2Kix41hf6aIxDQHpoQyPf5aL9G54o+iWo2A9ag7HgZnrbyfQtznZzw== X-Received: by 2002:a63:684:: with SMTP id 126mr3210833pgg.401.1560874603567; Tue, 18 Jun 2019 09:16:43 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id 3sm15485385pfp.114.2019.06.18.09.16.42 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 18 Jun 2019 09:16:43 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Tue, 18 Jun 2019 09:16:28 -0700 Message-Id: <20190618161636.23748-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 v3 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. 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 | 30 +++---- 5 files changed, 53 insertions(+), 109 deletions(-) -- 2.20.1