Home
last modified time | relevance | path

Searched refs:lpm (Results 1 – 25 of 58) sorted by relevance

123

/freebsd/sys/contrib/dpdk_rte_lpm/
H A Drte_lpm.c179 lpm = NULL; in rte_lpm_create()
209 lpm = NULL; in rte_lpm_create()
231 strlcpy(lpm->name, name, sizeof(lpm->name)); in rte_lpm_create()
240 return lpm; in rte_lpm_create()
348 lpm->rules_tbl[lpm->rule_info[i - 1].first_rule
377 lpm->rules_tbl[lpm->rule_info[depth - 1].first_rule
382 lpm->rules_tbl[lpm->rule_info[i].first_rule - 1] =
383 lpm->rules_tbl[lpm->rule_info[i].first_rule
1099 memset(lpm->tbl24, 0, sizeof(lpm->tbl24)); in rte_lpm_delete_all()
1102 memset(lpm->tbl8, 0, sizeof(lpm->tbl8[0]) in rte_lpm_delete_all()
[all …]
H A Drte_lpm6.c179 if (lpm->tbl8_pool_pos == lpm->number_tbl8s) in tbl8_get()
184 *tbl8_ind = lpm->tbl8_pool[lpm->tbl8_pool_pos++]; in tbl8_get()
198 lpm->tbl8_pool[--lpm->tbl8_pool_pos] = tbl8_ind; in tbl8_put()
208 return lpm->number_tbl8s - lpm->tbl8_pool_pos; in tbl8_available()
315 mem_size = sizeof(*lpm) + (sizeof(lpm->tbl8[0]) * in rte_lpm6_create()
327 lpm = NULL; in rte_lpm6_create()
356 strlcpy(lpm->name, name, sizeof(lpm->name)); in rte_lpm6_create()
1114 memset(lpm->tbl24, 0, sizeof(lpm->tbl24));
1115 memset(lpm->tbl8, 0, sizeof(lpm->tbl8[0])
1138 memset(lpm->tbl24, 0, sizeof(lpm->tbl24));
[all …]
H A Drte_lpm.h191 rte_lpm_free(struct rte_lpm *lpm);
246 rte_lpm_delete(struct rte_lpm *lpm, uint32_t ip, uint8_t depth,
256 rte_lpm_delete_all(struct rte_lpm *lpm);
271 rte_lpm_lookup(struct rte_lpm *lpm, uint32_t ip, uint32_t *next_hop) in rte_lpm_lookup() argument
281 ptbl = (const uint32_t *)(&lpm->tbl24[tbl24_index]); in rte_lpm_lookup()
296 ptbl = (const uint32_t *)&lpm->tbl8[tbl8_index]; in rte_lpm_lookup()
324 #define rte_lpm_lookup_bulk(lpm, ips, next_hops, n) \ argument
325 rte_lpm_lookup_bulk_func(lpm, ips, next_hops, n)
336 RTE_LPM_RETURN_IF_TRUE(((lpm == NULL) || (ips == NULL) || in rte_lpm_lookup_bulk_func()
345 ptbl = (const uint32_t *)&lpm->tbl24[tbl24_indexes[i]]; in rte_lpm_lookup_bulk_func()
[all …]
H A Drte_lpm6.h87 rte_lpm6_free(struct rte_lpm6 *lpm);
104 rte_lpm6_add(struct rte_lpm6 *lpm, const uint8_t *ip, uint8_t depth,
123 rte_lpm6_is_rule_present(struct rte_lpm6 *lpm, const uint8_t *ip, uint8_t depth,
139 rte_lpm6_delete(struct rte_lpm6 *lpm, const uint8_t *ip, uint8_t depth,
157 rte_lpm6_delete_bulk_func(struct rte_lpm6 *lpm,
167 rte_lpm6_delete_all(struct rte_lpm6 *lpm);
182 rte_lpm6_lookup(const struct rte_lpm6 *lpm, const uint8_t *ip, uint32_t *next_hop);
201 rte_lpm6_lookup_bulk_func(const struct rte_lpm6 *lpm,
H A Ddpdk_lpm.c65 struct rte_lpm *lpm; member
81 struct rte_lpm *lpm; in lookup_ptr() local
86 lpm = (struct rte_lpm *)algo_data; in lookup_ptr()
241 if (dd->lpm != NULL) in destroy_table()
242 rte_lpm_free(dd->lpm); in destroy_table()
280 dd->lpm, abuf, plen, nhidx, ret); in add_route_cb()
313 dp->arg = dd->lpm; in check_dump_success()
335 struct rte_lpm *lpm; in build_table() local
348 lpm = rte_lpm_create("test", 0, &cfg); in build_table()
349 if (lpm == NULL) { in build_table()
[all …]
H A Ddpdk_lpm6.h52 rte_lpm6_free(struct rte_lpm6 *lpm);
54 rte_lpm6_add(struct rte_lpm6 *lpm, const uint8_t *ip, uint8_t depth,
/freebsd/sys/contrib/device-tree/Bindings/usb/
H A Dusb-xhci.yaml16 usb2-lpm-disable:
20 usb3-lpm-capable:
46 usb2-lpm-disable;
47 usb3-lpm-capable;
H A Dmediatek,mtk-xhci.txt50 - usb3-lpm-capable : supports USB3.0 LPM
75 usb3-lpm-capable;
108 - usb3-lpm-capable : supports USB3.0 LPM
120 usb3-lpm-capable;
H A Dhisilicon,histb-xhci.txt26 - usb2-lpm-disable: indicate if we don't want to enable USB2 HW LPM
27 - usb3-lpm-capable: determines if platform is USB3 LPM capable
H A Dusb-xhci.txt26 - usb2-lpm-disable: indicate if we don't want to enable USB2 HW LPM
27 - usb3-lpm-capable: determines if platform is USB3 LPM capable
H A Dfsl,imx8qm-cdns3.yaml39 - const: lpm
81 clock-names = "lpm", "bus", "aclk", "ipg", "core";
H A Dstarfive,jh7110-usb.yaml47 - const: lpm
97 clock-names = "lpm", "stb", "apb", "axi", "utmi_apb";
H A Dti,j721e-usb.yaml41 - const: lpm
91 clock-names = "ref", "lpm";
H A Dmediatek,mtk-xhci.yaml117 usb3-lpm-capable: true
119 usb2-lpm-disable: true
224 usb3-lpm-capable;
H A Ddwc3.txt39 - snps,usb2-lpm-disable: indicate if we don't want to enable USB2 HW LPM
46 - snps,has-lpm-erratum: true when DWC3 was configured with LPM Erratum enabled
47 - snps,lpm-nyet-threshold: LPM NYET threshold
H A Dsnps,dwc3.yaml111 snps,usb2-lpm-disable:
120 snps,usb2-gadget-lpm-disable:
137 snps,has-lpm-erratum:
141 snps,lpm-nyet-threshold:
256 snps,gfladj-refclk-lpm-sel-quirk:
/freebsd/sys/contrib/device-tree/src/arm64/mediatek/
H A Dmt8195-evb.dts177 * Disable usb2 lpm to prevent known issues.
179 usb2-lpm-disable;
/freebsd/sys/contrib/device-tree/Bindings/regulator/
H A Dmcp16502-regulator.txt6 - lpm-gpios: GPIO for LPM pin. Note that this GPIO *must* remain high during
34 lpm-gpios = <&pioBU 7 GPIO_ACTIVE_HIGH>;
/freebsd/tests/sys/netinet/
H A DMakefile24 lpm \
/freebsd/sys/contrib/device-tree/Bindings/display/msm/
H A Dhdmi.txt26 - qcom,hdmi-tx-mux-lpm-gpios: hdmi mux lpm pin
H A Dhdmi.yaml78 qcom,hdmi-tx-mux-lpm-gpios:
81 description: HDMI mux lpm pin
/freebsd/sys/contrib/device-tree/src/arm64/socionext/
H A Duniphier-pxs3-ref-gadget1.dts27 snps,usb2-gadget-lpm-disable;
H A Duniphier-pxs3-ref-gadget0.dts27 snps,usb2-gadget-lpm-disable;
/freebsd/sys/contrib/device-tree/Bindings/soc/sti/
H A Dst,sti-syscon.yaml24 - st,stih407-lpm-syscfg
/freebsd/sys/contrib/device-tree/Bindings/sound/
H A Dqcom,lpass-cpu.yaml223 - const: lpass-rxtx-cdc-dma-lpm
226 - const: lpass-va-cdc-dma-lpm

123