net/mlx5: add C++ include guard to public header
[dpdk.git] / drivers / net / axgbe / axgbe_dev.c
index 3aaa219..6a7fddf 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;