Home
last modified time | relevance | path

Searched full:lpm (Results 1 – 25 of 111) sorted by relevance

12345

/freebsd/sys/contrib/dpdk_rte_lpm/
H A Drte_lpm.c64 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 Drte_lpm6.h19 /** 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 Drte_lpm6.c92 /* 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 Drte_lpm.h10 * 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 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()
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 Ddpdk_lpm6.h38 /** 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 Dusb-xhci.yaml16 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 Ddwc3.txt39 - 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 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 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 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 Dsnps,dwc3.yaml112 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 Dmediatek,mtk-xhci.yaml118 usb3-lpm-capable: true
120 usb2-lpm-disable: true
225 usb3-lpm-capable;
H A Dstarfive,jh7110-usb.yaml47 - const: lpm
97 clock-names = "lpm", "stb", "apb", "axi", "utmi_apb";
H A Dfsl,imx8qm-cdns3.yaml39 - const: lpm
81 clock-names = "lpm", "bus", "aclk", "ipg", "core";
H A Dti,j721e-usb.yaml40 - const: lpm
90 clock-names = "ref", "lpm";
/freebsd/tests/sys/netinet/
H A Dlpm.sh59 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 Dlpm6.sh68 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 DPassBuilderPipelines.cpp337 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 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>;
H A Dqcom,spmi-regulator.txt229 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 DLoopPassManager.h220 /// 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 Dk3-am62p-main.dtsi30 snps,usb2-gadget-lpm-disable;
31 snps,usb2-lpm-disable;
/freebsd/sys/contrib/device-tree/Bindings/display/msm/
H A Dhdmi.txt26 - qcom,hdmi-tx-mux-lpm-gpios: hdmi mux lpm pin
/freebsd/sys/contrib/device-tree/src/arm64/mediatek/
H A Dmt8195-evb.dts187 * Disable usb2 lpm to prevent known issues.
189 usb2-lpm-disable;

12345