]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/axgbe/axgbe_dev.c
net/mlx5: add C++ include guard to public header
[dpdk.git] / drivers / net / axgbe / axgbe_dev.c
index 3aaa2193272fd18e50dbd5bdc2b9c294e8885ccb..6a7fddffca7d31e154c51afda924456243dfef6c 100644 (file)
@@ -51,7 +51,7 @@ static int get_lastbit_set(int x)
 static inline unsigned int axgbe_get_max_frame(struct axgbe_port *pdata)
 {
        return pdata->eth_dev->data->mtu + RTE_ETHER_HDR_LEN +
-               RTE_ETHER_CRC_LEN + VLAN_HLEN;
+               RTE_ETHER_CRC_LEN + RTE_VLAN_HLEN;
 }
 
 /* query busy bit */
@@ -1046,7 +1046,7 @@ static int axgbe_config_rx_threshold(struct axgbe_port *pdata,
        return 0;
 }
 
-/*Distrubting fifo size  */
+/* Distributing FIFO size */
 static void axgbe_config_rx_fifo_size(struct axgbe_port *pdata)
 {
        unsigned int fifo_size;