]> Pileus Git - ~andy/linux/commit
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)
commit7158ff6d0c6aa3724fb51c6c11143d31e166eb1f
treee10b0210c7dc85adb2b05c6a617405131d89610b
parente2d617c0ccf658a55552955f07018ecfa0135210
xen-netfront: frags -> slots in xennet_get_responses

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>
drivers/net/xen-netfront.c