From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f176.google.com (mail-wr0-f176.google.com [209.85.128.176]) by dpdk.org (Postfix) with ESMTP id 3A6AA10EA4 for ; Thu, 30 Mar 2017 15:30:06 +0200 (CEST) Received: by mail-wr0-f176.google.com with SMTP id k6so55249796wre.2 for ; Thu, 30 Mar 2017 06:30:06 -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=ekWEIhQAnL7jrZT+fWHB6KbJO4WYMFcftOo++xs0n4k=; b=jB8qHH3rAslU0c1nRjnIK6UB5tO7VhUBz7FEufI+hrX1IFeKbMaxjt9+a/w2CAsryU e2sJq73GdrW/vaoalcMzGngdZBLI3QSZcpBdtB4CS2P57t/+71a0H9wi3eJkPQB10FX6 nUVIpzNQ7aQOjeu0Iv3XGZF5mi7NwA6e7SkzG5fCJuwEiTAelvTmm0NJSS0BQYRqERNl D4ZD1J9Ej+gYEmCQphnpT5l2HdI0ZLKH9Fg4bswJJtWfuRmAsIQ1N7ypZyOSh2927dnR jEM34qtqe1BUzyuMS0gpRYtXGrRkXhxljblahbNul+IvZBFNlxagErQaq4CZKQFdGSKB P0wQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=ekWEIhQAnL7jrZT+fWHB6KbJO4WYMFcftOo++xs0n4k=; b=Lt3K5qp7hqMmh0l+03iEgAvnLBzTqPP6muqs+4S+DA71OtAr1Fbn5JwVijLoupw6wS SSbb+cuHz/vgYcZrVnJtTb550vLgr3rinlDfNTUrq8WsQ5vpaQ8Nrijcgx30wPSNdOf4 cmVqvOvYuV/eD1q4LDcckDPXOywJJAYHPXLgOa+9HsH/stTIcQ/O8cwLsHo8ADbeP01F XvWoYmgmnJ2APrF2kPVRJKCLVK/KT+Z7rnHA2upA931o8jaNmktBz2fNRLVxLWbCYdtv zxrnqwV/X24HtXPRfS8JCSs9H+fzniomkk1rmID0XEzQ5EyO4FUa+sy1TSd33oNkeBMc PvKg== X-Gm-Message-State: AFeK/H1JBGnVEffohWGqqKa/xhFiVOaZaLuO+bu/EUfLAt0jbKyoDQkmuRuC+gnkR+rrzF6X X-Received: by 10.28.66.77 with SMTP id p74mr3603573wma.107.1490880606715; Thu, 30 Mar 2017 06:30:06 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id y65sm2812695wrb.50.2017.03.30.06.30.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Mar 2017 06:30:05 -0700 (PDT) From: Thomas Monjalon To: Olivier Matz , ferruh.yigit@intel.com Cc: dev@dpdk.org, konstantin.ananyev@intel.com, wenzhuo.lu@intel.com, helin.zhang@intel.com, jingjing.wu@intel.com, adrien.mazarguil@6wind.com, nelio.laranjeiro@6wind.com, bruce.richardson@intel.com, venky.venkatesan@intel.com, arybchenko@solarflare.com, qiming.yang@intel.com Date: Thu, 30 Mar 2017 15:30:04 +0200 Message-ID: <6733058.qxCdJeOGN1@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <20170329083633.15626-1-olivier.matz@6wind.com> References: <1488902393-7237-1-git-send-email-olivier.matz@6wind.com> <20170329083633.15626-1-olivier.matz@6wind.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v3 0/6] get status of Rx and Tx descriptors X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Mar 2017 13:30:07 -0000 2017-03-29 10:36, Olivier Matz: > This patchset introduces a new ethdev API: > - rte_eth_rx_descriptor_status() > - rte_eth_tx_descriptor_status() > > The Rx API is aims to replace rte_eth_rx_descriptor_done() which > does almost the same, but does not differentiate the case of a > descriptor used by the driver (not returned to the hw). > > The usage of these functions can be: > - on Rx, anticipate that the cpu is not fast enough to process > all incoming packets, and take dispositions to solve the > problem (add more cpus, drop specific packets, ...) > - on Tx, detect that the link is overloaded, and take dispositions > to solve the problem (notify flow control, drop specific > packets) > > The patchset updates ixgbe, i40e, e1000, mlx5. > The other drivers that implement the descriptor_done() API are > fm10k, sfc, virtio. They are not updated. > If the new API is accepted, the descriptor_done() can be deprecated, > and examples/l3fwd-power will be updated to. Applied, thanks Next steps: - implement it in other drivers - deprecate descriptor_done API Ferruh, please, could you check with drivers maintainers? Thanks