[U-Boot] [PATCH] driver: net: ldpaa_eth: return number of buffer seeded
Prabhakar Kushwaha
prabhakar.kushwaha at nxp.com
Fri Mar 18 11:45:15 CET 2016
if buffer < 7, return number of buffer seeded to QBMAN.
Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha at nxp.com>
Reported-by: Jose Rivera <german.rivera at nxp.com>
---
drivers/net/ldpaa_eth/ldpaa_eth.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ldpaa_eth/ldpaa_eth.c b/drivers/net/ldpaa_eth/ldpaa_eth.c
index 8a00bc3..274bcea 100644
--- a/drivers/net/ldpaa_eth/ldpaa_eth.c
+++ b/drivers/net/ldpaa_eth/ldpaa_eth.c
@@ -665,7 +665,7 @@ err_alloc:
if (i)
goto release_bufs;
- return 0;
+ return i;
}
static int ldpaa_dpbp_seed(uint16_t bpid)
--
1.9.1
More information about the U-Boot
mailing list