ibmvnic: Create init and release routines for the tx pool
authorNathan Fontenot <nfont@linux.vnet.ibm.com>
Thu, 30 Mar 2017 06:49:06 +0000 (02:49 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Mar 2017 22:58:42 +0000 (15:58 -0700)
commitc657e32cd0555e97ae8903f8a5a9d7c2f3579650
tree462f169c47184d04b6f252fdfbd1b5bf4b22ca27
parentf0b8c96cbcc5fbd4f66abcbf4bc442a1066d8899
ibmvnic: Create init and release routines for the tx pool

Move the initialization and the release of the tx pool to their own routines,
and update them to do validation. This also adds validation to the release
of the long term buffer.

Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmvnic.c