From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f171.google.com (mail-wr0-f171.google.com [209.85.128.171]) by dpdk.org (Postfix) with ESMTP id 4BC9B7D2A for ; Tue, 1 Aug 2017 10:06:00 +0200 (CEST) Received: by mail-wr0-f171.google.com with SMTP id 33so3407068wrz.4 for ; Tue, 01 Aug 2017 01:06:00 -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:in-reply-to:references :in-reply-to:references; bh=MdpOtwKDBhLhJ9ZkLu+JFsvZhqmyZjplM45muucrF3I=; b=jkJH9i3bf/iZh3AuV7x3ijS3NP/wjsczVZgpWLNrs1v5fBIymYAz+wnXB1Lnb3jtx1 1bW/ysZvKOt9pZtVs7AI85TvgN75eOUXOtq57jOuEGFYka/btSKRqnkZQFmKqcjsccqg f7IPurQu4u5RfUeRW68oMBzR0wDzog2n9WKpqVdWP1OhpnEG6dlge1cANLOt/XJvXHOW hxIRTIfCH3C4r36fU0BDlZXqC3ifrRQGUQejNTL1JH0KdGPre61DS95LMHh1u9gdgXF9 fngUzh7OBMgjRZXGTP4NVO/8omxMl6+KcqbvuPT9XSljkzJETCLgVKnhjdaJ5LJayHy3 d6Kw== 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:in-reply-to :references:in-reply-to:references; bh=MdpOtwKDBhLhJ9ZkLu+JFsvZhqmyZjplM45muucrF3I=; b=kK0f7G3nAqsY1u/5ZxQTr7qk1C2FSp1k1dk2crftJdwWc3PEzvL9rKLM91SFrSVLog J/DSD8RywhroqUvxWZ9vTV00lmAGuQfXKXJ6rfdD/5UMAjK/WelxvTEye+NTjD3Tx9I2 sUPgTYSfTqj8kiiJnYTGM2zXH5ajcTCEEoBkKl3NkOKPcwXlY4xEF4PjENGH/oq/7qBK 6iBQQlyT5Pj82S/Nx025TYjZ+FFbPaUXk6xM8qC4zSHU/61gmYNJ2w7IqIGd8IKH1QG8 4Yp/D+LSrcHnFPChIIJwcraQXpzFJLzaKm9PcW+nrvV7XPqf9q6ErJIiSGD7iGWAkTcw O6iw== X-Gm-Message-State: AIVw111E9mSOJU3J+JPWpC6KvAV7b3NnhQZc27Z0nek0xX0KOFOk4dhV 0pcwQxqlIFncAtB9en97NQ== X-Received: by 10.223.172.230 with SMTP id o93mr15861246wrc.273.1501574759626; Tue, 01 Aug 2017 01:05:59 -0700 (PDT) Received: from ping.dev.6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id v2sm21221020wra.2.2017.08.01.01.05.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 01 Aug 2017 01:05:59 -0700 (PDT) From: Nelio Laranjeiro To: dev@dpdk.org Cc: Yongseok Koh Date: Tue, 1 Aug 2017 10:05:31 +0200 Message-Id: <5d50d20c27beec528acfe2cf575e95cf63f3a6dd.1501574380.git.nelio.laranjeiro@6wind.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: References: In-Reply-To: References: Subject: [dpdk-dev] [PATCH 1/5] net/mlx5: warn which Tx/Rx burst function is selected 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: Tue, 01 Aug 2017 08:06:00 -0000 Warning the user helps to understand way the performances does not match the expected values. Signed-off-by: Nelio Laranjeiro Acked-by: Yongseok Koh --- drivers/net/mlx5/mlx5_ethdev.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/net/mlx5/mlx5_ethdev.c b/drivers/net/mlx5/mlx5_ethdev.c index b0eb3cd..a233a73 100644 --- a/drivers/net/mlx5/mlx5_ethdev.c +++ b/drivers/net/mlx5/mlx5_ethdev.c @@ -1516,17 +1516,17 @@ priv_select_tx_function(struct priv *priv) priv->dev->tx_pkt_burst = mlx5_tx_burst_raw_vec; else priv->dev->tx_pkt_burst = mlx5_tx_burst_vec; - DEBUG("selected Enhanced MPW TX vectorized function"); + INFO("selected Enhanced MPW TX vectorized function"); } else { priv->dev->tx_pkt_burst = mlx5_tx_burst_empw; - DEBUG("selected Enhanced MPW TX function"); + INFO("selected Enhanced MPW TX function"); } } else if (priv->mps && priv->txq_inline) { priv->dev->tx_pkt_burst = mlx5_tx_burst_mpw_inline; - DEBUG("selected MPW inline TX function"); + INFO("selected MPW inline TX function"); } else if (priv->mps) { priv->dev->tx_pkt_burst = mlx5_tx_burst_mpw; - DEBUG("selected MPW TX function"); + INFO("selected MPW TX function"); } } @@ -1542,7 +1542,7 @@ priv_select_rx_function(struct priv *priv) if (priv_check_vec_rx_support(priv) > 0) { priv_prep_vec_rx_function(priv); priv->dev->rx_pkt_burst = mlx5_rx_burst_vec; - DEBUG("selected RX vectorized function"); + INFO("selected RX vectorized function"); } else { priv->dev->rx_pkt_burst = mlx5_rx_burst; } -- 2.1.4