Home
last modified time | relevance | path

Searched refs:lb (Results 1 – 25 of 37) sorted by relevance

12

/f-stack/dpdk/examples/ip_pipeline/
H A Daction.c57 (params->lb.f_hash == NULL)) { in port_in_action_profile_create()
58 switch (params->lb.key_size) { in port_in_action_profile_create()
60 params->lb.f_hash = rte_table_hash_crc_key8; in port_in_action_profile_create()
64 params->lb.f_hash = rte_table_hash_crc_key16; in port_in_action_profile_create()
68 params->lb.f_hash = rte_table_hash_crc_key24; in port_in_action_profile_create()
95 params->lb.seed = 0; in port_in_action_profile_create()
116 &params->lb); in port_in_action_profile_create()
192 (params->lb.f_hash == NULL)) { in table_action_profile_create()
193 switch (params->lb.key_size) { in table_action_profile_create()
230 params->lb.seed = 0; in table_action_profile_create()
[all …]
H A Daction.h21 struct rte_port_in_action_lb_config lb; member
49 struct rte_table_action_lb_config lb; member
H A Dpipeline.h286 struct rte_table_action_lb_params lb; member
H A Dcli.c987 if (parser_read_uint32(&p.lb.key_offset, tokens[t0 + 2]) != 0) { in cmd_port_in_action_profile()
997 p.lb.key_size = RTE_PORT_IN_ACTION_LB_KEY_SIZE_MAX; in cmd_port_in_action_profile()
998 if (parse_hex_string(tokens[t0 + 4], p.lb.key_mask, &p.lb.key_size) != 0) { in cmd_port_in_action_profile()
1009 if (parser_read_uint32(&p.lb.port_id[i], tokens[t0 + 6 + i]) != 0) { in cmd_port_in_action_profile()
1121 if (parser_read_uint32(&p.lb.key_offset, tokens[t0 + 2]) != 0) { in cmd_table_action_profile()
1131 p.lb.key_size = RTE_PORT_IN_ACTION_LB_KEY_SIZE_MAX; in cmd_table_action_profile()
1132 if (parse_hex_string(tokens[t0 + 4], p.lb.key_mask, &p.lb.key_size) != 0) { in cmd_table_action_profile()
1142 if (parser_read_uint32(&p.lb.out_offset, tokens[t0 + 6]) != 0) { in cmd_table_action_profile()
3199 if (parser_read_uint32(&a->lb.out[i], tokens[i]) != 0) in parse_table_action_balance()
4938 for (i = 0; i < RTE_DIM(a->lb.out); i++) in table_rule_show()
[all …]
/f-stack/dpdk/drivers/net/softnic/
H A Drte_eth_softnic_action.c72 params->lb.f_hash == NULL) { in softnic_port_in_action_profile_create()
73 switch (params->lb.key_size) { in softnic_port_in_action_profile_create()
75 params->lb.f_hash = rte_table_hash_crc_key8; in softnic_port_in_action_profile_create()
79 params->lb.f_hash = rte_table_hash_crc_key16; in softnic_port_in_action_profile_create()
83 params->lb.f_hash = rte_table_hash_crc_key24; in softnic_port_in_action_profile_create()
110 params->lb.seed = 0; in softnic_port_in_action_profile_create()
132 &params->lb); in softnic_port_in_action_profile_create()
223 params->lb.f_hash == NULL) { in softnic_table_action_profile_create()
224 switch (params->lb.key_size) { in softnic_table_action_profile_create()
261 params->lb.seed = 0; in softnic_table_action_profile_create()
[all …]
H A Drte_eth_softnic_internals.h319 struct rte_port_in_action_lb_config lb; member
337 struct rte_table_action_lb_config lb; member
966 struct rte_table_action_lb_params lb; member
H A Drte_eth_softnic_flow.c1326 if (conf->queue_num > RTE_DIM(rule_action->lb.out)) in flow_rule_action_get()
1350 if (params->lb.out_offset != in flow_rule_action_get()
1391 rule_action->lb.out[i] = port_id; in flow_rule_action_get()
1394 for ( ; i < RTE_DIM(rule_action->lb.out); i++) in flow_rule_action_get()
1395 rule_action->lb.out[i] = in flow_rule_action_get()
1396 rule_action->lb.out[i % conf->queue_num]; in flow_rule_action_get()
H A Drte_eth_softnic_cli.c1682 if (softnic_parser_read_uint32(&p.lb.key_offset, in cmd_port_in_action_profile()
1693 p.lb.key_size = RTE_PORT_IN_ACTION_LB_KEY_SIZE_MAX; in cmd_port_in_action_profile()
1695 p.lb.key_mask, &p.lb.key_size) != 0) { in cmd_port_in_action_profile()
1706 if (softnic_parser_read_uint32(&p.lb.port_id[i], in cmd_port_in_action_profile()
1821 if (softnic_parser_read_uint32(&p.lb.key_offset, in cmd_table_action_profile()
1832 p.lb.key_size = RTE_PORT_IN_ACTION_LB_KEY_SIZE_MAX; in cmd_table_action_profile()
1834 p.lb.key_mask, &p.lb.key_size) != 0) { in cmd_table_action_profile()
1844 if (softnic_parser_read_uint32(&p.lb.out_offset, in cmd_table_action_profile()
3902 if (softnic_parser_read_uint32(&a->lb.out[i], tokens[i]) != 0) in parse_table_action_balance()
/f-stack/freebsd/sys/
H A Dstats.h224 struct voistatdata_numeric lb; member
233 struct voistatdata_numeric lb; member
242 struct voistatdata_numeric lb, ub; member
251 struct voistatdata_numeric lb, ub; member
369 struct voistatdata_numeric lb; member
386 struct voistatdata_numeric lb, ub; member
512 .lb = stats_ctor_vsd_numeric(lbd), \
517 #define STATS_VSS_CRHIST32_LIN(lb, ub, stepinc, vsdflags) \ argument
520 #define STATS_VSS_CRHIST64_LIN(lb, ub, stepinc, vsdflags) \ argument
560 #define DRBKT(lb, ub) { stats_ctor_vsd_numeric(lb), stats_ctor_vsd_numeric(ub) } argument
[all …]
/f-stack/dpdk/drivers/compress/qat/
H A Dqat_comp_pmd.c257 int lb; in qat_comp_setup_inter_buffers() local
269 for (lb = 0; lb < QAT_NUM_BUFS_IN_IM_SGL; lb++) { in qat_comp_setup_inter_buffers()
270 sgl->buffers[lb].addr = in qat_comp_setup_inter_buffers()
272 (((i * QAT_NUM_BUFS_IN_IM_SGL) + lb) * buff_size); in qat_comp_setup_inter_buffers()
273 sgl->buffers[lb].len = buff_size; in qat_comp_setup_inter_buffers()
274 sgl->buffers[lb].resrvd = 0; in qat_comp_setup_inter_buffers()
278 lb, sgl->buffers[lb].addr, sgl->buffers[lb].len); in qat_comp_setup_inter_buffers()
/f-stack/app/redis-5.0.5/deps/jemalloc/src/
H A Dbackground_thread.c155 size_t lb = BACKGROUND_THREAD_MIN_INTERVAL_NS / decay_interval_ns;
158 lb = (lb < 2) ? 2 : lb;
160 (lb + 2 > ub)) {
165 assert(lb + 2 <= ub);
167 npurge_lb = decay_npurge_after_interval(decay, lb);
169 interval = decay_interval_ns * lb;
181 && (lb + 2 < ub)) {
182 target = (lb + ub) / 2;
188 lb = target;
193 interval = decay_interval_ns * (ub + lb) / 2;
/f-stack/app/redis-5.0.5/utils/hashtable/
H A Drehashing.c64 unsigned long la, lb; in sortPointers() local
67 lb = (long) (*((dictEntry**)b)); in sortPointers()
68 return la-lb; in sortPointers()
/f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_aead/aes256gcm/aesni/
H A Daead_aes256gcm_aesni.c583 const int lb = iter * 16; \ in crypto_aead_aes256gcm_encrypt_detached_afternm()
585 for (i = mlen_rnd128; i < mlen; i += lb) { \ in crypto_aead_aes256gcm_encrypt_detached_afternm()
587 unsigned long long mj = lb; \ in crypto_aead_aes256gcm_encrypt_detached_afternm()
712 const int lb = iter * 16; \ in crypto_aead_aes256gcm_decrypt_detached_afternm()
713 for (i = 0; i < mlen_rnd128; i += lb) { \ in crypto_aead_aes256gcm_decrypt_detached_afternm()
731 const int lb = iter * 16; \ in crypto_aead_aes256gcm_decrypt_detached_afternm()
733 for (i = mlen_rnd128; i < mlen; i += lb) { \ in crypto_aead_aes256gcm_decrypt_detached_afternm()
734 unsigned long long mj = lb; \ in crypto_aead_aes256gcm_decrypt_detached_afternm()
753 const int lb = iter * 16; \ in crypto_aead_aes256gcm_decrypt_detached_afternm()
755 for (i = mlen_rnd128; i < mlen; i += lb) { \ in crypto_aead_aes256gcm_decrypt_detached_afternm()
[all …]
/f-stack/freebsd/kern/
H A Dsubr_stats.c603 info->lb = info->usr.bkts[0].lb;
609 bkt_ub = info->lb;
717 bkt_ub = info->lb;
795 Q_GCVAL(info->lb.q32.sq32));
800 Q_GCVAL(info->lb.q64.sq64));
803 *lbinfbktub = info->lb;
812 Q_GCVAL(info->lb.q32.sq32));
1834 bkts[i].lb);
1844 bkts[i].lb);
3076 void *closest, *cur, *lb, *ub; local
[all …]
/f-stack/dpdk/drivers/net/octeontx2/
H A Dotx2_lookup.c99 uint8_t lb, lc, ld, le; in nix_create_non_tunnel_ptype_array() local
104 lb = idx & 0xF; in nix_create_non_tunnel_ptype_array()
110 switch (lb) { in nix_create_non_tunnel_ptype_array()
/f-stack/dpdk/lib/librte_pipeline/
H A Drte_port_in_action.c111 struct rte_port_in_action_lb_config lb; member
136 return &ap_config->lb; in action_cfg_get()
311 lb_init(data, &action->cfg.lb); in action_data_init()
461 struct rte_port_in_action_lb_config *cfg = &action->cfg.lb; in ah_lb()
H A Drte_table_action.c2220 struct rte_table_action_lb_config lb; member
2261 return &ap_config->lb; in action_cfg_get()
2914 &cfg->lb); in pkt_work()
3091 &cfg->lb); in pkt4_work()
3095 &cfg->lb); in pkt4_work()
3099 &cfg->lb); in pkt4_work()
3103 &cfg->lb); in pkt4_work()
/f-stack/freebsd/net/
H A Dif_lagg.c1760 struct lagg_lb *lb; in lookup_snd_tag_port() local
1776 lp = lb->lb_ports[p]; in lookup_snd_tag_port()
2437 struct lagg_lb *lb; in lagg_lb_attach() local
2442 sc->sc_psc = lb; in lagg_lb_attach()
2451 struct lagg_lb *lb; in lagg_lb_detach() local
2453 lb = (struct lagg_lb *)sc->sc_psc; in lagg_lb_detach()
2454 if (lb != NULL) in lagg_lb_detach()
2455 free(lb, M_LAGG); in lagg_lb_detach()
2466 bzero(&lb->lb_ports, sizeof(lb->lb_ports)); in lagg_lb_porttable()
2478 lb->lb_ports[i++] = lp_next; in lagg_lb_porttable()
[all …]
/f-stack/app/redis-5.0.5/deps/lua/src/
H A Dloadlib.c99 char *lb; in setprogdir() local
102 if (n == 0 || n == nsize || (lb = strrchr(buff, '\\')) == NULL) in setprogdir()
105 *lb = '\0'; in setprogdir()
/f-stack/freebsd/mips/mips/
H A Dbcopy.S158 lb t3,0(SRCREG)
252 lb t3,-1(SRCREG)
/f-stack/dpdk/drivers/common/octeontx2/hw/
H A Dotx2_npc.h444 uint64_t lb : 12; member
470 uint64_t lb : 20; member
/f-stack/freebsd/contrib/openzfs/module/lua/
H A Dlparser.c369 Labeldesc *lb = &dyd->label.arr[i]; in findlabel() local
370 if (luaS_eqstr(lb->name, gt->name)) { /* correct label? */ in findlabel()
371 if (gt->nactvar > lb->nactvar && in findlabel()
373 luaK_patchclose(ls->fs, gt->pc, lb->nactvar); in findlabel()
374 closegoto(ls, g, lb); /* close it */ in findlabel()
400 static void findgotos (LexState *ls, Labeldesc *lb) { in findgotos() argument
404 if (luaS_eqstr(gl->arr[i].name, lb->name)) in findgotos()
405 closegoto(ls, i, lb); in findgotos()
/f-stack/app/redis-5.0.5/deps/jemalloc/build-aux/
H A Dconfig.sub255 | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
/f-stack/dpdk/drivers/net/mlx4/
H A Dmlx4_rxtx.h112 uint32_t lb:1; /**< Whether packets should be looped back by eSwitch. */ member
/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Darc.c10218 l2arc_hdr_restore(&lb->lb_entries[i], dev); in l2arc_log_blk_restore()
10316 l2arc_log_blk_phys_t *lb) in l2arc_log_blk_fetch() argument
10411 tmpbuf = zio_buf_alloc(sizeof (*lb)); in l2arc_log_blk_commit()
10413 abd_buf->abd = abd_get_from_buf(lb, sizeof (*lb)); in l2arc_log_blk_commit()
10418 lb->lb_prev_lbp = l2dhdr->dh_start_lbps[1]; in l2arc_log_blk_commit()
10419 lb->lb_magic = L2ARC_LOG_BLK_MAGIC; in l2arc_log_blk_commit()
10430 abd_buf->abd, tmpbuf, sizeof (*lb), 0); in l2arc_log_blk_commit()
10435 ASSERT(asize <= sizeof (*lb)); in l2arc_log_blk_commit()
10455 if (asize < sizeof (*lb)) { in l2arc_log_blk_commit()
10463 bcopy(lb, tmpbuf, sizeof (*lb)); in l2arc_log_blk_commit()
[all …]

12