Lines Matching refs:ufid_flags
663 static bool should_fill_key(const struct sw_flow_id *sfid, uint32_t ufid_flags) in should_fill_key() argument
666 !(ufid_flags & OVS_UFID_F_OMIT_KEY); in should_fill_key()
669 static bool should_fill_mask(uint32_t ufid_flags) in should_fill_mask() argument
671 return !(ufid_flags & OVS_UFID_F_OMIT_MASK); in should_fill_mask()
674 static bool should_fill_actions(uint32_t ufid_flags) in should_fill_actions() argument
676 return !(ufid_flags & OVS_UFID_F_OMIT_ACTIONS); in should_fill_actions()
681 uint32_t ufid_flags) in ovs_flow_cmd_msg_size() argument
690 if (!sfid || should_fill_key(sfid, ufid_flags)) in ovs_flow_cmd_msg_size()
694 if (should_fill_mask(ufid_flags)) in ovs_flow_cmd_msg_size()
698 if (should_fill_actions(ufid_flags)) in ovs_flow_cmd_msg_size()
775 u32 seq, u32 flags, u8 cmd, u32 ufid_flags) in ovs_flow_cmd_fill_info() argument
792 if (should_fill_key(&flow->id, ufid_flags)) { in ovs_flow_cmd_fill_info()
798 if (should_fill_mask(ufid_flags)) { in ovs_flow_cmd_fill_info()
808 if (should_fill_actions(ufid_flags)) { in ovs_flow_cmd_fill_info()
827 uint32_t ufid_flags) in ovs_flow_cmd_alloc_info() argument
835 len = ovs_flow_cmd_msg_size(acts, sfid, ufid_flags); in ovs_flow_cmd_alloc_info()
847 bool always, u32 ufid_flags) in ovs_flow_cmd_build_info() argument
853 &flow->id, info, always, ufid_flags); in ovs_flow_cmd_build_info()
859 cmd, ufid_flags); in ovs_flow_cmd_build_info()
875 u32 ufid_flags = ovs_nla_get_ufid_flags(a[OVS_FLOW_ATTR_UFID_FLAGS]); in ovs_flow_cmd_new() local
923 ufid_flags); in ovs_flow_cmd_new()
957 ufid_flags); in ovs_flow_cmd_new()
999 ufid_flags); in ovs_flow_cmd_new()
1056 u32 ufid_flags = ovs_nla_get_ufid_flags(a[OVS_FLOW_ATTR_UFID_FLAGS]); in ovs_flow_cmd_set() local
1086 ufid_flags); in ovs_flow_cmd_set()
1120 ufid_flags); in ovs_flow_cmd_set()
1127 ufid_flags); in ovs_flow_cmd_set()
1166 u32 ufid_flags = ovs_nla_get_ufid_flags(a[OVS_FLOW_ATTR_UFID_FLAGS]); in ovs_flow_cmd_get() local
1201 OVS_FLOW_CMD_NEW, true, ufid_flags); in ovs_flow_cmd_get()
1224 u32 ufid_flags = ovs_nla_get_ufid_flags(a[OVS_FLOW_ATTR_UFID_FLAGS]); in ovs_flow_cmd_del() local
1263 &flow->id, info, false, ufid_flags); in ovs_flow_cmd_del()
1271 ufid_flags); in ovs_flow_cmd_del()
1294 u32 ufid_flags; in ovs_flow_cmd_dump() local
1301 ufid_flags = ovs_nla_get_ufid_flags(a[OVS_FLOW_ATTR_UFID_FLAGS]); in ovs_flow_cmd_dump()
1324 OVS_FLOW_CMD_NEW, ufid_flags) < 0) in ovs_flow_cmd_dump()