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 D4AE11B2B2 for ; Thu, 15 Feb 2018 10:28:44 +0100 (CET) Received: by mail-wm0-f67.google.com with SMTP id x21so1778860wmh.0 for ; Thu, 15 Feb 2018 01:28:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=zj+lOxNgns5ez4yQUiw3sCsWL7PA8yR99Xz6Z7PUDms=; b=t3r8dQwBW/gyVLCvGTUyw004wbNdoL1KjvCWySR/1GOTDXlhASfExqZG2zFPlKDLsD mMm5hkY3Q4G3jdbZANywmhzcfw+6RkBHB7wpR6KqIM36DbgJHY7T44bXEV3MQvMBooYA JvYsG0N1kdiT96ICIMy1uSM0iEnU+vi4ip0c/pDkOCEeL/4OjgK3iMxXd2WyT9cBQhWA hPm5jMiWkzwdhmOppcBupC/kNm7f6VB0tx3/QFSYLgjLMGCnCIQf1oPVl5w0GA/vyK5c nKfHknOR1lHuJJBFL5fIYY5A8LRtq4wn6eX6d/iqVcuqKMJlFTuDeXZCUbIAtlVPXQ9m TX/A== 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; bh=zj+lOxNgns5ez4yQUiw3sCsWL7PA8yR99Xz6Z7PUDms=; b=afqut9DwlRvMnM670ln7QdCLTGRdO1Rl7OE8VfLL6WolGkqs7+Ykl35otn6G3I8coD OGqcwop9fVbwLHi/Htz8f/6/+Grn+G5ZTP9BOEoqnFi9qS/hEi4ri9FVhAuQGty+ykYC RsEPcnssSU68NwT7ElIV2oaadwf57iiuGkcjE6i+eRatC5ZdEGbURsarY9M/UXEjkCTp k/lp+3h9vjE3SX9NjyzDvm+DHu+PXmsIK/FZKH6rQLUzIrck5FgOdHUyXYP0YU5gK1Lf iVOSfA5KcP9PwIs0KGoqKjRlDyXR/Z1+AwfeFik8WFYVQLi9iGoHrKWrXMiIlLl2UX3C WSuw== X-Gm-Message-State: APf1xPBLDMAJ+O6V++gKHd8OlXuOMi9p1nJNcQlkNbg4hoMurtk5/Koi vV9PCEJCpHqDRRC4/Z6wkx5LDMp3Jg== X-Google-Smtp-Source: AH8x2247RwP/gw3FGoYEX73wNQvH6LLKoOBt6ov63WwWfjJC87hUj2hnMF1KYgVf/KmqPonlbpbhaA== X-Received: by 10.28.87.1 with SMTP id l1mr1378916wmb.32.1518686924381; Thu, 15 Feb 2018 01:28:44 -0800 (PST) Received: from laranjeiro-vm.dev.6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id g64sm11307595wmf.20.2018.02.15.01.28.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Feb 2018 01:28:43 -0800 (PST) From: Nelio Laranjeiro To: dev@dpdk.org Cc: Adrien Mazarguil , Yongseok Koh Date: Thu, 15 Feb 2018 10:29:25 +0100 Message-Id: X-Mailer: git-send-email 2.11.0 Subject: [dpdk-dev] [PATCH 1/3] net/mlx5: add missing function documentation 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, 15 Feb 2018 09:28:45 -0000 Signed-off-by: Nelio Laranjeiro Acked-by: Yongseok Koh --- drivers/net/mlx5/mlx5_trigger.c | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/drivers/net/mlx5/mlx5_trigger.c b/drivers/net/mlx5/mlx5_trigger.c index f5711a998..a70b13d52 100644 --- a/drivers/net/mlx5/mlx5_trigger.c +++ b/drivers/net/mlx5/mlx5_trigger.c @@ -14,6 +14,12 @@ #include "mlx5_rxtx.h" #include "mlx5_utils.h" +/** + * Stop traffic on Tx queues. + * + * @param priv + * Pointer to private structure. + */ static void priv_txq_stop(struct priv *priv) { @@ -23,6 +29,15 @@ priv_txq_stop(struct priv *priv) mlx5_priv_txq_release(priv, i); } +/** + * Start traffic on Tx queues. + * + * @param priv + * Pointer to private structure. + * + * @return + * 0 on success, errno on error. + */ static int priv_txq_start(struct priv *priv) { @@ -58,6 +73,12 @@ priv_txq_start(struct priv *priv) return ret; } +/** + * Stop traffic on Rx queues. + * + * @param priv + * Pointer to private structure. + */ static void priv_rxq_stop(struct priv *priv) { @@ -67,6 +88,15 @@ priv_rxq_stop(struct priv *priv) mlx5_priv_rxq_release(priv, i); } +/** + * Start traffic on Rx queues. + * + * @param priv + * Pointer to private structure. + * + * @return + * 0 on success, errno on error. + */ static int priv_rxq_start(struct priv *priv) { -- 2.11.0