[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <seeyto2k7ifi34xxbkty5nhii3hl3m5pppt3undqy6atbuup5n@hbqaxen26ch3>
Date: Sun, 30 Apr 2023 18:33:14 +0200
From: Zahari Doychev <zahari.doychev@...ux.com>
To: Ido Schimmel <idosch@...sch.org>
Cc: netdev@...r.kernel.org, jhs@...atatu.com, xiyou.wangcong@...il.com,
jiri@...nulli.us, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, hmehrtens@...linear.com,
aleksander.lobakin@...el.com, simon.horman@...igine.com,
Zahari Doychev <zdoychev@...linear.com>
Subject: Re: [PATCH net-next v4 1/3] net: flow_dissector: add support for cfm
packets
[...]
> >
> > +/**
> > + * struct flow_dissector_key_cfm
> > + * @mdl_ver: maintenance domain level(mdl) and cfm protocol version
> ^ missing space
>
> > + * @opcode: code specifying a type of cfm protocol packet
[...]
> + key->opcode = hdr->opcode;
> > +
> > + return FLOW_DISSECT_RET_OUT_GOOD;
> ^ double space
>
> > +}
> > +
> > static enum flow_dissect_ret
> > __skb_flow_dissect_gre(const struct sk_buff *skb,
> > struct flow_dissector_key_control *key_control,
> > @@ -1390,6 +1414,12 @@ bool __skb_flow_dissect(const struct net *net,
> > break;
> > }
> >
> > + case htons(ETH_P_CFM): {
> > + fdret = __skb_flow_dissect_cfm(skb, flow_dissector,
> > + target_container, data,
> > + nhoff, hlen);
> > + break;
> > + }
>
> No variables are declared, drop the braces?
>
thanks, I will fix them for the next series.
> > default:
> > fdret = FLOW_DISSECT_RET_OUT_BAD;
> > break;
> > --
> > 2.40.0
> >
Powered by blists - more mailing lists