On Fri, Jun 14, 2019 at 9:10 AM Jiri Pirko <j...@resnulli.us> wrote: > > Thu, Jun 13, 2019 at 07:43:57PM CEST, john.hur...@netronome.com wrote: > >Currently, TC offers the ability to match on the MPLS fields of a packet > >through the use of the flow_dissector_key_mpls struct. However, as yet, TC > >actions do not allow the modification or manipulation of such fields. > > > >Add a new module that registers TC action ops to allow manipulation of > >MPLS. This includes the ability to push and pop headers as well as modify > >the contents of new or existing headers. A further action to decrement the > >TTL field of an MPLS header is also provided. > > > >Signed-off-by: John Hurley <john.hur...@netronome.com> > >Reviewed-by: Jakub Kicinski <jakub.kicin...@netronome.com> > > [...] > > > >+ if (tb[TCA_MPLS_LABEL] || tb[TCA_MPLS_TTL] || > >tb[TCA_MPLS_TC]) { > >+ NL_SET_ERR_MSG_MOD(extack, > >+ "MPLS POP: unsupported attrs"); > > No need to break line here and couple other similar places in this code. > Anyway, looks good otherwise: >
Ok, let me respin with these line breaks removed. I'll also retract patch 2 and repost when driver changes are there. Thanks > Acked-by: Jiri Pirko <j...@mellanox.com> > > [...]