]> git.baikalelectronics.ru Git - kernel.git/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)
commit6301453468540890b58e31fc213ea7522577a160
treee10b0210c7dc85adb2b05c6a617405131d89610b
parent909822d3cdc78854db610db3429ada3da14eac2e
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