/freebsd/sys/contrib/dpdk_rte_lpm/ |
H A D | rte_lpm.c | 64 rte_panic("LPM: Invalid depth (%u) at line %d", \ 108 * Find an existing lpm table and return a pointer to it. 137 * Allocates memory for LPM object 144 struct rte_lpm *lpm = NULL; in rte_lpm_create() local 163 mem_size = sizeof(*lpm); in rte_lpm_create() 173 lpm = te->data; in rte_lpm_create() 174 if (strncmp(name, lpm->name, RTE_LPM_NAMESIZE) == 0) in rte_lpm_create() 179 lpm = NULL; in rte_lpm_create() 187 RTE_LOG(ERR, LPM, "Failed to allocate tailq entry\n"); in rte_lpm_create() 193 /* Allocate memory to store the LPM data structures. */ in rte_lpm_create() [all …]
|
H A D | rte_lpm6.h | 19 /** Max number of characters in LPM name. */ 22 /** LPM structure. */ 32 /** LPM configuration structure. */ 43 * Create an LPM object. 46 * LPM object name 48 * NUMA socket ID for LPM table memory allocation 52 * Handle to LPM object on success, NULL otherwise with rte_errno set 66 * Find an existing LPM object and return a pointer to it. 69 * Name of the lpm object as passed to rte_lpm6_create() 71 * Pointer to lpm object or NULL if object not found with rte_errno [all …]
|
H A D | rte_lpm6.c | 92 /* LPM metadata. */ 93 char name[RTE_LPM6_NAMESIZE]; /**< Name of the lpm. */ 98 /* LPM Tables. */ 99 //struct rte_hash *rules_tbl; /**< LPM rules. */ 101 __rte_cache_aligned; /**< LPM tbl24 table. */ 109 __rte_cache_aligned; /**< LPM tbl8 table. */ 162 tbl8_pool_init(struct rte_lpm6 *lpm) in tbl8_pool_init() argument 167 for (i = 0; i < lpm->number_tbl8s; i++) in tbl8_pool_init() 168 lpm->tbl8_pool[i] = i; in tbl8_pool_init() 170 lpm->tbl8_pool_pos = 0; in tbl8_pool_init() [all …]
|
H A D | rte_lpm.h | 10 * RTE Longest Prefix Match (LPM) 31 /** Max number of characters in LPM name. */ 34 /** Maximum depth value possible for IPv4 LPM. */ 104 /** LPM configuration structure. */ 130 /** @internal LPM structure. */ 132 /* LPM metadata. */ 134 char name[RTE_LPM_NAMESIZE]; /**< Name of the lpm. */ 135 uint32_t max_rules; /**< Max. balanced rules per lpm. */ 139 /* LPM Tables. */ 141 __rte_cache_aligned; /**< LPM tbl24 table. */ [all …]
|
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() 87 rte_ext = (const struct rte_lpm_external *)lpm; in lookup_ptr() 89 ret = rte_lpm_lookup(lpm, ntohl(key.addr4.s_addr), &nhidx); in lookup_ptr() 119 rte_ext = (struct rte_lpm_external *)dd->lpm; in handle_default_change() 184 ret = rte_lpm_add(dd->lpm, ip, plen, nhidx); in handle_gu_change() 198 ret = rte_lpm_delete(dd->lpm, ip, plen, parent_plen, parent_nhop_idx); in handle_gu_change() 241 if (dd->lpm != NULL) in destroy_table() 242 rte_lpm_free(dd->lpm); in destroy_table() [all …]
|
H A D | dpdk_lpm6.h | 38 /** LPM structure. */ 41 /** LPM configuration structure. */ 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: 17 description: Indicates if we don't want to enable USB2 HW LPM 20 usb3-lpm-capable: 21 description: Determines if platform is USB3 LPM capable 46 usb2-lpm-disable; 47 usb3-lpm-capable;
|
H A D | dwc3.txt | 39 - snps,usb2-lpm-disable: indicate if we don't want to enable USB2 HW LPM 40 - snps,usb3_lpm_capable: determines if platform is USB3 LPM capable 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 | 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 | 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 | 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 | snps,dwc3.yaml | 112 snps,usb2-lpm-disable: 113 description: Indicate if we don't want to enable USB2 HW LPM for host 118 description: Determines if platform is USB3 LPM capable 121 snps,usb2-gadget-lpm-disable: 122 description: Indicate if we don't want to enable USB2 HW LPM for gadget 138 snps,has-lpm-erratum: 139 description: True when DWC3 was configured with LPM Erratum enabled 142 snps,lpm-nyet-threshold: 143 description: LPM NYET threshold 257 snps,gfladj-refclk-lpm-sel-quirk:
|
H A D | mediatek,mtk-xhci.yaml | 118 usb3-lpm-capable: true 120 usb2-lpm-disable: true 225 usb3-lpm-capable;
|
H A D | starfive,jh7110-usb.yaml | 47 - const: lpm 97 clock-names = "lpm", "stb", "apb", "axi", "utmi_apb";
|
H A D | fsl,imx8qm-cdns3.yaml | 39 - const: lpm 81 clock-names = "lpm", "bus", "aclk", "ipg", "core";
|
H A D | ti,j721e-usb.yaml | 40 - const: lpm 90 clock-names = "ref", "lpm";
|
/freebsd/tests/sys/netinet/ |
H A D | lpm.sh | 59 atf_set descr 'Test IPv4 LPM for /30 and /31' 93 echo "LPM failure: 1: ${pkt_0} 2: ${pkt_1} (should be ${count})" 102 echo "LPM failure: 1: ${pkt_0} (should be ${count}) 2: ${pkt_1}" 118 atf_set descr 'Test IPv4 LPM for the host routes' 152 echo "LPM failure: 1: ${pkt_0} (should be ${count}) 2: ${pkt_1}" 161 echo "LPM failure: 1: ${pkt_0} 2: ${pkt_1} (should be ${count})"
|
/freebsd/tests/sys/netinet6/ |
H A D | lpm6.sh | 68 atf_set descr 'Test IPv6 LPM for the host routes' 106 echo "LPM failure: 1: ${pkt_0} (should be ${count}) 2: ${pkt_1}" 115 echo "LPM failure: 1: ${pkt_0} 2: ${pkt_1} (should be ${count})" 131 atf_set descr 'Test IPv6 LPM for /126 and /127' 169 echo "LPM failure: 1: ${pkt_0} 2: ${pkt_1} (should be ${count})" 178 echo "LPM failure: 1: ${pkt_0} (should be ${count}) 2: ${pkt_1}"
|
/freebsd/contrib/llvm-project/llvm/lib/Passes/ |
H A D | PassBuilderPipelines.cpp | 337 LoopPassManager &LPM, OptimizationLevel Level) { in invokeLateLoopOptimizationsEPCallbacks() argument 339 C(LPM, Level); in invokeLateLoopOptimizationsEPCallbacks() 341 void PassBuilder::invokeLoopOptimizerEndEPCallbacks(LoopPassManager &LPM, in invokeLoopOptimizerEndEPCallbacks() argument 344 C(LPM, Level); in invokeLoopOptimizerEndEPCallbacks() 1246 // We do UnrollAndJam in a separate LPM to ensure it happens before unroll in addVectorPasses() 1282 LoopPassManager LPM; in addVectorPasses() local 1283 LPM.addPass(LICMPass(PTO.LicmMssaOptCap, PTO.LicmMssaNoAccForPromotionCap, in addVectorPasses() 1285 LPM.addPass(SimpleLoopUnswitchPass(/* NonTrivial */ Level == in addVectorPasses() 1288 createFunctionToLoopPassAdaptor(std::move(LPM), /*UseMemorySSA=*/true, in addVectorPasses() 1337 // We do UnrollAndJam in a separate LPM to ensure it happens before unroll in addVectorPasses() [all …]
|
/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>;
|
H A D | qcom,spmi-regulator.txt | 229 between HPM and LPM); not available on boost type 233 to as NPM. HPM consumes more ground current than LPM, but 239 0 = Set initial mode to low power mode (LPM).
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/ |
H A D | LoopPassManager.h | 220 /// Loop pass, and Loop passes should use it to update LPM infrastructure if 470 LoopPassManager LPM; 471 LPM.addPass(std::forward<LoopNestPassT>(Pass)); 479 new PassModelT(std::move(LPM))), 488 LoopPassManager &&LPM, bool UseMemorySSA, bool UseBlockFrequencyInfo, 490 // Check if LPM contains any loop pass and if it does not, returns an adaptor 495 bool LoopNestMode = (LPM.getNumLoopPasses() == 0); 500 new PassModelT(std::move(LPM))),
|
/freebsd/sys/contrib/device-tree/src/arm64/ti/ |
H A D | k3-am62p-main.dtsi | 30 snps,usb2-gadget-lpm-disable; 31 snps,usb2-lpm-disable;
|
/freebsd/sys/contrib/device-tree/Bindings/display/msm/ |
H A D | hdmi.txt | 26 - qcom,hdmi-tx-mux-lpm-gpios: hdmi mux lpm pin
|
/freebsd/sys/contrib/device-tree/src/arm64/mediatek/ |
H A D | mt8195-evb.dts | 187 * Disable usb2 lpm to prevent known issues. 189 usb2-lpm-disable;
|