DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] In ovs-2.4 version, why can't stop dpdk-bond port by `ovs-ofctl mod br dpdkbond DOWN`?
@ 2017-11-27 10:07 Sam
  2017-11-27 10:08 ` Sam
  2017-11-27 19:28 ` [dpdk-dev] [ovs-dev] " Ben Pfaff
  0 siblings, 2 replies; 3+ messages in thread
From: Sam @ 2017-11-27 10:07 UTC (permalink / raw)
  To: dev, ovs-dev

Hi all,

I'm working in ovs 2.4 version, and I use "dpdkb" type netdev. Then I
call  `ovs-ofctl mod br dpdkbond DOWN` to down this device, at last, my
code call "rte_eth_dev_stop(dev->port_id);".

But counter shows the port is still rx/tx, why?

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

* Re: [dpdk-dev] In ovs-2.4 version, why can't stop dpdk-bond port by `ovs-ofctl mod br dpdkbond DOWN`?
  2017-11-27 10:07 [dpdk-dev] In ovs-2.4 version, why can't stop dpdk-bond port by `ovs-ofctl mod br dpdkbond DOWN`? Sam
@ 2017-11-27 10:08 ` Sam
  2017-11-27 19:28 ` [dpdk-dev] [ovs-dev] " Ben Pfaff
  1 sibling, 0 replies; 3+ messages in thread
From: Sam @ 2017-11-27 10:08 UTC (permalink / raw)
  To: dev, ovs-dev

The "dev->port_id" is bond port id, should I use slave port id instead ?

2017-11-27 18:07 GMT+08:00 Sam <batmanustc@gmail.com>:

> Hi all,
>
> I'm working in ovs 2.4 version, and I use "dpdkb" type netdev. Then I
> call  `ovs-ofctl mod br dpdkbond DOWN` to down this device, at last, my
> code call "rte_eth_dev_stop(dev->port_id);".
>
> But counter shows the port is still rx/tx, why?
>

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

* Re: [dpdk-dev] [ovs-dev] In ovs-2.4 version, why can't stop dpdk-bond port by `ovs-ofctl mod br dpdkbond DOWN`?
  2017-11-27 10:07 [dpdk-dev] In ovs-2.4 version, why can't stop dpdk-bond port by `ovs-ofctl mod br dpdkbond DOWN`? Sam
  2017-11-27 10:08 ` Sam
@ 2017-11-27 19:28 ` Ben Pfaff
  1 sibling, 0 replies; 3+ messages in thread
From: Ben Pfaff @ 2017-11-27 19:28 UTC (permalink / raw)
  To: Sam; +Cc: dev, ovs-dev

On Mon, Nov 27, 2017 at 06:07:35PM +0800, Sam wrote:
> I'm working in ovs 2.4 version, and I use "dpdkb" type netdev. Then I
> call  `ovs-ofctl mod br dpdkbond DOWN` to down this device, at last, my
> code call "rte_eth_dev_stop(dev->port_id);".
> 
> But counter shows the port is still rx/tx, why?

OVS 2.4 is pretty old and no longer supported.  You should probably try
a newer version.

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

end of thread, other threads:[~2017-11-27 19:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-27 10:07 [dpdk-dev] In ovs-2.4 version, why can't stop dpdk-bond port by `ovs-ofctl mod br dpdkbond DOWN`? Sam
2017-11-27 10:08 ` Sam
2017-11-27 19:28 ` [dpdk-dev] [ovs-dev] " Ben Pfaff

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