On Fri, Apr 17, 2020 at 02:51:34PM +0200, Eelco Chaudron wrote:
> This adds the ovs_dump_ifpacts command:
> 
> (gdb) help ovs_dump_ofpacts
> Dump all actions in an ofpacts set
>     Usage: ovs_dump_ofpacts <struct ofpact *> <ofpacts_len>
> 
>        <struct ofpact *> : Pointer to set of ofpact structures.
>        <ofpacts_len>     : Total length of the set.
> 
>     Example dumping all actions when in the clone_xlate_actions() function:
> 
>     (gdb) ovs_dump_ofpacts actions actions_len
>     (struct ofpact *) 0x561c7be487c8: {type = OFPACT_SET_FIELD, raw = 255 '', 
> len = 24}
>     (struct ofpact *) 0x561c7be487e0: {type = OFPACT_SET_FIELD, raw = 255 '', 
> len = 24}
>     (struct ofpact *) 0x561c7be487f8: {type = OFPACT_SET_FIELD, raw = 255 '', 
> len = 24}
>     (struct ofpact *) 0x561c7be48810: {type = OFPACT_SET_FIELD, raw = 255 '', 
> len = 32}
>     (struct ofpact *) 0x561c7be48830: {type = OFPACT_SET_FIELD, raw = 255 '', 
> len = 24}
>     (struct ofpact *) 0x561c7be48848: {type = OFPACT_RESUBMIT, raw = 38 '&', 
> len = 16}
> 
> Signed-off-by: Eelco Chaudron <[email protected]>
> ---
Applied to master, thanks!
William

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

Reply via email to