lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 8 May 2020 14:07:42 -0700
From:   Jakub Kicinski <>
To:     Denis Kirjanov <>
Subject: Re: [PATCH net-next v8 2/3] xen networking: add XDP offset
 adjustment to xen-netback

On Thu,  7 May 2020 15:40:40 +0300 Denis Kirjanov wrote:
> +static inline int xenvif_rx_xdp_offset(struct xenvif *vif)

Please don't use static inlines in C files, compiler will know when to
inline and when not. 

> +{
> +	return vif->xdp_enabled ? XDP_PACKET_HEADROOM : 0;
> +}

Powered by blists - more mailing lists