Re: [ovs-discuss] One question about AVX512 support

2022-06-02 Thread Li Zhang
On Thu, Jun 2, 2022 at 7:31 PM Pai G, Sunil wrote: > > Hi Li, > > My responses are inline. > > Thanks and Regards, > Sunil > > > -Original Message- > > From: Li Zhang > > Sent: Thursday, June 2, 2022 9:56 PM > > To: Pai G, Sunil > > Cc: ovs-discuss@openvswitch.org > > Subject: Re: [ovs-d

Re: [ovs-discuss] One question about AVX512 support

2022-06-02 Thread Pai G, Sunil
Hi Li, My responses are inline. Thanks and Regards, Sunil > -Original Message- > From: Li Zhang > Sent: Thursday, June 2, 2022 9:56 PM > To: Pai G, Sunil > Cc: ovs-discuss@openvswitch.org > Subject: Re: [ovs-discuss] One question about AVX512 support > > Hi Pai, > > Thanks a lot. It

Re: [ovs-discuss] One question about AVX512 support

2022-06-02 Thread Li Zhang
On Thu, Jun 2, 2022 at 6:56 PM Raymond Burkholder wrote: > > > > On 2022-06-02 10:26, Li Zhang wrote: > > Hi Pai, > > > > Thanks a lot. It helps. > > These patches allow ovs to decide to disable or enable AVX512 if I > > understand it correctly. > > Is it recommended to enable AVX512? AVX512 is e

Re: [ovs-discuss] One question about AVX512 support

2022-06-02 Thread Raymond Burkholder
On 2022-06-02 10:26, Li Zhang wrote: Hi Pai, Thanks a lot. It helps. These patches allow ovs to decide to disable or enable AVX512 if I understand it correctly. Is it recommended to enable AVX512? AVX512 is enabled by default. It is disabled in DPDK because it is experimental. I wonder if I s

Re: [ovs-discuss] One question about AVX512 support

2022-06-02 Thread Li Zhang
On Thu, Jun 2, 2022 at 6:30 PM Raymond Burkholder wrote: > > > > On 2022-06-02 10:26, Li Zhang wrote: > > Hi Pai, > > > > Thanks a lot. It helps. > > These patches allow ovs to decide to disable or enable AVX512 if I > > understand it correctly. > > Is it recommended to enable AVX512? AVX512 is e

Re: [ovs-discuss] One question about AVX512 support

2022-06-02 Thread Li Zhang
Hi Pai, Thanks a lot. It helps. These patches allow ovs to decide to disable or enable AVX512 if I understand it correctly. Is it recommended to enable AVX512? AVX512 is enabled by default. It is disabled in DPDK because it is experimental. I wonder if I should disable it, it may cause performanc

Re: [ovs-discuss] One question about AVX512 support

2022-06-02 Thread Pai G, Sunil
Hi Li, The assumption of ovs being dependent on dpdk for avx512 might not be true. I found these two commits below in ovs-2.14.2 which strips out the "-march" and "-mno-avx512f" flags exported by dpdk i.e removes dependency on DPDK. The reason for this is rightly mentioned below as well. Hope t

Re: [ovs-discuss] ovs-tcpdump doesn't work on patch ports?

2022-06-02 Thread Lars Kellogg-Stedman
Thanks, that's exactly what I was looking for! On Thu, Jun 2, 2022 at 9:31 AM Lewis Denny wrote: > Hi Lars, > > I had a similar question recently, the answer I got is the following: > > "A patch port is not the same as a veth pair. It is not used to "send" and > "receive" traffic. When we proces

Re: [ovs-discuss] ovs-tcpdump doesn't work on patch ports?

2022-06-02 Thread Lewis Denny
Hi Lars, I had a similar question recently, the answer I got is the following: "A patch port is not the same as a veth pair. It is not used to "send" and "receive" traffic. When we process an upcall and have to determine what actions to perform on a packet, a patch_port is is basically an equival

[ovs-discuss] One question about AVX512 support

2022-06-02 Thread Li Zhang
Hi all, We are using openvswitch 2.14.2, and dpdk-19.11.4. I found avx512 is enabled by default but it's disabled in DPDK. But I think ovs is dependent on the dpdk library, right? But why does ovs work with avx512 disabled in DPDK? I am not quite sure about the relationship between OVS and DPD

[ovs-discuss] ovs-tcpdump doesn't work on patch ports?

2022-06-02 Thread Lars Kellogg-Stedman
Given two OVS bridges connected by a patch port, I would like to run `tcpdump` on either of the patch interfaces to see traffic passing between the switches. The command runs without error, but doesn't see any of the expected traffic. The basic configuration looks something like this: ovs-vsc