From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by dpdk.org (Postfix) with ESMTP id 2F2F71B7C2 for ; Tue, 15 May 2018 15:49:29 +0200 (CEST) Received: by mail-wm0-f66.google.com with SMTP id o78-v6so1291537wmg.0 for ; Tue, 15 May 2018 06:49:29 -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=38OUnQDQLRnurebWW4ZI+U0YXaIIQZOMR3I+MVSSmg0=; b=ALG8xaoK+d8mPs+dqk3aIZ/6Nt1T5g2TPv5tZHfm/fDdm/i9C66+HVn6EA9mBBcWMO W8Xwms4sYhhskG1D6YLjl/fW4WC76APEe8S5genI9LWxDoHo2qO1qSZzwqc/Rjc2qQAI mqeSb+FVu3JoTfsMsZs6cHBEqXqot7go1PPGdVzckOhEVnwmfzGdImueRB1QzHgATKpW G+mLy1S+X1hKtJLmBs9gvoshqXeZMovJwFd5n+l/Raxs85cvkoBU59y7W+GcAkf4+HFJ oi2OoYCfgjNrjtXaYNdotso2sLstU7L3F+JngaVtx4M4HZcZIxV4Z2Jj8I2CUijJOadP Wsag== 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=38OUnQDQLRnurebWW4ZI+U0YXaIIQZOMR3I+MVSSmg0=; b=D8pPNActsq90XYilo+WDTEnvIwfbCDlpt7U0kOOpEW+vPdkqmLjmqB2Dzh0TgZXi+t GsTNFz90fV6Kp40U0l7CQV+9tBvHFdJYhcpYAQpyMQ8TZx0ktjUQ9dne6lNk9gh7X/t1 UqJhsDNalUuZy4n/MCSqdaaFcCtjgwu4/YS08ZU6yHuQSa+/bY7lPILUdf5d3lcjWulT OrahaevPK9IBUa0kXxnGX8dPMfW3yku8rifPJ5/ZvYWYCp72TUoaTtjFjGnDKcD4PY/w 5mv+Ug4LMeueQnGdHJLZrbu+/nktqbGOnio9jBbm0y091wUhPjQBGjE6/TCERz3Uq8Dm JiwA== X-Gm-Message-State: ALKqPwffDaENMYM7erIxk88PLcq/qavqWUzPYitLq6fmYmsEDpcg4MEN fHS13E0BBqECP5PqUz6+jko= X-Google-Smtp-Source: AB8JxZqymuRVNl1wtJTWQiwUvXe1Eb9CV1NztYDiX+WaKfmI7IpPkyNw8GfA1x3so9kUa/NcicfxVw== X-Received: by 2002:a1c:b245:: with SMTP id b66-v6mr7606018wmf.31.1526392168904; Tue, 15 May 2018 06:49:28 -0700 (PDT) Received: from localhost (slip139-92-244-193.lon.uk.prserv.net. [139.92.244.193]) by smtp.gmail.com with ESMTPSA id p189-v6sm674449wmg.18.2018.05.15.06.49.27 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 15 May 2018 06:49:27 -0700 (PDT) From: luca.boccassi@gmail.com To: Thomas Monjalon Cc: Matan Azrad , Ferruh Yigit , Andrew Rybchenko , Stephen Hemminger , dpdk stable Date: Tue, 15 May 2018 14:47:15 +0100 Message-Id: <20180515134731.9337-64-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180515134731.9337-1-luca.boccassi@gmail.com> References: <20180503110612.12146-2-luca.boccassi@gmail.com> <20180515134731.9337-1-luca.boccassi@gmail.com> Subject: [dpdk-stable] patch 'ethdev: add doxygen comments for each state' 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: Tue, 15 May 2018 13:49:29 -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/16/18. So please shout if anyone has objections. Thanks. Luca Boccassi --- >>From 4551b0c399afa15b17f851acffabeed79b589eff Mon Sep 17 00:00:00 2001 From: Thomas Monjalon Date: Fri, 11 May 2018 01:58:28 +0200 Subject: [PATCH] ethdev: add doxygen comments for each state [ upstream commit d5e54c355cc67912f33de69fd45e145d47f18579 ] The enum rte_eth_dev_state was not properly documented. Its values did not appear in the doxygen output, and may be misunderstood. The state RTE_ETH_DEV_DEFERRED has no interest anymore since the ownership mechanism brings a more flexible categorization. This state could be removed later. Fixes: d52268a8b24b ("ethdev: expose device states") Fixes: cb894d99eceb ("ethdev: add deferred intermediate device state") Fixes: 5b7ba31148a8 ("ethdev: add port ownership") Fixes: 7106edc12380 ("ethdev: add devop to check removal status") Signed-off-by: Thomas Monjalon Acked-by: Matan Azrad Reviewed-by: Ferruh Yigit Reviewed-by: Andrew Rybchenko Reviewed-by: Stephen Hemminger --- lib/librte_ether/rte_ethdev.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h index 6774a9c8b..ad235364a 100644 --- a/lib/librte_ether/rte_ethdev.h +++ b/lib/librte_ether/rte_ethdev.h @@ -1197,12 +1197,16 @@ typedef uint16_t (*rte_tx_callback_fn)(uint16_t port_id, uint16_t queue, struct rte_mbuf *pkts[], uint16_t nb_pkts, void *user_param); /** - * A set of values to describe the possible states of an eth device. + * Possible states of an ethdev port. */ enum rte_eth_dev_state { + /** Device is unused before being probed. */ RTE_ETH_DEV_UNUSED = 0, + /** Device is attached when allocated in probing. */ RTE_ETH_DEV_ATTACHED, + /** The deferred state is useless and replaced by ownership. */ RTE_ETH_DEV_DEFERRED, + /** Device is in removed state when plug-out is detected. */ RTE_ETH_DEV_REMOVED, }; -- 2.14.2