> -----Original Message----- > From: Akhil Goyal [mailto:akhil.go...@nxp.com] > Sent: Tuesday, October 3, 2017 2:14 PM > To: dev@dpdk.org > Cc: Doherty, Declan <declan.dohe...@intel.com>; De Lara Guarch, Pablo > <pablo.de.lara.gua...@intel.com>; hemant.agra...@nxp.com; Nicolau, > Radu <radu.nico...@intel.com>; bor...@mellanox.com; > avia...@mellanox.com; tho...@monjalon.net; sandeep.ma...@nxp.com; > jerin.ja...@caviumnetworks.com; Mcnamara, John > <john.mcnam...@intel.com>; olivier.m...@6wind.com > Subject: [PATCH v2 11/12] crypto/dpaa2_sec: add support for protocol > offload ipsec > > driver implementation to support rte_security APIs > > Signed-off-by: Akhil Goyal <akhil.go...@nxp.com>
... > +/** > + * Checksum > + * > + * @param buffer calculate chksum for buffer > + * @param len buffer length > + * > + * @return checksum value in host cpu order */ static inline uint16_t Tiny comment. Return type should be in a separate line. > +calc_chksum(void *buffer, int len) {