Subject: Re: [RFC PATCH 1/5] net: implement support for low latency socket polling

From: Cong Wang <[email-masked]>
Date: Mon, 4 Mar 2013 07:23:35 +0000 (UTC)

On Wed, 27 Feb 2013 at 17:55 GMT, Eliezer Tamir <[email-masked]> wrote:
> +static inline void skb_mark_ll(struct napi_struct *napi, struct sk_buff *skb)
> +{
> +	skb->dev_ref = napi;
> +}
> +
> +static inline void sk_mark_ll(struct sock *sk, struct sk_buff *skb)
> +{
> +	if (skb->dev_ref)
> +		sk->dev_ref = skb->dev_ref;
> +
> +}

It is actually easier to read the code without making them be
functions...