Hi Ben,

Thanks for the reply. We will send the whole message in OFPT_REQUESTFORWARD
as suggested.

Thanks
Niti

On Tue, Jul 21, 2015 at 8:53 PM, Ben Pfaff <b...@nicira.com> wrote:

> On Tue, Jul 21, 2015 at 03:50:55PM +0530, niti Rohilla wrote:
> > We are implementing Group and meter change notification
> messages(EXT-235).
> >
> > As per the specification, the structure of Request forward message is:-
> > struct ofp_requestforward_header {
> >     struct ofp_header header;  /* Type OFPT_REQUESTFORWARD. */
> >     struct ofp_header request; /* Request being forwarded. */
> > };
> > OFP_ASSERT(sizeof(struct ofp_requestforward_header) == 16);
> >
> > Please clarify what will be the contents of the 'request' ofp_header.
> > 'request' will contain only the "group_mod" or "meter_mod" request
> > ofp_header or complete "group_mod" or "meter_mod" request i.e. this
> > complete structure
>
> It's the whole message.  The header by itself wouldn't be useful.
>
> > Whereas if I include the header+data part of "group/meter_mod" request
> then
> > the size of packet will become 24 bytes (requestforward ofp_header (8
> > bytes) + ofp_group_mod (16 bytes)) which is against the size of
> > ofp_requestforward_header mentioned in specification(16 bytes).
>
> struct ofp_requestforward_header is still 16 bytes regardless of how
> much data follows it.
>
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to