/* Offload-capable (HW) netdev information */
struct netdev_hw_info {
bool oor; /* Out of Offload Resources ? */
+ int offload_count; /* Pending (non-offloaded) flow count */
+ int pending_count; /* Offloaded flow count */
};
enum hw_info_type {
- HW_INFO_TYPE_OOR = 1 /* OOR state */
+ HW_INFO_TYPE_OOR = 1, /* OOR state */
+ HW_INFO_TYPE_PEND_COUNT = 2, /* Pending(non-offloaded) flow count */
+ HW_INFO_TYPE_OFFL_COUNT = 3 /* Offloaded flow count */
};
/* A network device (e.g. an Ethernet device).
int n_rxq;
struct shash_node *node; /* Pointer to element in global map. */
struct ovs_list saved_flags_list; /* Contains "struct netdev_saved_flags". */
-
struct netdev_hw_info hw_info; /* offload-capable netdev info */
};