From e282d30e20d34d8d543866b662fdc16a5499a0ab Mon Sep 17 00:00:00 2001
From: Li Yang <leoyang.li@nxp.com>
Date: Sat, 7 Sep 2019 18:29:45 -0500
Subject: [PATCH] dpaa_eth: Rename skb_frag_t size to bv_len

Signed-off-by: Li Yang <leoyang.li@nxp.com>
---
 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/net/ethernet/freescale/dpaa/dpaa_eth.c
+++ b/drivers/net/ethernet/freescale/dpaa/dpaa_eth.c
@@ -2141,7 +2141,7 @@ static bool dpaa_errata_a010022_has_dma_
 		/* Check if a paged fragment crosses a boundary from its
 		 * offset to its end.
 		 */
-		if (CROSS_4K_BOUND((uintptr_t)frag->page_offset, frag->size))
+		if (CROSS_4K_BOUND((uintptr_t)frag->page_offset, frag->bv_len))
 			return true;
 
 		i++;
