From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1A3E9A04DE for ; Wed, 27 Nov 2019 00:01:33 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C42652C60; Wed, 27 Nov 2019 00:01:32 +0100 (CET) Received: from mail-pg1-f169.google.com (mail-pg1-f169.google.com [209.85.215.169]) by dpdk.org (Postfix) with ESMTP id 7E2862B88 for ; Wed, 27 Nov 2019 00:01:31 +0100 (CET) Received: by mail-pg1-f169.google.com with SMTP id 207so9757814pge.8 for ; Tue, 26 Nov 2019 15:01:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=AUTk1Dfviti7fsJKLC2r/+pcBeYFfLcZKkHTN8rsQDg=; b=p1TjpWPOPb4IDG5aI/uxt9h1JpetfgIEi5vTTEHVTsZ6RZSa2nHzYHrwXDouOUyyo5 SwiHcC+4dgLRO9JS2qc1dT6bVPmm6kpcv35v+yrgC6ZJUQu7n0W0ae8xapOsW7aBJ6/C HIN5BrD9U0PEOBktq5WUMrrOCe0fdG3YTAoiSeZ+vL4790wT+PmcK0LfirQmfc6d3QHx bqxs+X/71dTyyRqalS6pJeeIea0GZmn6o5tVWCE0od7uwPVVkfc6Qhh22s28cHAmIySz 2a+tYwHUhU3qq1AoCou8q8zOeKMDAlA1G3FQPcAPDuhabJcPHsC3QzVFS23U3cZsgvIc WIbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=AUTk1Dfviti7fsJKLC2r/+pcBeYFfLcZKkHTN8rsQDg=; b=QWenBmEHi+g+o+kuEWZzhqmkz/yCzugzNvmybCuyJaAFhUr32Ylu8IPsdfitQYlDSP +IDkdOMGCGRlFPvHG+JRb+K7cMdisIjyKvua008Fb0MR944/aQFEIcYnPteP0tgCd7lZ 00DaVizLPrv1j0i2SeiyB3vgYhZCDoLzZq2WF2d49dVMqzpUm9iL70sw67yObPRswuL+ Jj0j0B3XhpzoLjhOOLTUndCBvF9Ozv7jPWVAA5W5D+ws2aSS3qEEz0+R4Ui0tFDsvT2q uMuIceV+HjKcD/rZ5n3ZVkpe/KHO5EiB/weVpC9SgXLCRJRLe4lybrz0jA2COkHLHSyP LDnQ== X-Gm-Message-State: APjAAAXUx0oAx6VXcJj8dw+LG7PhnmlLwSpDM7q7y7EZ+9xAk8XmeRXS 6QEgZjaoJ5yosnmL7nnwSwnJsQ== X-Google-Smtp-Source: APXvYqyOVNwYfGxBKuY+6nZuSStNHbU/h4twRlW0DQbKjSNX6oAAeYWX8ZNPttBIj89psnbuKJrP/Q== X-Received: by 2002:a65:4085:: with SMTP id t5mr1049000pgp.335.1574809290466; Tue, 26 Nov 2019 15:01:30 -0800 (PST) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id c16sm13392206pfo.34.2019.11.26.15.01.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Nov 2019 15:01:29 -0800 (PST) Date: Tue, 26 Nov 2019 15:01:26 -0800 From: Stephen Hemminger To: Jun Gan Cc: Sunyi LIu , users@dpdk.org Message-ID: <20191126150126.4f819b5d@hermes.lan> In-Reply-To: References: <75207a27.db79.16ea6d39daf.Coremail.sunnysunny128@163.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-users] Can anyone offer some ideas on using XL710 NIC for tx pkts 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: , Errors-To: users-bounces@dpdk.org Sender: "users" On Tue, 26 Nov 2019 10:26:18 -0800 Jun Gan wrote: > Have you ever tried to wait a while after initialization before sending the > packet? > > I had an issue that it needs as long as ~30 seconds before sending out > packet correctly. > > Don't know why yet. > > > On Tue, Nov 26, 2019 at 12:28 AM Sunyi LIu wrote: > > > hi , > > I'm using XL710 with i40e driver , receiveing packets works well but > > sending packets fails. I pick rte_eth_tx_burst api for sending some > > packets , rte_eth_tx_burst returns with successful sending count ,but there > > is actually no packets sending out from the NIC (captured nothig and no tx > > counters). The same thing can be successful using 82599 NIC but it will > > fail using I40E . Is there any thing special I need for sending packets by > > XL710? > > My environment is as : > > CentOS7.2 > > DPDK 18.11 > > XL710 for 40GbE QSFP+ rev 02 NIC > > Thanks . > > BR > > sunny > > > Check that link is up (with rte_eth_link_get).