/freebsd/sys/contrib/dpdk_rte_lpm/ |
H A D | rte_lpm.c | 179 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 D | rte_lpm6.c | 179 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 D | rte_lpm.h | 191 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 D | rte_lpm6.h | 87 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 D | dpdk_lpm.c | 65 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 D | dpdk_lpm6.h | 52 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 D | usb-xhci.yaml | 16 usb2-lpm-disable: 20 usb3-lpm-capable: 46 usb2-lpm-disable; 47 usb3-lpm-capable;
|
H A D | mediatek,mtk-xhci.txt | 50 - 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 D | hisilicon,histb-xhci.txt | 26 - 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 D | usb-xhci.txt | 26 - 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 D | fsl,imx8qm-cdns3.yaml | 39 - const: lpm 81 clock-names = "lpm", "bus", "aclk", "ipg", "core";
|
H A D | starfive,jh7110-usb.yaml | 47 - const: lpm 97 clock-names = "lpm", "stb", "apb", "axi", "utmi_apb";
|
H A D | ti,j721e-usb.yaml | 41 - const: lpm 91 clock-names = "ref", "lpm";
|
H A D | mediatek,mtk-xhci.yaml | 117 usb3-lpm-capable: true 119 usb2-lpm-disable: true 224 usb3-lpm-capable;
|
H A D | dwc3.txt | 39 - 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 D | snps,dwc3.yaml | 111 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 D | mt8195-evb.dts | 177 * Disable usb2 lpm to prevent known issues. 179 usb2-lpm-disable;
|
/freebsd/sys/contrib/device-tree/Bindings/regulator/ |
H A D | mcp16502-regulator.txt | 6 - 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 D | Makefile | 24 lpm \
|
/freebsd/sys/contrib/device-tree/Bindings/display/msm/ |
H A D | hdmi.txt | 26 - qcom,hdmi-tx-mux-lpm-gpios: hdmi mux lpm pin
|
H A D | hdmi.yaml | 78 qcom,hdmi-tx-mux-lpm-gpios: 81 description: HDMI mux lpm pin
|
/freebsd/sys/contrib/device-tree/src/arm64/socionext/ |
H A D | uniphier-pxs3-ref-gadget1.dts | 27 snps,usb2-gadget-lpm-disable;
|
H A D | uniphier-pxs3-ref-gadget0.dts | 27 snps,usb2-gadget-lpm-disable;
|
/freebsd/sys/contrib/device-tree/Bindings/soc/sti/ |
H A D | st,sti-syscon.yaml | 24 - st,stih407-lpm-syscfg
|
/freebsd/sys/contrib/device-tree/Bindings/sound/ |
H A D | qcom,lpass-cpu.yaml | 223 - const: lpass-rxtx-cdc-dma-lpm 226 - const: lpass-va-cdc-dma-lpm
|