summaryrefslogtreecommitdiff
path: root/drivers/net/netvsc/hn_rxtx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/netvsc/hn_rxtx.c')
-rw-r--r--drivers/net/netvsc/hn_rxtx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/netvsc/hn_rxtx.c b/drivers/net/netvsc/hn_rxtx.c
index a5850c2..6192420 100644
--- a/drivers/net/netvsc/hn_rxtx.c
+++ b/drivers/net/netvsc/hn_rxtx.c
@@ -128,8 +128,8 @@ hn_update_packet_stats(struct hn_stats *stats, const struct rte_mbuf *m)
}
ea = rte_pktmbuf_mtod(m, const struct rte_ether_addr *);
- if (is_multicast_ether_addr(ea)) {
- if (is_broadcast_ether_addr(ea))
+ if (rte_is_multicast_ether_addr(ea)) {
+ if (rte_is_broadcast_ether_addr(ea))
stats->broadcast++;
else
stats->multicast++;