git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: add rte prefix to ether defines
[dpdk.git]
/
drivers
/
net
/
netvsc
/
hn_nvs.c
diff --git
a/drivers/net/netvsc/hn_nvs.c
b/drivers/net/netvsc/hn_nvs.c
index
d58770e
..
6b51868
100644
(file)
--- 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 */