]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita0f5b03b73b04e5bf97e6841b85e9a684784fb78
treee0bce5abfdc3c5aef976c94f0f4e63ffc2ebcdf7
parented6d3c28253a0ca0aa4773e078ab8fb790b00fdb
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