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; > +}