xen-netfront: frags -> slots in xennet_get_responses
authorWei Liu <wei.liu2@citrix.com>
Mon, 25 Mar 2013 01:08:19 +0000 (01:08 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Mar 2013 16:19:26 +0000 (12:19 -0400)
This function is in fact counting the ring slots required for responses.
Separate the concepts of ring slots and skb frags make the code clearer, as
now netfront and netback can have different MAX_SKB_FRAGS, slot and frag are
not mapped 1:1 any more.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: David Vrabel <david.vrabel@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found