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

Move the initialization and the release of the rx pool to their own
routines, and update them to do validation.

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