From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vk0-f66.google.com (mail-vk0-f66.google.com [209.85.213.66]) by dpdk.org (Postfix) with ESMTP id 925F937B4 for ; Mon, 28 Mar 2016 22:52:15 +0200 (CEST) Received: by mail-vk0-f66.google.com with SMTP id a62so16362920vkh.0 for ; Mon, 28 Mar 2016 13:52:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id; bh=Ha86VhXa8/7m0Ln5eWEHJJa91cwHWMPFcMFgPfYXTtw=; b=FxGlJRTbk6b8v6IGD7ekpXqd6SAR8LnA82/Iyo8/9kt/BUVzr0HNQHNA/xU++4c83Y U2AL6gQK8Umf/rz4JPBB3EJVoJFDDiqV9/PDRH66Z0cI38ol8QfXtlnqG6C3pFxhks17 RzozlkyYLQwctlMIkmU0WpZmi5/PDA8xYSjzFUKkMfPMpth4+gZjKmAlbSmlRhar7BDp 3yKj6Lg/NQixOvGAuKztLqR8bhywBYZxliWiGb/O/wLuppP6pW0xU71Nzhro1Pek5phR eT24s+GIrZHdrifE2sj8HY2BALdo6Qt58UJ1NamzKWMp0Ge4faSUpJpW/5WMPTVPyPFX CFBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id; bh=Ha86VhXa8/7m0Ln5eWEHJJa91cwHWMPFcMFgPfYXTtw=; b=XADqWehFB9FnoTDYBnuNV3HVRv5jWlvhoVZzWwxIIbzOuY2zGsiU/NoZUN5kp63MSv ndssIcKzCzjMjrliFkqPqkXtDGWFccACTZzpYGrc376y8BxlBcSSQRTvDRSP0BJH8PTl jp2gA+VMyuw3M3KYk1CEsr5Q4GfCBlArXVPTquOOlfo5qmzt2dgTtRpExQeEwFVfbJld cNDH/D78gtRNPXPgOu8JxKi1IN93FDjwYliHOXYY1qMp7PXWbrABughSt0BWsYyu05ER TElQnAASGLYurht5qvpcjdcRwNBdpnpmeLoNI+mP0K/CDUqflMBe2EPNLAZqieifh2ll YRzw== X-Gm-Message-State: AD7BkJJMXd5hqeKiEV1cSXdG+PbqGGXkT3XqtXzu53OEypG/M+ZwIryR8AI4q6x/Lw/sUA== X-Received: by 10.176.2.53 with SMTP id 50mr16138058uas.13.1459198335137; Mon, 28 Mar 2016 13:52:15 -0700 (PDT) Received: from localhost.localdomain ([23.79.237.14]) by smtp.gmail.com with ESMTPSA id v19sm4301389vkd.22.2016.03.28.13.52.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 28 Mar 2016 13:52:14 -0700 (PDT) From: Robert Sanford X-Google-Original-From: Robert Sanford To: dev@dpdk.org, cristian.dumitrescu@intel.com Date: Mon, 28 Mar 2016 16:51:33 -0400 Message-Id: <1459198297-49854-1-git-send-email-rsanford@akamai.com> X-Mailer: git-send-email 1.7.1 Subject: [dpdk-dev] [PATCH 0/4] port: fix and test bugs in tx_bulk ops 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, 28 Mar 2016 20:52:15 -0000 This patch series does the following: * enhances port ring writer test, to send two large, but not full bursts; exposes ring writer buffer overflow * fixes ring writer buffer overflow * fixes full burst checks in ethdev, ring, and sched f_tx_bulk ops * fixes ethdev writer, to send bursts no larger than specified max -------- Robert Sanford (4): app/test: enhance test_port_ring_writer port: fix ring writer buffer overflow port: fix full burst checks in f_tx_bulk ops port: fix ethdev writer burst too big app/test/test_table_ports.c | 27 +++++++++++++++++++++++++-- lib/librte_port/rte_port_ethdev.c | 35 ++++++++++++++--------------------- lib/librte_port/rte_port_ring.c | 20 ++++++-------------- lib/librte_port/rte_port_sched.c | 7 ++----- 4 files changed, 47 insertions(+), 42 deletions(-)