On Fri, May 5, 2017 at 7:34 AM, Petri Savolainen < petri.savolai...@linaro.org> wrote:
> Added capability for maximum number of different CoS in > CLS pipelining. > > Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> > --- > include/odp/api/spec/ipsec.h | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) > > diff --git a/include/odp/api/spec/ipsec.h b/include/odp/api/spec/ipsec.h > index 255fee50..6be8169a 100644 > --- a/include/odp/api/spec/ipsec.h > +++ b/include/odp/api/spec/ipsec.h > @@ -250,6 +250,11 @@ typedef struct odp_ipsec_capability_t { > */ > odp_support_t pipeline_cls; > > + /** Maximum number of different destination CoSes in classification > + * pipelining. The same CoS may be used for many SAs. > + */ > + uint32_t max_cls_cos; > Might be worth mentioning that max_cls_cos will be less than or equal to the odp_cls_capability() max_cos value. > + > /** Soft expiry limit in seconds support > * > * 0: Limit is not supported > @@ -658,7 +663,8 @@ typedef struct odp_ipsec_sa_param_t { > * classification through this CoS. Other result events are sent > to > * 'dest_queue'. This field is considered only when 'pipeline' is > * ODP_IPSEC_PIPELINE_CLS. The CoS must not be shared between any > pktio > - * interface default CoS. > + * interface default CoS. The maximum number of different CoS > supported > + * is defined by IPsec capability max_cls_cos. > */ > odp_cos_t dest_cos; > > -- > 2.11.0 > >