DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] dedicated queues: delete redundant check valid_bonded_port_id has include check_for_bonded_ethdev, no need to check again.
@ 2020-06-21 13:34 197020236
  0 siblings, 0 replies; 3+ messages in thread
From: 197020236 @ 2020-06-21 13:34 UTC (permalink / raw)
  To: chas3, 197020236; +Cc: dev

From: pandongyang <197020236@qq.com>

Signed-off-by: pandongyang <197020236@qq.com>
---
 drivers/net/bonding/rte_eth_bond_8023ad.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/drivers/net/bonding/rte_eth_bond_8023ad.c b/drivers/net/bonding/rte_eth_bond_8023ad.c
index b77a37d..3393743 100644
--- a/drivers/net/bonding/rte_eth_bond_8023ad.c
+++ b/drivers/net/bonding/rte_eth_bond_8023ad.c
@@ -1675,9 +1675,6 @@ rte_eth_bond_8023ad_dedicated_queues_enable(uint16_t port)
 	dev = &rte_eth_devices[port];
 	internals = dev->data->dev_private;
 
-	if (check_for_bonded_ethdev(dev) != 0)
-		return -1;
-
 	if (bond_8023ad_slow_pkt_hw_filter_supported(port) != 0)
 		return -1;
 
@@ -1704,9 +1701,6 @@ rte_eth_bond_8023ad_dedicated_queues_disable(uint16_t port)
 	dev = &rte_eth_devices[port];
 	internals = dev->data->dev_private;
 
-	if (check_for_bonded_ethdev(dev) != 0)
-		return -1;
-
 	/* Device must be stopped to set up slow queue */
 	if (dev->data->dev_started)
 		return -1;
-- 
2.23.0.windows.1


^ permalink raw reply	[flat|nested] 3+ messages in thread
[parent not found: <20200621133455.6BFC01C0C0@dpdk.org>]

end of thread, other threads:[~2020-07-04  1:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-21 13:34 [dpdk-dev] [PATCH] dedicated queues: delete redundant check valid_bonded_port_id has include check_for_bonded_ethdev, no need to check again 197020236
     [not found] <20200621133455.6BFC01C0C0@dpdk.org>
2020-07-02  1:02 ` Wei Hu (Xavier)
2020-07-04  1:22   `  =?gb18030?B?19S/2MXLtqzR8w==?=

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