Home
last modified time | relevance | path

Searched refs:sp (Results 1 – 25 of 55) sorted by relevance

123

/dpdk/examples/ipsec-secgw/
H A Dep0.cfg14 sp ipv4 out esp protect 5 pri 1 dst 192.168.105.0/24 sport 0:65535 dport 0:65535
15 sp ipv4 out esp protect 6 pri 1 dst 192.168.106.0/24 sport 0:65535 dport 0:65535
16 sp ipv4 out esp protect 10 pri 1 dst 192.168.175.0/24 sport 0:65535 dport 0:65535
17 sp ipv4 out esp protect 11 pri 1 dst 192.168.176.0/24 sport 0:65535 dport 0:65535
18 sp ipv4 out esp protect 15 pri 1 dst 192.168.200.0/24 sport 0:65535 dport 0:65535
20 sp ipv4 out esp protect 25 pri 1 dst 192.168.55.0/24 sport 0:65535 dport 0:65535
21 sp ipv4 out esp protect 26 pri 1 dst 192.168.56.0/24 sport 0:65535 dport 0:65535
22 sp ipv4 out esp bypass pri 1 dst 192.168.240.0/24 sport 0:65535 dport 0:65535
23 sp ipv4 out esp bypass pri 1 dst 192.168.241.0/24 sport 0:65535 dport 0:65535
36 sp ipv4 in esp bypass pri 1 dst 192.168.245.0/24 sport 0:65535 dport 0:65535
[all …]
H A Dep1.cfg14 sp ipv4 in esp protect 5 pri 1 dst 192.168.105.0/24 sport 0:65535 dport 0:65535
15 sp ipv4 in esp protect 6 pri 1 dst 192.168.106.0/24 sport 0:65535 dport 0:65535
16 sp ipv4 in esp protect 10 pri 1 dst 192.168.175.0/24 sport 0:65535 dport 0:65535
17 sp ipv4 in esp protect 11 pri 1 dst 192.168.176.0/24 sport 0:65535 dport 0:65535
18 sp ipv4 in esp protect 15 pri 1 dst 192.168.200.0/24 sport 0:65535 dport 0:65535
20 sp ipv4 in esp protect 25 pri 1 dst 192.168.55.0/24 sport 0:65535 dport 0:65535
21 sp ipv4 in esp protect 26 pri 1 dst 192.168.56.0/24 sport 0:65535 dport 0:65535
22 sp ipv4 in esp bypass pri 1 dst 192.168.240.0/24 sport 0:65535 dport 0:65535
23 sp ipv4 in esp bypass pri 1 dst 192.168.241.0/24 sport 0:65535 dport 0:65535
35 sp ipv4 out esp bypass pri 1 dst 192.168.245.0/24 sport 0:65535 dport 0:65535
[all …]
H A Dipsec_worker.c134 check_sp(struct sp_ctx *sp, const uint8_t *nlp, uint32_t *sa_idx) in check_sp() argument
138 if (unlikely(sp == NULL)) in check_sp()
141 rte_acl_classify((struct rte_acl_ctx *)sp, &nlp, &res, 1, in check_sp()
156 check_sp_bulk(struct sp_ctx *sp, struct traffic_type *ip, in check_sp_bulk() argument
162 if (unlikely(sp == NULL || ip->num == 0)) in check_sp_bulk()
165 rte_acl_classify((struct rte_acl_ctx *)sp, ip->data, ip->res, ip->num, in check_sp_bulk()
185 check_sp_sa_bulk(struct sp_ctx *sp, struct sa_ctx *sa_ctx, in check_sp_sa_bulk() argument
192 if (unlikely(sp == NULL || ip->num == 0)) in check_sp_sa_bulk()
195 rte_acl_classify((struct rte_acl_ctx *)sp, ip->data, ip->res, ip->num, in check_sp_sa_bulk()
/dpdk/app/test/
H A Dtest_meter.c64 struct rte_meter_srtcm_profile sp; in tm_test_srtcm_config() local
205 struct rte_meter_srtcm_profile sp; in tm_test_srtcm_color_blind_check() local
213 if (rte_meter_srtcm_config(&sm, &sp) != 0) in tm_test_srtcm_color_blind_check()
217 &sm, &sp, time, TM_TEST_SRTCM_CBS_DF - 1) in tm_test_srtcm_color_blind_check()
224 if (rte_meter_srtcm_config(&sm, &sp) != 0) in tm_test_srtcm_color_blind_check()
228 &sm, &sp, time, TM_TEST_SRTCM_CBS_DF + 1) in tm_test_srtcm_color_blind_check()
234 if (rte_meter_srtcm_config(&sm, &sp) != 0) in tm_test_srtcm_color_blind_check()
238 &sm, &sp, time, (uint32_t)sp.ebs - 1) != RTE_COLOR_YELLOW) in tm_test_srtcm_color_blind_check()
244 if (rte_meter_srtcm_config(&sm, &sp) != 0) in tm_test_srtcm_color_blind_check()
248 &sm, &sp, time, TM_TEST_SRTCM_EBS_DF + 1) in tm_test_srtcm_color_blind_check()
[all …]
/dpdk/drivers/event/skeleton/
H A Dskeleton_eventdev.c31 struct skeleton_port *sp = port; in skeleton_eventdev_enqueue() local
33 RTE_SET_USED(sp); in skeleton_eventdev_enqueue()
46 RTE_SET_USED(sp); in skeleton_eventdev_enqueue_burst()
60 RTE_SET_USED(sp); in skeleton_eventdev_dequeue()
73 RTE_SET_USED(sp); in skeleton_eventdev_dequeue_burst()
223 rte_free(sp); in skeleton_eventdev_port_release()
230 struct skeleton_port *sp; in skeleton_eventdev_port_setup() local
250 if (sp == NULL) { in skeleton_eventdev_port_setup()
255 sp->port_id = port_id; in skeleton_eventdev_port_setup()
272 RTE_SET_USED(sp); in skeleton_eventdev_port_link()
[all …]
/dpdk/examples/ipsec-secgw/test/
H A Dtun_aesgcm_common_defs.sh11 sp ipv4 in esp protect 7 pri 2 src ${REMOTE_IPV4}/32 dst ${LOCAL_IPV4}/32 \
13 sp ipv4 in esp bypass pri 1 sport 0:65535 dport 0:65535
16 sp ipv4 out esp protect 7 pri 2 src ${LOCAL_IPV4}/32 dst ${REMOTE_IPV4}/32 \
18 sp ipv4 out esp bypass pri 1 sport 0:65535 dport 0:65535
21 sp ipv6 in esp protect 9 pri 2 src ${REMOTE_IPV6}/128 dst ${LOCAL_IPV6}/128 \
23 sp ipv6 in esp bypass pri 1 sport 0:65535 dport 0:65535
28 sp ipv6 out esp bypass pri 1 sport 0:65535 dport 0:65535
69 sp ipv4 in esp bypass pri 1 sport 0:65535 dport 0:65535
74 sp ipv4 out esp bypass pri 1 sport 0:65535 dport 0:65535
79 sp ipv6 in esp bypass pri 1 sport 0:65535 dport 0:65535
[all …]
H A Dtun_aescbc_sha1_common_defs.sh11 sp ipv4 in esp protect 7 pri 2 src ${REMOTE_IPV4}/32 dst ${LOCAL_IPV4}/32 \
13 sp ipv4 in esp bypass pri 1 sport 0:65535 dport 0:65535
16 sp ipv4 out esp protect 7 pri 2 src ${LOCAL_IPV4}/32 dst ${REMOTE_IPV4}/32 \
18 sp ipv4 out esp bypass pri 1 sport 0:65535 dport 0:65535
21 sp ipv6 in esp protect 9 pri 2 src ${REMOTE_IPV6}/128 dst ${LOCAL_IPV6}/128 \
23 sp ipv6 in esp bypass pri 1 sport 0:65535 dport 0:65535
28 sp ipv6 out esp bypass pri 1 sport 0:65535 dport 0:65535
77 sp ipv4 in esp bypass pri 1 sport 0:65535 dport 0:65535
82 sp ipv4 out esp bypass pri 1 sport 0:65535 dport 0:65535
87 sp ipv6 in esp bypass pri 1 sport 0:65535 dport 0:65535
[all …]
H A Dtun_3descbc_sha1_common_defs.sh11 sp ipv4 in esp protect 7 pri 2 src ${REMOTE_IPV4}/32 dst ${LOCAL_IPV4}/32 \
13 sp ipv4 in esp bypass pri 1 sport 0:65535 dport 0:65535
16 sp ipv4 out esp protect 7 pri 2 src ${LOCAL_IPV4}/32 dst ${REMOTE_IPV4}/32 \
18 sp ipv4 out esp bypass pri 1 sport 0:65535 dport 0:65535
21 sp ipv6 in esp protect 9 pri 2 src ${REMOTE_IPV6}/128 dst ${LOCAL_IPV6}/128 \
23 sp ipv6 in esp bypass pri 1 sport 0:65535 dport 0:65535
28 sp ipv6 out esp bypass pri 1 sport 0:65535 dport 0:65535
81 sp ipv4 in esp bypass pri 1 sport 0:65535 dport 0:65535
86 sp ipv4 out esp bypass pri 1 sport 0:65535 dport 0:65535
91 sp ipv6 in esp bypass pri 1 sport 0:65535 dport 0:65535
[all …]
H A Dtun_aesctr_sha1_common_defs.sh11 sp ipv4 in esp protect 7 pri 2 src ${REMOTE_IPV4}/32 dst ${LOCAL_IPV4}/32 \
13 sp ipv4 in esp bypass pri 1 sport 0:65535 dport 0:65535
16 sp ipv4 out esp protect 7 pri 2 src ${LOCAL_IPV4}/32 dst ${REMOTE_IPV4}/32 \
18 sp ipv4 out esp bypass pri 1 sport 0:65535 dport 0:65535
21 sp ipv6 in esp protect 9 pri 2 src ${REMOTE_IPV6}/128 dst ${LOCAL_IPV6}/128 \
23 sp ipv6 in esp bypass pri 1 sport 0:65535 dport 0:65535
28 sp ipv6 out esp bypass pri 1 sport 0:65535 dport 0:65535
77 sp ipv4 in esp bypass pri 1 sport 0:65535 dport 0:65535
82 sp ipv4 out esp bypass pri 1 sport 0:65535 dport 0:65535
87 sp ipv6 in esp bypass pri 1 sport 0:65535 dport 0:65535
[all …]
H A Dtrs_aesgcm_common_defs.sh11 sp ipv4 in esp protect 7 pri 2 src ${REMOTE_IPV4}/32 dst ${LOCAL_IPV4}/32 \
13 sp ipv4 in esp bypass pri 1 sport 0:65535 dport 0:65535
16 sp ipv4 out esp protect 7 pri 2 src ${LOCAL_IPV4}/32 dst ${REMOTE_IPV4}/32 \
18 sp ipv4 out esp bypass pri 1 sport 0:65535 dport 0:65535
21 sp ipv6 in esp protect 9 pri 2 src ${REMOTE_IPV6}/128 dst ${LOCAL_IPV6}/128 \
23 sp ipv6 in esp bypass pri 1 sport 0:65535 dport 0:65535
26 sp ipv6 out esp protect 9 pri 2 src ${LOCAL_IPV6}/128 dst ${REMOTE_IPV6}/128 \
28 sp ipv6 out esp bypass pri 1 sport 0:65535 dport 0:65535
H A Dtrs_aescbc_sha1_common_defs.sh11 sp ipv4 in esp protect 7 pri 2 src ${REMOTE_IPV4}/32 dst ${LOCAL_IPV4}/32 \
13 sp ipv4 in esp bypass pri 1 sport 0:65535 dport 0:65535
16 sp ipv4 out esp protect 7 pri 2 src ${LOCAL_IPV4}/32 dst ${REMOTE_IPV4}/32 \
18 sp ipv4 out esp bypass pri 1 sport 0:65535 dport 0:65535
21 sp ipv6 in esp protect 9 pri 2 src ${REMOTE_IPV6}/128 dst ${LOCAL_IPV6}/128 \
23 sp ipv6 in esp bypass pri 1 sport 0:65535 dport 0:65535
26 sp ipv6 out esp protect 9 pri 2 src ${LOCAL_IPV6}/128 dst ${REMOTE_IPV6}/128 \
28 sp ipv6 out esp bypass pri 1 sport 0:65535 dport 0:65535
H A Dtrs_aesctr_sha1_common_defs.sh11 sp ipv4 in esp protect 7 pri 2 src ${REMOTE_IPV4}/32 dst ${LOCAL_IPV4}/32 \
13 sp ipv4 in esp bypass pri 1 sport 0:65535 dport 0:65535
16 sp ipv4 out esp protect 7 pri 2 src ${LOCAL_IPV4}/32 dst ${REMOTE_IPV4}/32 \
18 sp ipv4 out esp bypass pri 1 sport 0:65535 dport 0:65535
21 sp ipv6 in esp protect 9 pri 2 src ${REMOTE_IPV6}/128 dst ${LOCAL_IPV6}/128 \
23 sp ipv6 in esp bypass pri 1 sport 0:65535 dport 0:65535
26 sp ipv6 out esp protect 9 pri 2 src ${LOCAL_IPV6}/128 dst ${REMOTE_IPV6}/128 \
28 sp ipv6 out esp bypass pri 1 sport 0:65535 dport 0:65535
H A Dtrs_3descbc_sha1_common_defs.sh11 sp ipv4 in esp protect 7 pri 2 src ${REMOTE_IPV4}/32 dst ${LOCAL_IPV4}/32 \
13 sp ipv4 in esp bypass pri 1 sport 0:65535 dport 0:65535
16 sp ipv4 out esp protect 7 pri 2 src ${LOCAL_IPV4}/32 dst ${REMOTE_IPV4}/32 \
18 sp ipv4 out esp bypass pri 1 sport 0:65535 dport 0:65535
21 sp ipv6 in esp protect 9 pri 2 src ${REMOTE_IPV6}/128 dst ${LOCAL_IPV6}/128 \
23 sp ipv6 in esp bypass pri 1 sport 0:65535 dport 0:65535
26 sp ipv6 out esp protect 9 pri 2 src ${LOCAL_IPV6}/128 dst ${REMOTE_IPV6}/128 \
28 sp ipv6 out esp bypass pri 1 sport 0:65535 dport 0:65535
H A Dbypass_defs.sh11 sp ipv4 in esp bypass pri 1 sport 0:65535 dport 0:65535
12 sp ipv6 in esp bypass pri 1 sport 0:65535 dport 0:65535
14 sp ipv4 out esp bypass pri 1 sport 0:65535 dport 0:65535
15 sp ipv6 out esp bypass pri 1 sport 0:65535 dport 0:65535
/dpdk/drivers/net/softnic/
H A Drte_eth_softnic_tm.c232 return sp; in tm_shaper_profile_search()
961 if (sp) in shaper_profile_check()
1039 if (sp == NULL) in pmd_tm_shaper_profile_add()
1048 memcpy(&sp->params, profile, sizeof(sp->params)); in pmd_tm_shaper_profile_add()
1068 if (sp == NULL) in pmd_tm_shaper_profile_delete()
1086 free(sp); in pmd_tm_shaper_profile_delete()
1122 if (memcmp(&t->subport_profile[i], sp, sizeof(*sp)) == 0) { in subport_profile_exists()
1464 sp == NULL) in node_add_check_port()
2398 sp, sizeof(*sp)); in subport_profile_install()
2422 memset(sp, 0, sizeof(*sp)); in subport_profile_build()
[all …]
/dpdk/drivers/raw/cnxk_gpio/
H A Dcnxk_gpio_irq.c26 uint64_t sp; member
163 void *sp; in cnxk_gpio_irq_request() local
168 sp = cnxk_gpio_irq_stack_alloc(cpu); in cnxk_gpio_irq_request()
169 if (!sp) { in cnxk_gpio_irq_request()
175 data.sp = (uint64_t)sp; in cnxk_gpio_irq_request()
/dpdk/drivers/common/iavf/
H A Diavf_osdep.h186 iavf_init_spinlock_d(struct iavf_spinlock *sp) in iavf_init_spinlock_d() argument
188 rte_spinlock_init(&sp->spinlock); in iavf_init_spinlock_d()
192 iavf_acquire_spinlock_d(struct iavf_spinlock *sp) in iavf_acquire_spinlock_d() argument
194 rte_spinlock_lock(&sp->spinlock); in iavf_acquire_spinlock_d()
198 iavf_release_spinlock_d(struct iavf_spinlock *sp) in iavf_release_spinlock_d() argument
200 rte_spinlock_unlock(&sp->spinlock); in iavf_release_spinlock_d()
204 iavf_destroy_spinlock_d(__rte_unused struct iavf_spinlock *sp) in iavf_destroy_spinlock_d() argument
H A Diavf_prototype.h78 void iavf_init_spinlock(struct iavf_spinlock *sp);
79 void iavf_acquire_spinlock(struct iavf_spinlock *sp);
80 void iavf_release_spinlock(struct iavf_spinlock *sp);
81 void iavf_destroy_spinlock(struct iavf_spinlock *sp);
/dpdk/drivers/net/ice/base/
H A Dice_osdep.h215 ice_init_lock(struct ice_lock *sp) in ice_init_lock() argument
217 rte_spinlock_init(&sp->spinlock); in ice_init_lock()
221 ice_acquire_lock(struct ice_lock *sp) in ice_acquire_lock() argument
223 rte_spinlock_lock(&sp->spinlock); in ice_acquire_lock()
227 ice_release_lock(struct ice_lock *sp) in ice_release_lock() argument
229 rte_spinlock_unlock(&sp->spinlock); in ice_release_lock()
233 ice_destroy_lock(__rte_unused struct ice_lock *sp) in ice_destroy_lock() argument
/dpdk/examples/l3fwd/
H A Dlpm_route_parse.c100 char *s, *sp, *in[CB_FLD_MAX]; in lpm_parse_v6_rule() local
106 in[i] = strtok_r(s, dlm, &sp); in lpm_parse_v6_rule()
122 char *s, *sp, *in[CB_FLD_MAX]; in lpm_parse_v4_rule() local
128 in[i] = strtok_r(s, dlm, &sp); in lpm_parse_v4_rule()
H A Dem_route_parse.c43 char *s, *sp, *in[CB_FLD_MAX]; in em_parse_v6_rule() local
49 in[i] = strtok_r(s, dlm, &sp); in em_parse_v6_rule()
77 char *s, *sp, *in[CB_FLD_MAX]; in em_parse_v4_rule() local
83 in[i] = strtok_r(s, dlm, &sp); in em_parse_v4_rule()
/dpdk/drivers/net/ipn3ke/
H A Dipn3ke_tm.c223 struct ipn3ke_tm_shaper_profile *sp = NULL; in ipn3ke_hw_tm_shaper_profile_search() local
262 sp = &hw->vt_nodes[node_index].shaper_profile; in ipn3ke_hw_tm_shaper_profile_search()
285 return sp; in ipn3ke_hw_tm_shaper_profile_search()
755 struct ipn3ke_tm_shaper_profile *sp; in ipn3ke_tm_shaper_profile_add() local
759 if (!sp || (sp && sp->valid)) in ipn3ke_tm_shaper_profile_add()
808 sp, in ipn3ke_tm_shaper_profile_add()
816 sp->valid = 1; in ipn3ke_tm_shaper_profile_add()
817 rte_memcpy(&sp->params, profile, sizeof(sp->params)); in ipn3ke_tm_shaper_profile_add()
832 struct ipn3ke_tm_shaper_profile *sp; in ipn3ke_tm_shaper_profile_delete() local
836 if (!sp || (sp && !sp->valid)) in ipn3ke_tm_shaper_profile_delete()
[all …]
/dpdk/lib/sched/
H A Drte_sched.c909 status = rte_sched_subport_check_params(sp, in rte_sched_port_get_memory_footprint()
926 size1 += rte_sched_subport_get_array_base(sp, in rte_sched_port_get_memory_footprint()
1369 struct rte_sched_subport_profile *sp; in rte_sched_pipe_config() local
1408 sp = port->subport_profiles + s->profile; in rte_sched_pipe_config()
1416 / (double) sp->tc_period; in rte_sched_pipe_config()
1459 / (double) sp->tc_period; in rte_sched_pipe_config()
2269 tc_ov_consumption[i] = sp->tc_credits_per_period[i] in grinder_tc_ov_credits_update()
2275 sp->tc_credits_per_period[RTE_SCHED_TRAFFIC_CLASS_BE] - in grinder_tc_ov_credits_update()
2279 sp->tc_credits_per_period[RTE_SCHED_TRAFFIC_CLASS_BE] - in grinder_tc_ov_credits_update()
2313 subport->tb_time += n_periods * sp->tb_period; in grinder_credits_update()
[all …]
/dpdk/app/test-acl/
H A Dmain.c362 char *s, *sp, *in[CB_TRC_NUM]; in parse_cb_ipv4_trace() local
367 in[i] = strtok_r(s, dlm, &sp); in parse_cb_ipv4_trace()
445 char *s, *sp, *in[CB_TRC_NUM]; in parse_cb_ipv6_trace() local
450 in[i] = strtok_r(s, dlm, &sp); in parse_cb_ipv6_trace()
585 char *s, *sp, *in[CB_FLD_NUM]; in parse_cb_ipv6_rule() local
597 in[i] = strtok_r(s, dlm, &sp); in parse_cb_ipv6_rule()
680 char *s, *sp, *in[CB_FLD_NUM]; in parse_cb_ipv4_rule() local
692 in[i] = strtok_r(s, dlm, &sp); in parse_cb_ipv4_rule()
/dpdk/devtools/
H A Dcocci.sh24 $SPATCH --sp-file $c -c --linux-spacing --very-quiet \

123