summaryrefslogtreecommitdiff
path: root/drivers/net/axgbe/axgbe_dev.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/axgbe/axgbe_dev.c')
-rw-r--r--drivers/net/axgbe/axgbe_dev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/axgbe/axgbe_dev.c b/drivers/net/axgbe/axgbe_dev.c
index 707f1ee..b1f0bbc 100644
--- a/drivers/net/axgbe/axgbe_dev.c
+++ b/drivers/net/axgbe/axgbe_dev.c
@@ -10,8 +10,8 @@
static inline unsigned int axgbe_get_max_frame(struct axgbe_port *pdata)
{
- return pdata->eth_dev->data->mtu + ETHER_HDR_LEN +
- ETHER_CRC_LEN + VLAN_HLEN;
+ return pdata->eth_dev->data->mtu + RTE_ETHER_HDR_LEN +
+ RTE_ETHER_CRC_LEN + VLAN_HLEN;
}
/* query busy bit */