From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f46.google.com (mail-wm0-f46.google.com [74.125.82.46]) by dpdk.org (Postfix) with ESMTP id F089332A5 for ; Mon, 25 Jul 2016 15:43:47 +0200 (CEST) Received: by mail-wm0-f46.google.com with SMTP id o80so157793292wme.1 for ; Mon, 25 Jul 2016 06:43:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=tkTQ1ldXks5cP7/DLkW8qlMfn+YFmzxfW4jWi+p2Kug=; b=EPxhI90E1ucQRVf1CpJDMgYgv4+bL7EBjSytE3sWFezTQrJcYfmP9g5lLXXvw+uE7S Ca8fjNsjO3CMIe1ZeEzW7UrLTKf0i59ejYBOC6AIIN4jaE690+/KwhylMOszq2Cu+LDH GqjOnjKG8wKyyih1jb8XgBH5SX6xBzkD6UA4uHsoBNvVP4rPtfjSyLxfhhjW9pzkWO/W Jgl+9ik06HwFVZC5j3xRA6tzK0LcTey9GjomAijWtYbaq4gIkhda6Rk2NVWCFPRkjpZV fCp6hhqSSOMLRolsGxJXnoNWQupNWqt9MR3dvapb47sJyBFmHCFaGPkH8WBH19e+bdH1 IStA== 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:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=tkTQ1ldXks5cP7/DLkW8qlMfn+YFmzxfW4jWi+p2Kug=; b=Pnv454IjVR3fLO9njOFDn4ps9NwkGMjKxv3FtDeflbPoQBXI0xpFO0g9Yr+Zl4iy7F tAzOCVOaDL7v4oeiDfMXqyL1yCawk5mAelLftIREmPBuQAqg9iFr4kHM/sG63EXzroR3 3ZmkJBqiIe6xM0bPbbXBri8Gj+Hc8M3c9AEmYk96xEMSKX1qADQmZxBUg7Bv8n/1hD4g YruuVNQOLp1Wi4ryVJ7fSBlK6x+M25YUvwM4wUNaUJsl3wUhr7F0d/hCd15Vf1hb3Er/ +Ss5bvxH20TBoqi39TEpX23YCWGq5HR7ruFo4o4wBGthE8j0yXUg5iLPdh72DiCrcc/B ouGA== X-Gm-Message-State: ALyK8tJqrPbn/xmju6kOi/ZQ+wXAeR8QU/8aV08W2w3QgRwVCyCKMv/KzLOgwZY5sOMcX0EJ X-Received: by 10.28.0.203 with SMTP id 194mr41168279wma.29.1469454227484; Mon, 25 Jul 2016 06:43:47 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id uo4sm15894604wjc.36.2016.07.25.06.43.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 Jul 2016 06:43:46 -0700 (PDT) From: Thomas Monjalon To: Ferruh Yigit , Zoltan Kiss Cc: dev@dpdk.org, Nicolas Pernas Maradei Date: Mon, 25 Jul 2016 15:43:45 +0200 Message-ID: <48982545.S9g3uDomrp@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <5796153A.1070007@intel.com> References: <1469452240-1204-1-git-send-email-zoltan.kiss@schaman.hu> <5796153A.1070007@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] net/pcap: set rte_errno on TX error 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, 25 Jul 2016 13:43:48 -0000 2016-07-25 14:33, Ferruh Yigit: > On 7/25/2016 2:10 PM, Zoltan Kiss wrote: > > This returns the error code provided by pcap_sendpacket() > > Although this is good idea, this adds undocumented side effect to > rte_eth_tx_burst(). > > I am not able to find any information in rte_eth_tx_burst() that it can > alter rte_errno. > > Since rte_errno is shared resource, it shouldn't be updated without > documented. That's something I was looking into. Maybe we should generalize the use of rte_errno in 16.11?