From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id E3F691B1B4 for ; Wed, 24 Jan 2018 16:36:04 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 96EB6226B5; Wed, 24 Jan 2018 10:36:04 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Wed, 24 Jan 2018 10:36:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux.org; h=cc:date:from:in-reply-to:message-id:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=V4cD2EYaDG0Lpw90+ VoW7YVRkA+2wwRFs+QwK2f1DxE=; b=slI1Z2isJvz4klv4wvt+f3fkDjDfJ6TUD aYy6fJBVbAdlzUjIa5oA0Vb3w2IzukmSElLj+J/CSVhx0yQTMvCZ+uJQzSR5bj2r qu2wPjnhNZ/q+TtXy3C3GQ/NfwgOhM09drb87b0EGmDkS++cNKZwkRLHU+RR4vL3 86LwkAyyOHaRoKNU26waCiQmedUBc0rck5hq3oQ+DM48hkEzMT7Cucjsun7wuGJo pG1gYzVrO8mfBhSP7TrwH+BIJhmiBHm1tdoxZRYCGR0rn0LX/B7Z6qmx/eII1NJj rk8uLDGKOWPLX9c9QKTpjS2wFVWl06wgG1o1yda5ej7rrf9qnC+bA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=V4cD2EYaDG0Lpw90+VoW7YVRkA+2wwRFs+QwK2f1DxE=; b=Ljm9Mu3E UsdiSf0m/X+2Lw1t7RgyIL6i1LqBwCkuinGrqojnaRfyW3nOdtTF9w1lxH7ZQbk/ /YgrRcUisDeM91RGoLtr8YvBpIUi5kbri1b8Ma0RMGXnvUq6cuXuROcRkPoHVBia TTIFqaH42rmuchmub9S68SxFI5WMM+zQUzEeatWjmvoMrjkz80Is1FvRcj8SCmxG XptPYz03IofBZF5TvUM/SqK7BjehoRgbppuU1ro8ppKt5u09FR/xnSyfuqSn0bA9 htVRCVM3CcbQZHLkOyvyEWTm5NCv68M4G1Wd34ywTVh1m+rVFeoIyn3/5rvEmOPZ 5yjZi3WE4OUqQQ== X-ME-Sender: Received: from localhost.localdomain (unknown [115.150.27.206]) by mail.messagingengine.com (Postfix) with ESMTPA id 142C57E1A2; Wed, 24 Jan 2018 10:36:01 -0500 (EST) From: Yuanhan Liu To: Yanglong Wu Cc: Zhiyong Yang , Wenzhuo Lu , dpdk stable Date: Wed, 24 Jan 2018 23:31:13 +0800 Message-Id: <1516808026-25523-5-git-send-email-yliu@fridaylinux.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516808026-25523-1-git-send-email-yliu@fridaylinux.org> References: <1516808026-25523-1-git-send-email-yliu@fridaylinux.org> Subject: [dpdk-stable] patch 'app/testpmd: fix port id allocation' has been queued to LTS release 17.11.1 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, 24 Jan 2018 15:36:05 -0000 Hi, FYI, your patch has been queued to LTS release 17.11.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 01/26/18. So please shout if anyone has objections. Thanks. --yliu --- >>From 51f4b259f034d8d91f314681c19d1bac821ab195 Mon Sep 17 00:00:00 2001 From: Yanglong Wu Date: Tue, 2 Jan 2018 13:35:42 +0800 Subject: [PATCH] app/testpmd: fix port id allocation [ upstream commit 2c9808149cdf97313e54e1dcdebe251c010a3f7d ] In the feature of increasing port_id range from 8 bits to 16 bits, vlan port_id allocation function was forget to substitute UINT8 with UINT16, so the vlan port_id was allocated as a inccrete number. Fixes: 28caa76aea71 ("app/testpmd: fix port id type") Signed-off-by: Yanglong Wu Reviewed-by: Zhiyong Yang Acked-by: Wenzhuo Lu --- app/test-pmd/cmdline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index f71d963..8990ebf 100644 --- a/app/test-pmd/cmdline.c +++ b/app/test-pmd/cmdline.c @@ -3352,7 +3352,7 @@ cmdline_parse_token_num_t cmd_vlan_tpid_tpid = tp_id, UINT16); cmdline_parse_token_num_t cmd_vlan_tpid_portid = TOKEN_NUM_INITIALIZER(struct cmd_vlan_tpid_result, - port_id, UINT8); + port_id, UINT16); cmdline_parse_inst_t cmd_vlan_tpid = { .f = cmd_vlan_tpid_parsed, -- 2.7.4