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.c144 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()
194 lpm = rte_zmalloc_socket(mem_name, mem_size, in rte_lpm_create()
196 if (lpm == NULL) { in rte_lpm_create()
203 lpm->rules_tbl = rte_zmalloc_socket(NULL, in rte_lpm_create()
206 if (lpm->rules_tbl == NULL) { in rte_lpm_create()
208 rte_free(lpm); in rte_lpm_create()
[all …]
H A Drte_lpm6.c162 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()
177 tbl8_get(struct rte_lpm6 *lpm, uint32_t *tbl8_ind) in tbl8_get() argument
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()
192 tbl8_put(struct rte_lpm6 *lpm, uint32_t tbl8_ind) in tbl8_put() argument
194 if (lpm->tbl8_pool_pos == 0) in tbl8_put()
198 lpm->tbl8_pool[--lpm->tbl8_pool_pos] = tbl8_ind; in tbl8_put()
[all …]
H A Drte_lpm.h191 rte_lpm_free(struct rte_lpm *lpm);
208 rte_lpm_add(struct rte_lpm *lpm, uint32_t ip, uint8_t depth, uint32_t next_hop);
226 rte_lpm_is_rule_present(struct rte_lpm *lpm, uint32_t ip, uint8_t depth,
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
278 RTE_LPM_RETURN_IF_TRUE(((lpm == NULL) || (next_hop == NULL)), -EINVAL); in rte_lpm_lookup()
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
[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()
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.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/src/arm64/ti/
H A Dk3-am62p-main.dtsi30 snps,usb2-gadget-lpm-disable;
31 snps,usb2-lpm-disable;
H A Dk3-am62-main.dtsi638 snps,usb2-gadget-lpm-disable;
639 snps,usb2-lpm-disable;
664 snps,usb2-gadget-lpm-disable;
665 snps,usb2-lpm-disable;
H A Dk3-am62a-main.dtsi657 snps,usb2-gadget-lpm-disable;
658 snps,usb2-lpm-disable;
683 snps,usb2-gadget-lpm-disable;
684 snps,usb2-lpm-disable;
H A Dk3-j722s-main.dtsi130 clock-names = "ref", "lpm";
/freebsd/sys/contrib/device-tree/Bindings/usb/
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 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
/freebsd/sys/contrib/device-tree/src/arm64/mediatek/
H A Dmt8195-evb.dts187 * Disable usb2 lpm to prevent known issues.
189 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/sys/contrib/device-tree/Bindings/display/msm/
H A Dhdmi.txt26 - qcom,hdmi-tx-mux-lpm-gpios: hdmi mux lpm pin
/freebsd/tests/sys/netinet/
H A DMakefile26 lpm \
/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/pinctrl/
H A Dpinctrl-max77620.txt38 gpio, lpm-control-in, fps-out, 32k-out, sd0-dvs-in, sd1-dvs-in,
/freebsd/sys/contrib/device-tree/src/arm64/freescale/
H A Dfsl-ls1046a.dtsi730 usb3-lpm-capable;
741 usb3-lpm-capable;
752 usb3-lpm-capable;
H A Dfsl-ls1043a.dtsi814 usb3-lpm-capable;
826 usb3-lpm-capable;
838 usb3-lpm-capable;
/freebsd/sys/contrib/device-tree/src/arm/microchip/
H A Dat91-sama5d27_wlsom1.dtsi87 lpm-gpios = <&pioBU 0 GPIO_ACTIVE_LOW>;
/freebsd/sys/contrib/device-tree/src/arm/st/
H A Dstih407-family.dtsi291 syscfg_lpm: lpm-syscfg@94b5100 {
292 compatible = "st,stih407-lpm-syscfg", "syscon";

123