net: zynq: Allocate BD_SPACE in connection to RX_BUF
authorMichal Simek <michal.simek@xilinx.com>
Mon, 17 Aug 2015 07:45:53 +0000 (09:45 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 19 Nov 2015 12:50:09 +0000 (13:50 +0100)
commitff4758789e969d1d0a23a0feb8edcab4dffc1250
tree1c61c7e16c8cad4cb03fbf636d2c30fdca80cac6
parent0ebf40417df79ca0b73fa3fca0f6d13f47c5b530
net: zynq: Allocate BD_SPACE in connection to RX_BUF

BD_SEPRN_SPACE should not have hard coded value and it will be
calculated based on the number of buffer descriptors that we
would like to use.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/zynq_gem.c