2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-30 22:05:19 +00:00

netdev: New field 'is_pmd' in netdev_class.

Made to simplify creation of derived classes.

Signed-off-by: Ilya Maximets <i.maximets@samsung.com>
Acked-by: Daniele Di Proietto <diproiettod@vmware.com>
This commit is contained in:
Ilya Maximets
2016-03-14 18:18:11 +03:00
committed by Daniele Di Proietto
parent 1c0383a907
commit 118c77b1a8
8 changed files with 20 additions and 13 deletions

View File

@@ -2641,6 +2641,7 @@ static const struct dpdk_qos_ops egress_policer_ops = {
GET_CARRIER, GET_STATS, GET_FEATURES, GET_STATUS, RXQ_RECV) \
{ \
NAME, \
true, /* is_pmd */ \
INIT, /* init */ \
NULL, /* netdev_dpdk_run */ \
NULL, /* netdev_dpdk_wait */ \