Home
last modified time | relevance | path

Searched refs:hwport (Results 1 – 2 of 2) sorted by relevance

/f-stack/freebsd/mips/nlm/dev/net/
H A Dnae.c588 if (offset > cfg[hwport].max_stg2_offset) in config_egress_fifo_carvings()
589 offset = cfg[hwport].max_stg2_offset; in config_egress_fifo_carvings()
607 if (offset > cfg[hwport].max_eh_offset) in config_egress_fifo_carvings()
608 offset = cfg[hwport].max_eh_offset; in config_egress_fifo_carvings()
627 offset = cfg[hwport].max_frout_offset; in config_egress_fifo_carvings()
645 if (offset > cfg[hwport].max_ms_offset) in config_egress_fifo_carvings()
646 offset = cfg[hwport].max_ms_offset; in config_egress_fifo_carvings()
664 if (offset > cfg[hwport].max_pmem_offset) in config_egress_fifo_carvings()
665 offset = cfg[hwport].max_pmem_offset; in config_egress_fifo_carvings()
902 (hwport & 0x1f); in nlm_setup_l3ctable_mask()
[all …]
H A Dxlpge.c274 int context_base, int hwport, int max_channels) in nlm_config_egress() argument
279 num_channels = sc->portcfg[hwport].num_channels; in nlm_config_egress()
281 data = (2048 << 12) | (hwport << 4) | 1; in nlm_config_egress()
285 (context_base << 12) | (hwport << 4) | 1; in nlm_config_egress()
288 config_egress_fifo_carvings(sc->base, hwport, in nlm_config_egress()
290 config_egress_fifo_credits(sc->base, hwport, in nlm_config_egress()
300 data = (hwport << 15) | ((context_base + offset) << 5); in nlm_config_egress()