On 12/19/24 11:50 PM, Lorenzo Bianconi wrote:
>>> +    uint64_t ofpacts_stub[4096 / 8];
>>> +    struct ofpbuf ofpacts = OFPBUF_STUB_INITIALIZER(ofpacts_stub);
>>> +    enum ofp_version version = rconn_get_version(swconn);
>>> +    put_load(e->dp_key, MFF_LOG_DATAPATH, 0, 64, &ofpacts);
>>> +    put_load(e->port_key, MFF_LOG_OUTPORT, 0, 32, &ofpacts);
>>> +    struct ofpact_resubmit *resubmit = ofpact_put_RESUBMIT(&ofpacts);
>>> +    resubmit->in_port = OFPP_CONTROLLER;
>>> +    resubmit->table_id = OFTABLE_LOCAL_OUTPUT;
>> As fas as I can tell, there's no real reason to not reinject from the
>> beginning of the pipeline (like we do with GARPs):
>>
>> resubmit->table_id = OFTABLE_LOG_INGRESS_PIPELINE;
> I guess we need to resubmit to OFTABLE_LOCAL_OUTPUT since port_key is the
> outport and not the input one.

I see, OK.

Thanks,
Dumitru

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to