这个结构体中的每个参数的解释如下:
- const struct flow flow:创建这个条目的未掩码flow。
- const struct cmap_node node:哈希表通过未掩码流进行索引,在拥有dp_netdev_pmd_thread的flow_table中。
- const struct cmap_node mark_node:在拥有flow_mark的mark_to_flow中。
- const ovs_u128 ufid:唯一流标识符。
- const ovs_u128 mega_ufid:唯一的mega流标识符。
- const unsigned pmd_id:拥有此流的pmd线程的核心ID。
- struct ovs_refcount ref_cnt:引用计数器,分类器拥有一个引用,任何试图保留规则不被释放的线程应该持有自己的引用。
- bool dead:表示此流是否已死亡。
- uint32_t mark:分配给流的唯一标记号码
- struct dp_netdev_flow_stats stats:统计信息
- atomic_int netdev_flow_get_result、struct dp_netdev_flow_stats last_stats和struct dp_netdev_flow_attrs last_attrs是从netdev offload提供程序接收到的统计信息和属性。
- OVSRCU_TYPE(struct dp_netdev_actions*) actions :动作列表
- struct packet_batch_per_flow *batch :处理输入数据包组时,datapath使用next成员将指针存储到输出批次中。在发送批次后会重置(请参阅dp_netdev_queue_batches()、packet_batch_per_flow_init()和packet_batch_per_flow_execute())。
- char *dp_extra_info:返回在流转储/获取中的字符串信息。
- struct dpcls_rule cr:在拥有dp_netdev的cls中,是规则。cr必须是结构体中的最后一个成员。