Lines Matching refs:dp

119 static int clone_execute(struct datapath *dp, struct sk_buff *skb,
125 static int do_execute_actions(struct datapath *dp, struct sk_buff *skb,
891 static void do_output(struct datapath *dp, struct sk_buff *skb, int out_port, in do_output() argument
894 struct vport *vport = ovs_vport_rcu(dp, out_port); in do_output()
913 struct net *net = read_pnet(&dp->net); in do_output()
924 static int output_userspace(struct datapath *dp, struct sk_buff *skb, in output_userspace() argument
946 else if (dp->user_features & in output_userspace()
949 ovs_dp_get_upcall_portid(dp, in output_userspace()
959 vport = ovs_vport_rcu(dp, nla_get_u32(a)); in output_userspace()
981 return ovs_dp_upcall(dp, skb, key, &upcall, cutlen); in output_userspace()
984 static int dec_ttl_exception_handler(struct datapath *dp, struct sk_buff *skb, in dec_ttl_exception_handler() argument
992 return clone_execute(dp, skb, key, 0, nla_data(actions), in dec_ttl_exception_handler()
1003 static int sample(struct datapath *dp, struct sk_buff *skb, in sample() argument
1031 err = clone_execute(dp, skb, key, 0, actions, rem, last, in sample()
1044 static int clone(struct datapath *dp, struct sk_buff *skb, in clone() argument
1058 return clone_execute(dp, skb, key, 0, actions, rem, last, in clone()
1180 static int execute_recirc(struct datapath *dp, struct sk_buff *skb, in execute_recirc() argument
1196 return clone_execute(dp, skb, key, recirc_id, NULL, 0, last, true); in execute_recirc()
1199 static int execute_check_pkt_len(struct datapath *dp, struct sk_buff *skb, in execute_check_pkt_len() argument
1234 return clone_execute(dp, skb, key, 0, nla_data(actions), in execute_check_pkt_len()
1278 static void execute_psample(struct datapath *dp, struct sk_buff *skb, in execute_psample() argument
1300 psample_group.net = ovs_dp_get_net(dp); in execute_psample()
1310 static void execute_psample(struct datapath *dp, struct sk_buff *skb, in execute_psample() argument
1316 static int do_execute_actions(struct datapath *dp, struct sk_buff *skb, in do_execute_actions() argument
1328 trace_ovs_do_execute_action(dp, skb, key, a, rem); in do_execute_actions()
1343 do_output(dp, skb, port, key); in do_execute_actions()
1351 do_output(dp, clone, port, key); in do_execute_actions()
1365 output_userspace(dp, skb, key, a, attr, in do_execute_actions()
1411 err = execute_recirc(dp, skb, key, a, last); in do_execute_actions()
1434 err = sample(dp, skb, key, a, last); in do_execute_actions()
1448 err = ovs_ct_execute(ovs_dp_get_net(dp), skb, key, in do_execute_actions()
1477 if (ovs_meter_execute(dp, skb, key, nla_get_u32(a))) { in do_execute_actions()
1486 err = clone(dp, skb, key, a, last); in do_execute_actions()
1496 err = execute_check_pkt_len(dp, skb, key, a, last); in do_execute_actions()
1506 return dec_ttl_exception_handler(dp, skb, in do_execute_actions()
1520 execute_psample(dp, skb, a); in do_execute_actions()
1545 static int clone_execute(struct datapath *dp, struct sk_buff *skb, in clone_execute() argument
1573 err = do_execute_actions(dp, skb, clone, in clone_execute()
1601 ovs_dp_name(dp)); in clone_execute()
1604 ovs_dp_name(dp), recirc_id); in clone_execute()
1611 static void process_deferred_actions(struct datapath *dp) in process_deferred_actions() argument
1628 do_execute_actions(dp, skb, key, actions, actions_len); in process_deferred_actions()
1638 int ovs_execute_actions(struct datapath *dp, struct sk_buff *skb, in ovs_execute_actions() argument
1647 ovs_dp_name(dp)); in ovs_execute_actions()
1654 err = do_execute_actions(dp, skb, key, in ovs_execute_actions()
1658 process_deferred_actions(dp); in ovs_execute_actions()