]> 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)
commitb15905ce1a5117a0b45545af04af87b0931d40ff
tree462f169c47184d04b6f252fdfbd1b5bf4b22ca27
parent9122ea89b0f577dfcc701fb19b8e237243f8356f
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