From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f68.google.com (mail-pa0-f68.google.com [209.85.220.68]) by dpdk.org (Postfix) with ESMTP id 5C0AE5937 for ; Mon, 23 May 2016 19:14:35 +0200 (CEST) Received: by mail-pa0-f68.google.com with SMTP id rw9so18606198pab.2 for ; Mon, 23 May 2016 10:14:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=jfmfJghWqvH2yHW/P8VcRlOPtKzURa8ZndErPe+OWfE=; b=y+LHLnoNBQfYzAOl5KfMSVf2CvASX/qhTHWgyVbLh3bTY7sF4s5v50xfvp8E5FXa3w lyk4vXC6fWfAPBaVD2mvBuSi8uDvwT2z3UEmd9MGlNRZMfVx6Pz/k/DuO/SnuUzN+6cp SoLWcCD5M8vV4KigDS+JzIzjcqDPE/qjqRHFOtZdv6jQK+akGG1xc6DP2m1EQyerbxvb cIuPV+gXw7069PiXXs+Nwh0Kx4F6kWDs0BitkJuWY7emDmdFWD3HnnLDA70vRSu4eYWg x2RVkMtL8HCQAOEV2lV8c8d6J9qMucfNSW9REMijg4lPWniAKZH3RTerkvUFHuDb76Kh ocTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=jfmfJghWqvH2yHW/P8VcRlOPtKzURa8ZndErPe+OWfE=; b=LqsrEBOyhZi+Ohn1GIhzgWG8i/SFsN6iDJf7mAiSikiGtcYcF3+ofkt7Dga6LlrAMt Ht4KjeRtuf2fWgXcgMsySowe/rCuYEUg9rk4mxb1fIkZE4aTFbX3sbsi8dhtKFuOPXwc L2YMUWGemkv390781vBqz+pm4AIrqP4uiZ0wvFVDoJPWQtAXLr8sVwVP4buiSFv7QJx1 /WZA7/7tujdGVFlGRJwB2qiLj6NniaU3QMtjOzsJPZ7WrYMSlbdXM07S7vVcdiH+BJ0S O+PWHtIp4PIKrlbFBo3+h3MpXWi3mzA2M8gwYST1uiCMuRJiHej38XJQ6AFLEyGSlQKD rdmA== X-Gm-Message-State: AOPr4FV4w9pneYgvUQtHh4u79qr28kW+N4RRDgVQk1hI+qhQBYJLajCLVFiUeA6qoRctAA== X-Received: by 10.66.148.2 with SMTP id to2mr28885457pab.72.1464023674622; Mon, 23 May 2016 10:14:34 -0700 (PDT) Received: from localhost.localdomain ([50.242.71.57]) by smtp.gmail.com with ESMTPSA id e184sm48022372pfe.14.2016.05.23.10.14.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 23 May 2016 10:14:34 -0700 (PDT) From: Alex Wang To: dev@dpdk.org Cc: ferruh.yigit@intel.com, Alex Wang Date: Sat, 21 May 2016 00:58:35 -0700 Message-Id: <1463817516-1752-1-git-send-email-ee07b291@gmail.com> X-Mailer: git-send-email 2.1.4 Subject: [dpdk-dev] [PATCH 1/2 v3] kni: fix inverted function comments X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 May 2016 17:14:35 -0000 From: Alex Wang The 'mbufs' alloc/free descriptions for 'rte_kni_tx_burst()' and 'rte_kni_rx_burst()' should be inverted. Fixes: 3fc5ca2 (kni: initial import) Signed-off-by: Alex Wang Acked-by: Ferruh Yigit --- lib/librte_kni/rte_kni.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/librte_kni/rte_kni.h b/lib/librte_kni/rte_kni.h index ef9faa9..25fa45e 100644 --- a/lib/librte_kni/rte_kni.h +++ b/lib/librte_kni/rte_kni.h @@ -161,8 +161,8 @@ extern int rte_kni_handle_request(struct rte_kni *kni); /** * Retrieve a burst of packets from a KNI interface. The retrieved packets are * stored in rte_mbuf structures whose pointers are supplied in the array of - * mbufs, and the maximum number is indicated by num. It handles the freeing of - * the mbufs in the free queue of KNI interface. + * mbufs, and the maximum number is indicated by num. It handles allocating + * the mbufs for KNI interface alloc queue. * * @param kni * The KNI interface context. @@ -180,8 +180,8 @@ extern unsigned rte_kni_rx_burst(struct rte_kni *kni, /** * Send a burst of packets to a KNI interface. The packets to be sent out are * stored in rte_mbuf structures whose pointers are supplied in the array of - * mbufs, and the maximum number is indicated by num. It handles allocating - * the mbufs for KNI interface alloc queue. + * mbufs, and the maximum number is indicated by num. It handles the freeing of + * the mbufs in the free queue of KNI interface. * * @param kni * The KNI interface context. -- 2.1.4