From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by dpdk.org (Postfix) with ESMTP id 333FF2C8 for ; Wed, 23 May 2018 14:11:24 +0200 (CEST) Received: by mail-wm0-f68.google.com with SMTP id f6-v6so8327028wmc.4 for ; Wed, 23 May 2018 05:11:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=8AdzMbzIt7oVhaoPMlmfeD8Do95zVMTtsCwstKF07pc=; b=dn0RCSAAlrfndPMge9VmTaIBlSsFmhD7EKYKileCoSCTETqi44J7xNCr2yA7SEBzey lsGAu2qCfdZCFmi/Soebjsh8LR6Fq0xJrN0hDwvXQinnKepL4dGSVQVYQdIcS5cQiRU1 od8TWRY5/mN6aayeB5CLcwHGwi5MxB0oJidoH2TPHhjdYIeIXIes2C3d6XjUuRO7NEdQ mD3zsVeGgH7+uYhnqajZn/P7o1uYMevs0szltoeoZwbZhA9Ih2w4HCAv/ZKCiImzcQ3w N3J8CMcIN10KBy0g5wS+IbKtNhAKaJsMXlpZNTwXrfkT77kO2F/+CnAevd09YiH6Tgsn N1qQ== 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; bh=8AdzMbzIt7oVhaoPMlmfeD8Do95zVMTtsCwstKF07pc=; b=NcCclSf/0pieIrJbwNDEfVEU0qS1d2qbMR3mEGE3dATst+k6nH8Xd0D7YhDsMtUYAm 6lXMaLn8fA0+Rq7ErHKwM26VK2XH4tekIAhSd8p9hl47+fiZkubwlFi+P55Ai4BjYhs3 aU469Cc9wuwS1LdVN3KtK8S5m3+xi589bPBCNIqC66oGX3X47pFc6JG0x2jf8Th41S/5 /We5pRFm3jI8fY6t6lSyoZ4l4DTYAUrgVWWZ3Z8M23nCQ7nOsV+OYDkTbf1u7D8np0vG X1h6Uxf2F7Is62gkbY0NRM7KUDvE348+pXdaA25PyRV6/pDgNNNJBl3lCR/3UO0nKrWF sHsg== X-Gm-Message-State: ALKqPwcxKbkbbS2ql+g7Sq7R+1zLmWqcfCzClVRz3gG3QK2FvGUNdID7 rlvrOZ31YinNQ1aO3apcJTg= X-Google-Smtp-Source: AB8JxZpOw8tifh00qVB2vceTLQcfZuPQUcvcdID5eEBna0wSXXSQl45pD1igez/knm8z+TFLSw1lng== X-Received: by 2002:a1c:b656:: with SMTP id g83-v6mr3833675wmf.143.1527077483905; Wed, 23 May 2018 05:11:23 -0700 (PDT) Received: from localhost ([2a00:23c5:be9a:5200:ce4c:82c0:d567:ecbb]) by smtp.gmail.com with ESMTPSA id k126-v6sm3230507wmg.6.2018.05.23.05.11.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 23 May 2018 05:11:23 -0700 (PDT) From: luca.boccassi@gmail.com To: Zhiyong Yang Cc: Ferruh Yigit , dpdk stable Date: Wed, 23 May 2018 13:09:53 +0100 Message-Id: <20180523121010.8385-42-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180523121010.8385-1-luca.boccassi@gmail.com> References: <20180516101323.2234-2-luca.boccassi@gmail.com> <20180523121010.8385-1-luca.boccassi@gmail.com> Subject: [dpdk-stable] patch 'ethdev: fix storage type of latest port id' has been queued to stable release 18.02.2 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 May 2018 12:11:24 -0000 Hi, FYI, your patch has been queued to stable release 18.02.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 05/25/18. So please shout if anyone has objections. Thanks. Luca Boccassi --- >>From 73325e45437ea8b875b5e217de67850dc903d0e4 Mon Sep 17 00:00:00 2001 From: Zhiyong Yang Date: Fri, 18 May 2018 18:41:10 +0800 Subject: [PATCH] ethdev: fix storage type of latest port id [ upstream commit 4462814d850fadcbdbbadb324d125aefbb83a2b8 ] eth_dev_last_created_port is used to store port id type and should be extended to 16bits corresponding to ethdev port id range. Fixes: f8244c6399d9 ("ethdev: increase port id range") Signed-off-by: Zhiyong Yang Acked-by: Ferruh Yigit --- lib/librte_ether/rte_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_ether/rte_ethdev.c b/lib/librte_ether/rte_ethdev.c index 8ce5ec999..939b668f8 100644 --- a/lib/librte_ether/rte_ethdev.c +++ b/lib/librte_ether/rte_ethdev.c @@ -44,7 +44,7 @@ static const char *MZ_RTE_ETH_DEV_DATA = "rte_eth_dev_data"; struct rte_eth_dev rte_eth_devices[RTE_MAX_ETHPORTS]; -static uint8_t eth_dev_last_created_port; +static uint16_t eth_dev_last_created_port; /* spinlock for eth device callbacks */ static rte_spinlock_t rte_eth_dev_cb_lock = RTE_SPINLOCK_INITIALIZER; -- 2.14.2