> -----Original Message-----
> From: Akhil Goyal [mailto:[email protected]]
> Sent: Tuesday, October 3, 2017 2:14 PM
> To: [email protected]
> Cc: Doherty, Declan <[email protected]>; De Lara Guarch, Pablo
> <[email protected]>; [email protected]; Nicolau,
> Radu <[email protected]>; [email protected];
> [email protected]; [email protected]; [email protected];
> [email protected]; Mcnamara, John
> <[email protected]>; [email protected]
> 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 <[email protected]>
...
> +/**
> + * 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) {