]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf1254415e1c4cd20eb8a9496ee265e9d7be061a5
tree462f169c47184d04b6f252fdfbd1b5bf4b22ca27
parentc5832c22ddc201eb733307f57f3441fce9a9d0ce
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