DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] net/bonding: add link speeds configuration
@ 2022-08-05  3:19 Huisong Li
  2022-09-15 13:14 ` [PATCH V2] " Huisong Li
  2022-09-22  1:33 ` [PATCH V3] " Huisong Li
  0 siblings, 2 replies; 9+ messages in thread
From: Huisong Li @ 2022-08-05  3:19 UTC (permalink / raw)
  To: dev
  Cc: ferruh.yigit, andrew.rybchenko, humin29, huangdaode,
	liudongdong3, lihuisong

This patch adds link speeds configuration.

Signed-off-by: Huisong Li <lihuisong@huawei.com>
---
 drivers/net/bonding/rte_eth_bond_pmd.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/net/bonding/rte_eth_bond_pmd.c b/drivers/net/bonding/rte_eth_bond_pmd.c
index 73e6972035..67d353ae09 100644
--- a/drivers/net/bonding/rte_eth_bond_pmd.c
+++ b/drivers/net/bonding/rte_eth_bond_pmd.c
@@ -1717,6 +1717,8 @@ slave_configure(struct rte_eth_dev *bonded_eth_dev,
 
 	slave_eth_dev->data->dev_conf.rxmode.mtu =
 			bonded_eth_dev->data->dev_conf.rxmode.mtu;
+	slave_eth_dev->data->dev_conf.link_speeds =
+			bonded_eth_dev->data->dev_conf.link_speeds;
 
 	slave_eth_dev->data->dev_conf.txmode.offloads |=
 		bonded_eth_dev->data->dev_conf.txmode.offloads;
-- 
2.22.0


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-10-17  8:22 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-05  3:19 [PATCH] net/bonding: add link speeds configuration Huisong Li
2022-09-15 13:14 ` [PATCH V2] " Huisong Li
2022-09-15 13:43   ` Chas Williams
2022-09-16  2:09     ` lihuisong (C)
2022-09-16 15:07       ` Chas Williams
2022-09-22  1:15         ` lihuisong (C)
2022-09-22  1:33 ` [PATCH V3] " Huisong Li
2022-09-25 10:35   ` Chas Williams
2022-10-17  8:22     ` Andrew Rybchenko

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).