sunvnet: rename vnet_port_alloc_tx_bufs and move after version negotiation
authorDavid L Stevens <david.stevens@oracle.com>
Tue, 2 Dec 2014 20:30:55 +0000 (15:30 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Dec 2014 02:18:29 +0000 (21:18 -0500)
commitd6732489f079ff65f8ea551392ccae469cba4653
treee0bce5abfdc3c5aef976c94f0f4e63ffc2ebcdf7
parentbc6aaa14e11304b629ae8b0c0c71737cf24114b7
sunvnet: rename vnet_port_alloc_tx_bufs and move after version negotiation

This patch changes the name of vnet_port_alloc_tx_bufs to
vnet_port_alloc_tx_ring, since there are no buffer allocations after
transmit zero copy support was added. This patch also moves the ring
allocation to after VIO version negotiation to allow for
different-sized descriptors in later VIO versions.

Signed-off-by: David L Stevens <david.stevens@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sun/sunvnet.c