From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by dpdk.org (Postfix) with ESMTP id 1CDE42BE1 for ; Thu, 24 May 2018 14:18:13 +0200 (CEST) Received: by mail-wm0-f67.google.com with SMTP id n10-v6so4647885wmc.1 for ; Thu, 24 May 2018 05:18:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=1OTpX/41iiOetZIobE8+HO/CSIyo5/bwF1Z0AiaHA7E=; b=ecDe9ZPyhmoR4Ywr4CEsqLCbTEVgFRvLRahYP35fGuQ5o5NmPgIzdiLnXpBuVig7GV SH6g1d0sfPurX+YWO0dOldRJmv+s8/lMmxfrypuCaUva3uAA14LcRwtZ4YjFhjZixtxQ 2RlA5N353d9sf/6awyjZV3t8xOmvzh7ejyZtYB1yH7vcjxdrBmmkJ0cAHAZqUHb1khY5 GxsXS7UfISbC/zCEiS2QV7Czg9aYBjTN3vvBdk/S2zolKd+RLTeInCBMMdPUYfZtKHvf KOC+duqwRNMkpppcftU6sfJKm5lAjbzxXrRpoMS8FV7znBZTru4UnHAJ4NPubJ3brKBx n+RA== 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:references :mime-version:content-disposition:in-reply-to; bh=1OTpX/41iiOetZIobE8+HO/CSIyo5/bwF1Z0AiaHA7E=; b=I8JYYgqOBbhepiNfXfPz8s0pvBVPSwG8PKiyxxxLgX20qNHBzXX4yAqEJyRbsi9E4+ nmJ2Y74ia20ycuN6dHEa79+qGHTcqXnbOPHjMuqUtWgHQ1r3ZgeNIo4SCBsEn8t5Qmc+ f3Ag9XF75U8iFns4FIQJW51vdzEzqPQ94gzcGJv8HIResTqu9mBFbZWOwbLGYPeTAZMc 25+ra7522fr1XQcxhcVVFCcEZemEM4k5MpfLyhBWcwKblTIJOZI0+jVPczgCLJwAe4IS a8rwiOYMxuGAUOMIrxI5Dn2wRC6lNbi0NfO0N+ytdsWuqT+tpF6GQ59lcnGLSTkS9BGN 7OdQ== X-Gm-Message-State: ALKqPwfasGHeQRZnABpS5DTRw2kE2iqyxjjm/Rah7HFHTkE7PvdzryaZ HYWJlxb8+B8vpNVEvyN1dsH0Uw== X-Google-Smtp-Source: AB8JxZpa/7FvLKKH7lfMYmV1PEOy5doX7kVoSBebwqPZLGM6okHx2lPr06mHcR4m5VzVHUqtWsYQ/A== X-Received: by 2002:a1c:af4b:: with SMTP id y72-v6mr6824183wme.148.1527164292793; Thu, 24 May 2018 05:18:12 -0700 (PDT) Received: from 6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id q2-v6sm22011060wrm.26.2018.05.24.05.18.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 May 2018 05:18:11 -0700 (PDT) Date: Thu, 24 May 2018 14:17:57 +0200 From: Adrien Mazarguil To: Shahaf Shuler Cc: dev@dpdk.org, Xueming Li Message-ID: <20180524121658.22663-2-adrien.mazarguil@6wind.com> References: <20180524121658.22663-1-adrien.mazarguil@6wind.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180524121658.22663-1-adrien.mazarguil@6wind.com> X-Mailer: git-send-email 2.11.0 Subject: [dpdk-dev] [PATCH 2/2] net/mlx5: fix missing errno in probe code (minor) 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, 24 May 2018 12:18:13 -0000 Fixes: b43802b4bdfe ("net/mlx5: support 16 hardware priorities") Cc: Xueming Li Signed-off-by: Adrien Mazarguil --- drivers/net/mlx5/mlx5.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/mlx5/mlx5.c b/drivers/net/mlx5/mlx5.c index bbe78de28..36d72f757 100644 --- a/drivers/net/mlx5/mlx5.c +++ b/drivers/net/mlx5/mlx5.c @@ -1141,6 +1141,7 @@ mlx5_pci_probe(struct rte_pci_driver *pci_drv __rte_unused, if (verb_priorities < MLX5_VERBS_FLOW_PRIO_8) { DRV_LOG(ERR, "port %u wrong Verbs flow priorities: %u", eth_dev->data->port_id, verb_priorities); + err = ENOTSUP; goto port_error; } priv->config.max_verbs_prio = verb_priorities; -- 2.11.0