From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) by dpdk.org (Postfix) with ESMTP id 0DB153772 for ; Tue, 12 Mar 2019 17:07:57 +0100 (CET) Received: by mail-wr1-f66.google.com with SMTP id 33so819435wrb.13 for ; Tue, 12 Mar 2019 09:07:57 -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; bh=ji4a5Ezd9q/cuWyfNOdO3PjPOLVMpxVH/5pJIa5Sa30=; b=QStH+PN2o/o6k0dpO/X5dQmtZ2+KR9mY0HKnE0iisV2xDddlE+fX5LI9irbjA0CsAh CWP3Zgz2IK2ZBjjSGmZHpR0JGi10K+BdOreofeLa8AwmEE2MoalQyrxZCq3T2EePuX5Z FaqMQrcJUH+7tVltRmKLf7plNiUCAdxerm4vRC8VQwG4JOUFCMGfrKmV04wAuZqRsr9i fxq8W3api3fvxjTxc8kfO2grL5KnaQsuLaJ8yefvhweaPnTbXDyKfF6ntief88yD/aos EajD044PAPZ2dy/NnlOYGfLyxvOJkzrahWB6FCTQ+Op8yIqsxUO7AXfXkNITM3xYmXlk xkfg== 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=ji4a5Ezd9q/cuWyfNOdO3PjPOLVMpxVH/5pJIa5Sa30=; b=RD05CMXCypGS7idrlg7AqhgXU4jG7T+9mtuvDHw7VtYDwbVlc+nQTZjVG0Mgo9PfKh CfGd8aBJ5XEr4J6hHUMZTGRO+CS4ESBZhNOqQWpuZCdDCeU0iKVRtzE8T2HckShGttp+ bPoVLVPZtuNJ8MAidzQIZlKuzxOp3F/o+4lkwTsP+UChWBH9gPuLZPeDnm8zepGidv9D SkPM0AXHlQ8HpN3pLatjvhLq2Kwv46AjSdlUae0hQvKciBW4Fx2SkMh2l2YQ/dUOKEaw 73pVkvpP6qeZIJ0UwwPmrWcOmnhIkCU1sG5YSdpJOSG5QPfpZRb7fQRwImXoftI2bLI9 uBHg== X-Gm-Message-State: APjAAAX1cJQ35WT9OkON/Nw8wV0bRUHMGHHSAMNBmJMCooNtKg4TQUSg 0FaCQ6AWvbH26qyaV+9jxzGXyeARbMyDFQ== X-Google-Smtp-Source: APXvYqybwTCBQCt1GrLd76gtyskG8NwpVfz6xrCl1B7xZ7XGnx3sVZgGBCqrYp+E2CKD4GUTq+NzPg== X-Received: by 2002:adf:c543:: with SMTP id s3mr23109212wrf.192.1552406875646; Tue, 12 Mar 2019 09:07:55 -0700 (PDT) Received: from art_tester.netio.cloud ([212.199.245.54]) by smtp.gmail.com with ESMTPSA id w4sm3582747wmg.8.2019.03.12.09.07.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 12 Mar 2019 09:07:53 -0700 (PDT) From: Rami Rosen To: dev@dpdk.org Cc: ferruh.yigit@intel.com, wei.dai@intel.com, Rami Rosen Date: Tue, 12 Mar 2019 18:07:42 +0200 Message-Id: <20190312160742.10724-1-ramirose@gmail.com> X-Mailer: git-send-email 2.17.1 Subject: [dpdk-dev] [PATCH] ethdev: use correct method name in ethdev header file 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: Tue, 12 Mar 2019 16:07:57 -0000 This patch fixes rte_ethdev header file to use the correct method name, namely to use rte_eth_dev_info_get() instead of rte_eth_dev_infos_get(). Fixes: a4996bd89c42 ("ethdev: new Rx/Tx offloads API") Fixes: 4f5701f28bd4 ("examples: fix RSS hash function configuration") Signed-off-by: Rami Rosen --- lib/librte_ethdev/rte_ethdev.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/librte_ethdev/rte_ethdev.h b/lib/librte_ethdev/rte_ethdev.h index a3c864a13..e32395346 100644 --- a/lib/librte_ethdev/rte_ethdev.h +++ b/lib/librte_ethdev/rte_ethdev.h @@ -1551,14 +1551,14 @@ const char *rte_eth_dev_tx_offload_name(uint64_t offload); * Applications should set the ignore_bitfield_offloads bit on *rxmode* * structure and use offloads field to set per-port offloads instead. * - Any offloading set in eth_conf->[rt]xmode.offloads must be within - * the [rt]x_offload_capa returned from rte_eth_dev_infos_get(). + * the [rt]x_offload_capa returned from rte_eth_dev_info_get(). * Any type of device supported offloading set in the input argument * eth_conf->[rt]xmode.offloads to rte_eth_dev_configure() is enabled * on all queues and it can't be disabled in rte_eth_[rt]x_queue_setup() * - the Receive Side Scaling (RSS) configuration when using multiple RX * queues per port. Any RSS hash function set in eth_conf->rss_conf.rss_hf * must be within the flow_type_rss_offloads provided by drivers via - * rte_eth_dev_infos_get() API. + * rte_eth_dev_info_get() API. * * Embedding all configuration information in a single data structure * is the more flexible method that allows the addition of new features -- 2.17.1