From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io0-f172.google.com (mail-io0-f172.google.com [209.85.223.172]) by dpdk.org (Postfix) with ESMTP id D3578FE5 for ; Sun, 5 Mar 2017 02:46:24 +0100 (CET) Received: by mail-io0-f172.google.com with SMTP id 90so95437770ios.1 for ; Sat, 04 Mar 2017 17:46:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yale.edu; s=googleprd; h=mime-version:from:date:message-id:subject:to; bh=LSxiJsD+kXyaY6W4ao/9YMF/2vmvjilb0qfT/29NorI=; b=PgItMRf19thYuqfuJjqK8a05fBI8UJ2nt0FHIYvZYgdxlW7SyhK3XHcTsvWLl8buR0 4FoGudJOXpBlG1N+My/JLtoZvyq/bB2jtl/0QmY+QvyEEfSAjsJbtMTTZGDXtF/Vl44A dP8HnNngQvCKEyPaljAmddbIasXbjWYfYXNu0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=LSxiJsD+kXyaY6W4ao/9YMF/2vmvjilb0qfT/29NorI=; b=d6hHZkj9vVDietVYfiTmiCut9y1KoksSPtKRJRLqcm07x8QkuyH9kcitbafk+UqZQS Ms+1MXJ+vyjlk4eU306irxMLlATx2ahzoxPVl1PXIPrf1cFpJVLg7QrJY6b8U3AGljLF +KlHsRDp+ZB6m+kxxosswLHzJ8pL0WkZhlDUiERQQ1F4VRAIwXdvCNEJc7icS2NbvANm LJScs4nUOH14bTW4Q0EDbE/XQGL7oCysFWiVjhF+pdga8xf1aqeS+cz5bM6+42UNGmHj OnS5YPbd0tjuG59GKy5yuaNX1gRPZK+TCh8R4TprdXPfFUtgP3wfFe+xzfxfcdPmR5GZ MVzw== X-Gm-Message-State: AMke39nmKIaMdR1lW1/xWJ1ENZ4YD+kF/Xhu98ePIhYmaNFkvb+AxJ6Ia7hRoDye18sek0/wWGv9u8CF8NwJNxvN X-Received: by 10.107.158.144 with SMTP id h138mr8919470ioe.212.1488678383658; Sat, 04 Mar 2017 17:46:23 -0800 (PST) MIME-Version: 1.0 Received: by 10.36.29.145 with HTTP; Sat, 4 Mar 2017 17:46:23 -0800 (PST) From: Yuliang Li Date: Sat, 4 Mar 2017 20:46:23 -0500 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] difference between rte_eth_tx_buffer and rte_eth_tx_burst X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Mar 2017 01:46:25 -0000 Hi all, I am new to DPDK. I found 2 functions that can send packets: rte_eth_tx_buffer and rte_eth_tx_burst. I am confused about why we need these two different functions. To me, I can use only rte_eth_tx_burst, and rte_eth_tx_buffer does add more functional capability. Are there any other concerns like performance or others that we need these two functions? Thanks, -- Yuliang Li PhD student Department of Computer Science Yale University