Re: [ovs-discuss] Storing xlate_ctx CTX

2020-06-17 Thread Luca Mancini
Me too haha, I won’t lose hope though and I can’t really. Thanks for the suggestions, I’ll keep working on it and update if I manage to come up with something From: Ben Pfaff Sent: Thursday, June 18, 2020 00:29 To: Luca Mancini Cc:

Re: [ovs-discuss] Storing xlate_ctx CTX

2020-06-17 Thread Ben Pfaff
I don't know. I find your use case baffling. On Wed, Jun 17, 2020 at 10:15:00PM +, Luca Mancini wrote: > So if I understand this correctly, in this case on another switch where I > receive the bufferred packet I’ll have it’s actions in ctx set to "normal”, > but won’t I still have the

Re: [ovs-discuss] Storing xlate_ctx CTX

2020-06-17 Thread Luca Mancini
So if I understand this correctly, in this case on another switch where I receive the bufferred packet I’ll have it’s actions in ctx set to "normal”, but won’t I still have the problem of sending the packets stored inside the buffered packet (once extracted) to “normal”? From: Ben

Re: [ovs-discuss] Storing xlate_ctx CTX

2020-06-17 Thread Ben Pfaff
When you need to send the buffered packet, translate it first with xlate_actions(), passing "normal" as the set of actions. On Wed, Jun 17, 2020 at 09:41:19PM +, Luca Mancini wrote: > Sorry, what do you mean exactly by “translate the packets using the xlate_ctx > struct”? Do you mean passing

Re: [ovs-discuss] Storing xlate_ctx CTX

2020-06-17 Thread Luca Mancini
Sorry, what do you mean exactly by “translate the packets using the xlate_ctx struct”? Do you mean passing "normal” to the set of actions before buffering the packet? From: Ben Pfaff Sent: Wednesday, June 17, 2020 23:17 To: Luca Mancini Cc:

Re: [ovs-discuss] Storing xlate_ctx CTX

2020-06-17 Thread Ben Pfaff
Why not just translate the packets using an xlate_ctx and passing "normal" as the set of actions? On Wed, Jun 17, 2020 at 08:57:07PM +, Luca Mancini wrote: > It’s quite the pickle then. > Basically it’s a new action I’m trying to implement for OVS , I’ve talked > about it before here: >

Re: [ovs-discuss] Storing xlate_ctx CTX

2020-06-17 Thread Luca Mancini
It’s quite the pickle then. Basically it’s a new action I’m trying to implement for OVS , I’ve talked about it before here: https://mail.openvswitch.org/pipermail/ovs-discuss/2020-June/050196.html I need a way to send the single packets to the appropriate ports, I was using

Re: [ovs-discuss] Storing xlate_ctx CTX

2020-06-17 Thread Ben Pfaff
This is probably not a good solution to your problem. I don't understand your overall problem, so I can't suggest a good solution. On Wed, Jun 17, 2020 at 08:08:40PM +, Luca Mancini wrote: > I thought so, what about hard coding a ctx struct, i need this particular > struct since I'd like to

Re: [ovs-discuss] Storing xlate_ctx CTX

2020-06-17 Thread Luca Mancini
I thought so, what about hard coding a ctx struct, i need this particular struct since I'd like to send the single packets received by a switch (after storing them) to the NORMAL logical port, or even just resubmit them to the flow tables so they can match another flow, and all the functions

Re: [ovs-discuss] Storing xlate_ctx CTX

2020-06-17 Thread Ben Pfaff
On Wed, Jun 17, 2020 at 03:13:27PM +, Luca Mancini wrote: > Are there ways in OVS store a struct xlate_ctx *ctx so that I can use > it even after another packet is received by the switch? No. ___ discuss mailing list disc...@openvswitch.org

Re: [ovs-discuss] [OVN] running bfd on ecmp routes?

2020-06-17 Thread Han Zhou
On Wed, Jun 17, 2020 at 3:43 AM Numan Siddique wrote: > > > On Wed, Jun 17, 2020 at 12:50 AM Han Zhou wrote: > >> >> >> On Tue, Jun 16, 2020 at 11:32 AM Tim Rozet wrote: >> >>> Thanks Han. See inline. >>> Tim Rozet >>> Red Hat CTO Networking Team >>> >>> >>> On Tue, Jun 16, 2020 at 1:45 PM Han

[ovs-discuss] Storing xlate_ctx CTX

2020-06-17 Thread Luca Mancini
Hello, Are there ways in OVS store a struct xlate_ctx *ctx so that I can use it even after another packet is received by the switch? ___ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

[ovs-discuss] ovs-vswitchd got stuck when delete dpdk port with ovs hw-offload enabled

2020-06-17 Thread 王培辉
Hello I’m encountered a problem that ovs-vswitchd got stuck while I tried to delete the dpdk port from bridge in in probability, when I turn off hw-offload,it’s won’t happen again.I’m using the latest ovs 2.13.1 version, CentOS 7.6, please help me out here, thanks in advance. Here

Re: [ovs-discuss] [OVN] running bfd on ecmp routes?

2020-06-17 Thread Numan Siddique
On Wed, Jun 17, 2020 at 12:50 AM Han Zhou wrote: > > > On Tue, Jun 16, 2020 at 11:32 AM Tim Rozet wrote: > >> Thanks Han. See inline. >> Tim Rozet >> Red Hat CTO Networking Team >> >> >> On Tue, Jun 16, 2020 at 1:45 PM Han Zhou wrote: >> >>> >>> >>> On Mon, Jun 15, 2020 at 7:22 AM Tim Rozet