Re: [PATCH] xen-netfront: pull on receive skb may need to happen earlier

Jan Beulich
2013-07-08T12:41:51Z

>>> On 08.07.13 at 14:16, Dion Kant <g.w.kant@hunenet.nl> wrote:
> I was wondering about the following.
>
> In netif_poll(struct napi_struct *napi, int budget) the skb->cb is assigend,
> but it may be clipped to RX_COPY_THRESHOLD
>
> NETFRONT_SKB_CB(skb)->pull_to = rx->status;
> if (NETFRONT_SKB_CB(skb)->pull_to > RX_COPY_THRESHOLD)
> NETFRONT_SKB_CB(skb)->pull_to = RX_COPY_THRESHOLD;
>
> How does this modification of NETFRONT_SKB_CB(skb)->pull_to propagates
> or is this irrelevant?

I'm not sure I understand what you're asking. pull_to is a private
(to netfront) field used to communicate how much of the skb
needs to be pulled. I don't see how the word "propagate" makes
any sense here, but as said I may simply not be getting what
you're asking about.

Jan