summaryrefslogtreecommitdiff
path: root/drivers/net/netvsc/hn_nvs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/netvsc/hn_nvs.c')
-rw-r--r--drivers/net/netvsc/hn_nvs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/netvsc/hn_nvs.c b/drivers/net/netvsc/hn_nvs.c
index d58770e..6b51868 100644
--- a/drivers/net/netvsc/hn_nvs.c
+++ b/drivers/net/netvsc/hn_nvs.c
@@ -323,7 +323,7 @@ hn_nvs_conf_ndis(struct hn_data *hv, unsigned int mtu)
memset(&conf, 0, sizeof(conf));
conf.type = NVS_TYPE_NDIS_CONF;
- conf.mtu = mtu + ETHER_HDR_LEN;
+ conf.mtu = mtu + RTE_ETHER_HDR_LEN;
conf.caps = NVS_NDIS_CONF_VLAN;
/* enable SRIOV */