DPDK patches and discussions
 help / color / mirror / Atom feed
From: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
To: dev@dpdk.org
Cc: jgrajcia@cisco.com
Subject: [PATCH] net/memif: change link speed to 100G
Date: Mon, 10 Oct 2022 11:35:16 +0200	[thread overview]
Message-ID: <20221010093516.10080-1-nathan.skrzypczak@gmail.com> (raw)

This patch changes the advertised link speed for the memif
driver from 10G to 100G as the memory interfaces can reach
higher throughputs than 10G with large packets.

Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
---
 drivers/net/memif/rte_eth_memif.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/memif/rte_eth_memif.c b/drivers/net/memif/rte_eth_memif.c
index 5b5cae34ea..1b1c1a652b 100644
--- a/drivers/net/memif/rte_eth_memif.c
+++ b/drivers/net/memif/rte_eth_memif.c
@@ -55,7 +55,7 @@ static const char * const valid_arguments[] = {
 };
 
 static const struct rte_eth_link pmd_link = {
-	.link_speed = RTE_ETH_SPEED_NUM_10G,
+	.link_speed = RTE_ETH_SPEED_NUM_100G,
 	.link_duplex = RTE_ETH_LINK_FULL_DUPLEX,
 	.link_status = RTE_ETH_LINK_DOWN,
 	.link_autoneg = RTE_ETH_LINK_AUTONEG
-- 
2.37.3


             reply	other threads:[~2022-10-11  1:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-10  9:35 Nathan Skrzypczak [this message]
2022-11-06 10:46 ` Andrew Rybchenko
2022-11-06 10:51   ` Andrew Rybchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221010093516.10080-1-nathan.skrzypczak@gmail.com \
    --to=nathan.skrzypczak@gmail.com \
    --cc=dev@dpdk.org \
    --cc=jgrajcia@cisco.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).