Lines Matching refs:ufid_flags
706 static bool should_fill_key(const struct sw_flow_id *sfid, uint32_t ufid_flags) in should_fill_key() argument
709 !(ufid_flags & OVS_UFID_F_OMIT_KEY); in should_fill_key()
712 static bool should_fill_mask(uint32_t ufid_flags) in should_fill_mask() argument
714 return !(ufid_flags & OVS_UFID_F_OMIT_MASK); in should_fill_mask()
717 static bool should_fill_actions(uint32_t ufid_flags) in should_fill_actions() argument
719 return !(ufid_flags & OVS_UFID_F_OMIT_ACTIONS); in should_fill_actions()
724 uint32_t ufid_flags) in ovs_flow_cmd_msg_size() argument
733 if (!sfid || should_fill_key(sfid, ufid_flags)) in ovs_flow_cmd_msg_size()
737 if (should_fill_mask(ufid_flags)) in ovs_flow_cmd_msg_size()
741 if (should_fill_actions(ufid_flags)) in ovs_flow_cmd_msg_size()
818 u32 seq, u32 flags, u8 cmd, u32 ufid_flags) in ovs_flow_cmd_fill_info() argument
835 if (should_fill_key(&flow->id, ufid_flags)) { in ovs_flow_cmd_fill_info()
841 if (should_fill_mask(ufid_flags)) { in ovs_flow_cmd_fill_info()
851 if (should_fill_actions(ufid_flags)) { in ovs_flow_cmd_fill_info()
870 uint32_t ufid_flags) in ovs_flow_cmd_alloc_info() argument
878 len = ovs_flow_cmd_msg_size(acts, sfid, ufid_flags); in ovs_flow_cmd_alloc_info()
890 bool always, u32 ufid_flags) in ovs_flow_cmd_build_info() argument
896 &flow->id, info, always, ufid_flags); in ovs_flow_cmd_build_info()
902 cmd, ufid_flags); in ovs_flow_cmd_build_info()
919 u32 ufid_flags = ovs_nla_get_ufid_flags(a[OVS_FLOW_ATTR_UFID_FLAGS]); in ovs_flow_cmd_new() local
967 ufid_flags); in ovs_flow_cmd_new()
1001 ufid_flags); in ovs_flow_cmd_new()
1043 ufid_flags); in ovs_flow_cmd_new()
1102 u32 ufid_flags = ovs_nla_get_ufid_flags(a[OVS_FLOW_ATTR_UFID_FLAGS]); in ovs_flow_cmd_set() local
1132 ufid_flags); in ovs_flow_cmd_set()
1166 ufid_flags); in ovs_flow_cmd_set()
1173 ufid_flags); in ovs_flow_cmd_set()
1213 u32 ufid_flags = ovs_nla_get_ufid_flags(a[OVS_FLOW_ATTR_UFID_FLAGS]); in ovs_flow_cmd_get() local
1248 OVS_FLOW_CMD_NEW, true, ufid_flags); in ovs_flow_cmd_get()
1272 u32 ufid_flags = ovs_nla_get_ufid_flags(a[OVS_FLOW_ATTR_UFID_FLAGS]); in ovs_flow_cmd_del() local
1311 &flow->id, info, false, ufid_flags); in ovs_flow_cmd_del()
1319 ufid_flags); in ovs_flow_cmd_del()
1342 u32 ufid_flags; in ovs_flow_cmd_dump() local
1349 ufid_flags = ovs_nla_get_ufid_flags(a[OVS_FLOW_ATTR_UFID_FLAGS]); in ovs_flow_cmd_dump()
1372 OVS_FLOW_CMD_NEW, ufid_flags) < 0) in ovs_flow_cmd_dump()