From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f193.google.com (mail-pf0-f193.google.com [209.85.192.193]) by dpdk.org (Postfix) with ESMTP id 2AC5E8D4D for ; Tue, 17 May 2016 21:43:18 +0200 (CEST) Received: by mail-pf0-f193.google.com with SMTP id g132so2790505pfb.3 for ; Tue, 17 May 2016 12:43:18 -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=JVeYeQrtl+cxX2GCPI7dfat8YTjkKb3/ckn6L60PTaU=; b=wfJhdguygXiOpoBjQhhNY1YKF43fpuSZnaRwRqFfgIFdZ/uiqqLsmMWo5v6WX5Ircb cY8Zprn86quYqGoVuvCddkobG176VRnWxTWtZiQ2LfeTcMxH88VLdrsr4aDXHbEXk82q dMJ+b+YdPg2LNMxZ/1iBarCtU2rqksjc1Y9t1HueISVsp/IqZK4cbivXmav7TtO9QKYM XM2KFK4V2EDIT0w0gB93ZcLQG7mUodKkrFnDSzSO+AcdKtaoWairNEJ7yW5A2kZ2i5ke 3FQnQR2FYf3oDNLwGbfxL43q7fmtglUPcE/k8mbUzvR9a4nkuMFm9WODA8o6oiRfOpLT ZOaw== 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=JVeYeQrtl+cxX2GCPI7dfat8YTjkKb3/ckn6L60PTaU=; b=av5sUODZX1QhH930rUiv1bbkCAVoB4ZgIUej8dNLcZP4wBxcztsMjLuNbq1k8XcMha A6fV4xxMMGlf0r5nbLAdh6ciiN/vcvtqYaxOkW2LiFd0EqTNrHC9QfpF7rHRttMa7/SX xt9/Txl6h977TnWn4XVS7zDVW9xxJeqRkmi9Pcptkl2T1J8R2Obs3h9sBVHeKRCk2cn+ nWcJ/DRoiAW0NGKXR1mhxA4xXv20vrXXXuPZdB0L60+oweH0wLAgDz69se4GZ9yHPTHH 30RST0/8Eik60Fg5SlEIaG5wZXe1SLrC1CfFNrwmOGtpt68oGc2yEMSeF4Ov4Pwmh0Dz Ri8A== X-Gm-Message-State: AOPr4FXfRgyAYgDieUyf9If6VNhGZvhGsVUmxV5NcgNvdN7No+dblm3qv1m1MaKuKnl+Og== X-Received: by 10.98.41.70 with SMTP id p67mr4654023pfp.93.1463514196432; Tue, 17 May 2016 12:43:16 -0700 (PDT) Received: from localhost.localdomain ([50.242.71.57]) by smtp.gmail.com with ESMTPSA id nz6sm6631613pab.39.2016.05.17.12.43.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 17 May 2016 12:43:15 -0700 (PDT) From: Alex Wang To: dev@dpdk.org Cc: ferruh.yigit@intel.com, Alex Wang Date: Sat, 14 May 2016 11:22:54 -0700 Message-Id: <1463250175-3024-1-git-send-email-ee07b291@gmail.com> X-Mailer: git-send-email 2.1.4 Subject: [dpdk-dev] [PATCH 1/2] rte_kni: Fix documentation. 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: Tue, 17 May 2016 19:43:18 -0000 From: Alex Wang The 'mbufs' alloc/free descriptions for 'rte_kni_tx_burst()' and 'rte_kni_rx_burst()' should be inverted. Signed-off-by: Alex Wang --- 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