From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f196.google.com (mail-wr0-f196.google.com [209.85.128.196]) by dpdk.org (Postfix) with ESMTP id DC715FFA for ; Mon, 30 Apr 2018 16:54:52 +0200 (CEST) Received: by mail-wr0-f196.google.com with SMTP id g21-v6so8322037wrb.8 for ; Mon, 30 Apr 2018 07:54:52 -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=lXo9ytzawibENjB6w2Z+9au8dI5iHUtjnfIbppmg9gA=; b=X6fIzSEGyvBtM8TEDsPPLaJLiM6yU25MJWEy8cL6RXyekY6T/C02wHZSMCvS71Wi/M MwkbgzTxovMuJDvT7XAL4FjNuul8+ZqPfMfKivNvF2GwBuDJEZeS/b9UDobuAGt1Fylf p+VgvQHbQx41biyaIrbJuGqw568dk40vfqw4NdXaWOHjOOBEZds5x28BJzUgBHOLepkp p7xLBeYUwCTzKN2o7H3YOYQoM9FQB9FxB7ESqr3lt/PVL2Z1cdWrbZ2v0aZIOl86kqjs 8BRedRnnI9tp3k6XAcWNhKUy+IWoms2JsPVmWRmYUrVUew+LHP5WLmBlCf8YZyB1uPto H0YA== 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=lXo9ytzawibENjB6w2Z+9au8dI5iHUtjnfIbppmg9gA=; b=MBseG4jIhv8iUub0Cua9ZLSF6p3f5NR/FCd3BCw1WSglND6KJmOH+5DT0eqJEB1WIf h5zNXE3ftua6jgb1f3Bbe/mh97/RBMfdj6WwM4Ilos4Ee7ev/NskZMA3HhEJ/ChqDs+V X+7UitXzFPk3AHvs7wlTG4ZRc5NuBcJdmzlkSVsBwCb/Z0uO7ZJ7rCKXF7Mya9Ufb76Y ms1DH6htjyn0Cd2pykU8TfoA2ZEv6CNdOXt6BG/eADhMNIymvqwX5M+mRCy5ej2QztJ4 PgRimlunIBi4YYwYIHSiFAvfDmQ/bVkMOd2VqyPa2Vi9Vab1M5hNkWalJRR0t5EVlx+W xRXw== X-Gm-Message-State: ALQs6tBoXItGdtu0CWttvXIH9a9rWEFBXTGF23HHrL1seR+y9M6z7kDd SY88UMJFGXp7/nqjEVcOXFtZ8wxREC8= X-Google-Smtp-Source: AB8JxZo0FaKYW7ec0ceEKw9uTXNljw8uXv+0E5ckIGt8qMabIrvf5o9bzMgTk76ZbXkldv8Zaxu/Vw== X-Received: by 2002:adf:ad94:: with SMTP id w20-v6mr9838911wrc.83.1525100092606; Mon, 30 Apr 2018 07:54:52 -0700 (PDT) Received: from localhost ([2a00:23c5:be9a:5200:ce4c:82c0:d567:ecbb]) by smtp.gmail.com with ESMTPSA id n143sm11590252wmd.29.2018.04.30.07.54.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 30 Apr 2018 07:54:51 -0700 (PDT) From: luca.boccassi@gmail.com To: Qi Zhang Cc: Ferruh Yigit , dpdk stable Date: Mon, 30 Apr 2018 15:53:50 +0100 Message-Id: <20180430145402.23057-31-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180430145402.23057-1-luca.boccassi@gmail.com> References: <20180430144223.18657-85-luca.boccassi@gmail.com> <20180430145402.23057-1-luca.boccassi@gmail.com> Subject: [dpdk-stable] patch 'app/testpmd: fix port id type' 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: Mon, 30 Apr 2018 14:54:53 -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/02/18. So please shout if anyone has objections. Thanks. Luca Boccassi --- >>From 0adcdaa718170366db23fdb7c1493fc4b5eb2699 Mon Sep 17 00:00:00 2001 From: Qi Zhang Date: Tue, 24 Apr 2018 13:59:56 +0800 Subject: [PATCH] app/testpmd: fix port id type [ upstream commit 995d3ab336dfa8a8c4ccedf5f2619eee9d7ca25d ] Correct couple port id from uint8_t to uint16_t. Fixes: f8244c6399d9 ("ethdev: increase port id range") Signed-off-by: Qi Zhang Reviewed-by: Ferruh Yigit --- app/test-pmd/cmdline.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index de1ce745d..7a76972f2 100644 --- a/app/test-pmd/cmdline.c +++ b/app/test-pmd/cmdline.c @@ -1415,7 +1415,7 @@ cmdline_parse_inst_t cmd_config_speed_all = { struct cmd_config_speed_specific { cmdline_fixed_string_t port; cmdline_fixed_string_t keyword; - uint8_t id; + portid_t id; cmdline_fixed_string_t item1; cmdline_fixed_string_t item2; cmdline_fixed_string_t value1; @@ -1455,7 +1455,7 @@ cmdline_parse_token_string_t cmd_config_speed_specific_keyword = TOKEN_STRING_INITIALIZER(struct cmd_config_speed_specific, keyword, "config"); cmdline_parse_token_num_t cmd_config_speed_specific_id = - TOKEN_NUM_INITIALIZER(struct cmd_config_speed_specific, id, UINT8); + TOKEN_NUM_INITIALIZER(struct cmd_config_speed_specific, id, UINT16); cmdline_parse_token_string_t cmd_config_speed_specific_item1 = TOKEN_STRING_INITIALIZER(struct cmd_config_speed_specific, item1, "speed"); @@ -11704,7 +11704,7 @@ struct cmd_config_l2_tunnel_eth_type_result { cmdline_fixed_string_t port; cmdline_fixed_string_t config; cmdline_fixed_string_t all; - uint8_t id; + portid_t id; cmdline_fixed_string_t l2_tunnel; cmdline_fixed_string_t l2_tunnel_type; cmdline_fixed_string_t eth_type; @@ -11726,7 +11726,7 @@ cmdline_parse_token_string_t cmd_config_l2_tunnel_eth_type_all_str = cmdline_parse_token_num_t cmd_config_l2_tunnel_eth_type_id = TOKEN_NUM_INITIALIZER (struct cmd_config_l2_tunnel_eth_type_result, - id, UINT8); + id, UINT16); cmdline_parse_token_string_t cmd_config_l2_tunnel_eth_type_l2_tunnel = TOKEN_STRING_INITIALIZER (struct cmd_config_l2_tunnel_eth_type_result, @@ -11839,7 +11839,7 @@ struct cmd_config_l2_tunnel_en_dis_result { cmdline_fixed_string_t port; cmdline_fixed_string_t config; cmdline_fixed_string_t all; - uint8_t id; + portid_t id; cmdline_fixed_string_t l2_tunnel; cmdline_fixed_string_t l2_tunnel_type; cmdline_fixed_string_t en_dis; @@ -11860,7 +11860,7 @@ cmdline_parse_token_string_t cmd_config_l2_tunnel_en_dis_all_str = cmdline_parse_token_num_t cmd_config_l2_tunnel_en_dis_id = TOKEN_NUM_INITIALIZER (struct cmd_config_l2_tunnel_en_dis_result, - id, UINT8); + id, UINT16); cmdline_parse_token_string_t cmd_config_l2_tunnel_en_dis_l2_tunnel = TOKEN_STRING_INITIALIZER (struct cmd_config_l2_tunnel_en_dis_result, -- 2.14.2