staging: fsl-dpaa2/eth: Split function
authorIoana Radulescu <ruxandra.radulescu@nxp.com>
Sun, 29 Oct 2017 08:20:40 +0000 (08:20 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Nov 2017 15:18:14 +0000 (16:18 +0100)
commit308f64e7e2736fa24eb81f6454ee5b7efa5c5d39
tree6f1be9af067214865f05c240cd322545abd03a2a
parentf6dda8090237ede40f6ee6ff6d9188bfc670c5c9
staging: fsl-dpaa2/eth: Split function

Since setup_dpni() became a bit too long, move the buffer layout
configuration to a separate function.

Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
Signed-off-by: Bogdan Purcareata <bogdan.purcareata@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c