| /linux/tools/testing/selftests/drivers/net/ |
| H A D | ping.py | 14 def _test_v4(cfg) -> None: argument 15 if not cfg.addr_v["4"]: 18 cmd("ping -c 1 -W0.5 " + cfg.remote_addr_v["4"]) 19 cmd("ping -c 1 -W0.5 " + cfg.addr_v["4"], host=cfg.remote) 20 cmd("ping -s 65000 -c 1 -W0.5 " + cfg.remote_addr_v["4"]) 21 cmd("ping -s 65000 -c 1 -W0.5 " + cfg.addr_v["4"], host=cfg.remote) 23 def _test_v6(cfg) -> None: argument 24 if not cfg.addr_v["6"]: 27 cmd("ping -c 1 -W5 " + cfg.remote_addr_v["6"]) 28 cmd("ping -c 1 -W5 " + cfg.addr_v["6"], host=cfg.remote) [all …]
|
| H A D | psp.py | 33 def _send_with_ack(cfg, msg): 34 cfg.comm_sock.send(msg) 35 response = cfg.comm_sock.recv(4) argument 40 def _remote_read_len(cfg): argument 41 cfg.comm_sock.send(b'read len\0') 42 return int(cfg.comm_sock.recv(1024)[:-1].decode('utf-8')) 45 def _make_clr_conn(cfg, ipver=None): 46 _send_with_ack(cfg, b'conn clr\0') 47 remote_addr = cfg.remote_addr_v[ipver] if ipver else cfg argument 28 _send_with_ack(cfg, msg) global() argument 54 _close_conn(cfg, s) global() argument 59 _close_psp_conn(cfg, s) global() argument 72 _send_careful(cfg, s, rounds) global() argument 92 _check_data_rx(cfg, exp_len) global() argument 113 _get_stat(cfg, key) global() argument 120 _init_psp_dev(cfg) global() argument 143 dev_list_devices(cfg) global() argument 155 dev_get_device(cfg) global() argument 163 dev_get_device_bad(cfg) global() argument 174 dev_rotate(cfg) global() argument 189 dev_rotate_spi(cfg) global() argument 211 assoc_basic(cfg) global() argument 231 assoc_bad_dev(cfg) global() argument 243 assoc_sk_only_conn(cfg) global() argument 257 assoc_sk_only_mismatch(cfg) global() argument 272 assoc_sk_only_mismatch_tx(cfg) global() argument 290 assoc_sk_only_unconn(cfg) global() argument 303 assoc_version_mismatch(cfg) global() argument 329 assoc_twice(cfg) global() argument 363 _data_basic_send(cfg, version, ipver) global() argument 397 __bad_xfer_do(cfg, s, tx, version='hdr0-aes-gcm-128') global() argument 412 data_send_bad_key(cfg) global() argument 427 data_send_disconnect(cfg) global() argument 446 _data_mss_adjust(cfg, ipver) global() argument 485 data_stale_key(cfg) global() argument 519 __nsim_psp_rereg(cfg) global() argument 532 removal_device_rx(cfg) global() argument 552 removal_device_bi(cfg) global() argument 576 test_case(cfg) global() argument 586 test_case(cfg) global() argument [all...] |
| H A D | shaper.py | 15 def _delete_shaper(cfg, nl_shaper, handle) -> None: argument 18 nl_shaper.delete({'ifindex': cfg.ifindex, 24 def _require_queues(cfg, count): argument 26 qcnt = len(glob.glob(f"/sys/class/net/{cfg.ifname}/queues/tx-*")) 31 def _cap_get(cfg, nl_shaper, scope): argument 32 """ Return the shaper capabilities for the given scope, caching them on cfg. """ 33 if not hasattr(cfg, 'cap_cache'): 34 cfg.cap_cache = {} 35 if scope not in cfg.cap_cache: 36 cfg.cap_cache[scope] = nl_shaper.cap_get({'ifindex': cfg.ifindex, [all …]
|
| H A D | hds.py | 14 def _get_hds_mode(cfg, netnl) -> str: argument 16 rings = netnl.rings_get({'header': {'dev-index': cfg.ifindex}}) 24 def _xdp_onoff(cfg): argument 25 prog = cfg.net_lib_dir / "xdp_dummy.bpf.o" 27 (cfg.ifname, prog)) 28 ip("link set dev %s xdp off" % cfg.ifname) 31 def _ioctl_ringparam_modify(cfg, netnl) -> None: argument 37 rings = netnl.rings_get({'header': {'dev-index': cfg.ifindex}}) 45 ethtool(f"--disable-netlink -G {cfg.ifname} tx {rings['tx'] // 2}") 47 ethtool(f"--disable-netlink -G {cfg.ifname} tx {rings['tx'] * 2}") [all …]
|
| H A D | xdp.py | 58 def _exchg_udp(cfg, port, test_string): argument 63 cfg: Configuration object containing network settings. 70 cfg.require_cmd("socat", remote=True) 72 rx_udp_cmd = f"socat -{cfg.addr_ipver} -T 2 -u UDP-RECV:{port},reuseport STDOUT" 73 tx_udp_cmd = f"echo -n {test_string} | socat -t 2 -u STDIN UDP:{cfg.baddr}:{port},shut-none" 77 cmd(tx_udp_cmd, host=cfg.remote, shell=True) 82 def _test_udp(cfg, port, size=256): argument 87 cfg: Configuration object containing network settings. 95 recvd_str = _exchg_udp(cfg, port, test_str) 100 def _load_xdp_prog(cfg, bpf_info): argument [all …]
|
| /linux/drivers/media/platform/samsung/exynos-gsc/ |
| H A D | gsc-regs.c | 22 u32 cfg; in gsc_wait_reset() local 25 cfg = readl(dev->regs + GSC_SW_RESET); in gsc_wait_reset() 26 if (!cfg) in gsc_wait_reset() 36 u32 cfg; in gsc_hw_set_frm_done_irq_mask() local 38 cfg = readl(dev->regs + GSC_IRQ); in gsc_hw_set_frm_done_irq_mask() 40 cfg |= GSC_IRQ_FRMDONE_MASK; in gsc_hw_set_frm_done_irq_mask() 42 cfg &= ~GSC_IRQ_FRMDONE_MASK; in gsc_hw_set_frm_done_irq_mask() 43 writel(cfg, dev->regs + GSC_IRQ); in gsc_hw_set_frm_done_irq_mask() 48 u32 cfg; in gsc_hw_set_gsc_irq_enable() local 50 cfg = readl(dev->regs + GSC_IRQ); in gsc_hw_set_gsc_irq_enable() [all …]
|
| /linux/drivers/media/platform/samsung/exynos4-is/ |
| H A D | fimc-reg.c | 21 u32 cfg; in fimc_hw_reset() local 23 cfg = readl(dev->regs + FIMC_REG_CISRCFMT); in fimc_hw_reset() 24 cfg |= FIMC_REG_CISRCFMT_ITU601_8BIT; in fimc_hw_reset() 25 writel(cfg, dev->regs + FIMC_REG_CISRCFMT); in fimc_hw_reset() 28 cfg = readl(dev->regs + FIMC_REG_CIGCTRL); in fimc_hw_reset() 29 cfg |= (FIMC_REG_CIGCTRL_SWRST | FIMC_REG_CIGCTRL_IRQ_LEVEL); in fimc_hw_reset() 30 writel(cfg, dev->regs + FIMC_REG_CIGCTRL); in fimc_hw_reset() 33 cfg = readl(dev->regs + FIMC_REG_CIGCTRL); in fimc_hw_reset() 34 cfg &= ~FIMC_REG_CIGCTRL_SWRST; in fimc_hw_reset() 35 writel(cfg, dev->regs + FIMC_REG_CIGCTRL); in fimc_hw_reset() [all …]
|
| H A D | fimc-lite-reg.c | 23 u32 cfg; in flite_hw_reset() local 25 cfg = readl(dev->regs + FLITE_REG_CIGCTRL); in flite_hw_reset() 26 cfg |= FLITE_REG_CIGCTRL_SWRST_REQ; in flite_hw_reset() 27 writel(cfg, dev->regs + FLITE_REG_CIGCTRL); in flite_hw_reset() 30 cfg = readl(dev->regs + FLITE_REG_CIGCTRL); in flite_hw_reset() 31 if (cfg & FLITE_REG_CIGCTRL_SWRST_RDY) in flite_hw_reset() 36 cfg |= FLITE_REG_CIGCTRL_SWRST; in flite_hw_reset() 37 writel(cfg, dev->regs + FLITE_REG_CIGCTRL); in flite_hw_reset() 42 u32 cfg = readl(dev->regs + FLITE_REG_CISTATUS); in flite_hw_clear_pending_irq() local 43 cfg &= ~FLITE_REG_CISTATUS_IRQ_CAM; in flite_hw_clear_pending_irq() [all …]
|
| /linux/drivers/phy/ |
| H A D | phy-core-mipi-dphy.c | 24 struct phy_configure_opts_mipi_dphy *cfg) in phy_mipi_dphy_calc_config() argument 28 if (!cfg) in phy_mipi_dphy_calc_config() 39 cfg->clk_miss = 0; in phy_mipi_dphy_calc_config() 40 cfg->clk_post = 60000 + 52 * ui; in phy_mipi_dphy_calc_config() 41 cfg->clk_pre = 8; in phy_mipi_dphy_calc_config() 42 cfg->clk_prepare = 38000; in phy_mipi_dphy_calc_config() 43 cfg->clk_settle = 95000; in phy_mipi_dphy_calc_config() 44 cfg->clk_term_en = 0; in phy_mipi_dphy_calc_config() 45 cfg->clk_trail = 60000; in phy_mipi_dphy_calc_config() 46 cfg->clk_zero = 262000; in phy_mipi_dphy_calc_config() [all …]
|
| /linux/tools/testing/selftests/drivers/net/hw/ |
| H A D | devmem_lib.py | 45 def _probe_devmem(cfg, rx_page_size): argument 46 """Return True if ncdevmem can bind cfg.ifname at @rx_page_size.""" 47 probe_command = f"{cfg.bin_local} -f {cfg.ifname}" 53 def require_devmem(cfg, rx_page_size=RX_PAGE_SIZE_DEFAULT): argument 54 """Probe ncdevmem on cfg.ifname and SKIP the test if devmem isn't supported.""" 60 if not hasattr(cfg, "devmem_supported"): 64 cfg.devmem_supported = {size: _probe_devmem(cfg, size) 67 if not cfg.devmem_supported[RX_PAGE_SIZE_DEFAULT]: 77 if not cfg.devmem_supported[rx_page_size]: 82 def configure_nic(cfg): argument [all …]
|
| H A D | iou-zcrx.py | 16 def mp_clear_wait(cfg): argument 20 queues = cfg.netnl.queue_get({'ifindex': cfg.ifindex}, dump=True) 27 def create_rss_ctx(cfg): 28 output = ethtool(f"-X {cfg.ifname} context new start {cfg.target} equal 1").stdout 33 def set_flow_rule(cfg): 34 output = ethtool(f"-N {cfg.ifname} flow-type tcp6 dst-port {cfg.port} action {cfg 11 _get_current_settings(cfg) global() argument 22 _create_rss_ctx(cfg, chan) global() argument 29 _set_flow_rule(cfg, port, chan) global() argument 35 _set_flow_rule_rss(cfg, port, ctx_id) global() argument 41 test_zcrx(cfg) global() argument 72 test_zcrx_oneshot(cfg) global() argument 103 test_zcrx_rss(cfg) global() argument [all...] |
| H A D | rss_ctx.py | 27 def _rss_key_check(cfg, data=None, context=0): argument 29 data = get_rss(cfg, context=context) 36 def get_rss(cfg, context=0): argument 37 return ethtool(f"-x {cfg.ifname} context {context}", json=True)[0] 40 def get_drop_err_sum(cfg): argument 41 stats = ip("-s -s link show dev " + cfg.ifname, json=True)[0] 50 def ethtool_create(cfg, act, opts): argument 51 output = ethtool(f"{act} {cfg.ifname} {opts}").stdout 57 def require_ntuple(cfg): argument 58 features = ethtool(f"-k {cfg.ifname}", json=True)[0] [all …]
|
| H A D | csum.py | 12 def test_receive(cfg, ipver="6", extra_args=None): argument 14 if not cfg.have_rx_csum: 15 raise KsftSkipEx(f"Test requires rx checksum offload on {cfg.ifname}") 17 ip_args = f"-{ipver} -S {cfg.remote_addr_v[ipver]} -D {cfg.addr_v[ipver]}" 19 rx_cmd = f"{cfg.bin_local} -i {cfg.ifname} -n 100 {ip_args} -r 1 -R {extra_args}" 20 tx_cmd = f"{cfg.bin_remote} -i {cfg.remote_ifname} -n 100 {ip_args} -r 1 -T {extra_args}" 24 cmd(tx_cmd, host=cfg.remote) 27 def test_transmit(cfg, ipver="6", extra_args=None): argument 29 if (not cfg.have_tx_csum_generic and 30 not (cfg.have_tx_csum_ipv4 and ipver == "4") and [all …]
|
| H A D | rss_api.py | 18 def _require_2qs(cfg): argument 19 qcnt = len(glob.glob(f"/sys/class/net/{cfg.ifname}/queues/rx-*")) 25 def _ethtool_create(cfg, act, opts): argument 26 output = ethtool(f"{act} {cfg.ifname} {opts}").stdout 32 def _ethtool_get_cfg(cfg, fl_type, to_nl=False): argument 33 descr = ethtool(f"-n {cfg.ifname} rx-flow-hash {fl_type}").stdout 64 def test_rxfh_nl_set_fail(cfg): argument 68 _require_2qs(cfg) 78 ethnl.rss_set({"header": {"dev-index": cfg.ifindex}, 84 def test_rxfh_nl_set_indir(cfg): argument [all …]
|
| H A D | tso.py | 36 def run_one_stream(cfg, ipver, remote_v4, remote_v6, should_lso): argument 37 cfg.require_cmd("socat", local=False, remote=True) 45 with bkg(listen_cmd, host=cfg.remote, exit_wait=True) as nc: 46 wait_port_listen(port, host=cfg.remote) 60 qstat_old = cfg.netnl.qstats_get({"ifindex": cfg.ifindex}, dump=True)[0] 64 qstat_new = cfg.netnl.qstats_get({"ifindex": cfg.ifindex}, dump=True)[0] 69 total_lso_wire = len(buf) * 0.90 // cfg.dev["mtu"] 70 total_lso_super = len(buf) * 0.90 // cfg.dev["tso_max_size"] 78 if cfg.have_stat_super_count: 83 if cfg.have_stat_wire_count: [all …]
|
| /linux/drivers/media/platform/samsung/s3c-camif/ |
| H A D | camif-regs.c | 18 u32 cfg; in camif_hw_reset() local 20 cfg = camif_read(camif, S3C_CAMIF_REG_CISRCFMT); in camif_hw_reset() 21 cfg |= CISRCFMT_ITU601_8BIT; in camif_hw_reset() 22 camif_write(camif, S3C_CAMIF_REG_CISRCFMT, cfg); in camif_hw_reset() 25 cfg = camif_read(camif, S3C_CAMIF_REG_CIGCTRL); in camif_hw_reset() 26 cfg |= CIGCTRL_SWRST; in camif_hw_reset() 28 cfg |= CIGCTRL_IRQ_LEVEL; in camif_hw_reset() 29 camif_write(camif, S3C_CAMIF_REG_CIGCTRL, cfg); in camif_hw_reset() 32 cfg = camif_read(camif, S3C_CAMIF_REG_CIGCTRL); in camif_hw_reset() 33 cfg &= ~CIGCTRL_SWRST; in camif_hw_reset() [all …]
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | core_extern.c | 21 #define CFG "CONFIG_BPF_SYSCALL=n\n" macro 25 const char *cfg; member 32 .cfg = "CONFIG_BPF_SYSCALL=n\n" 54 { .name = "tristate (y)", .cfg = CFG"CONFIG_TRISTATE=y\n", 56 { .name = "tristate (n)", .cfg = CFG"CONFIG_TRISTATE=n\n", 58 { .name = "tristate (m)", .cfg = CFG"CONFIG_TRISTATE=m\n", 60 { .name = "tristate (int)", .fails = 1, .cfg = CFG"CONFIG_TRISTATE=1" }, 61 { .name = "tristate (bad)", .fails = 1, .cfg = CFG"CONFIG_TRISTATE=M" }, 63 { .name = "bool (y)", .cfg = CFG"CONFIG_BOOL=y\n", 65 { .name = "bool (n)", .cfg = CFG"CONFIG_BOOL=n\n", [all …]
|
| H A D | test_tc_tunnel.c | 58 void (*extra_decap_mod_args_cb)(struct subtest_cfg *cfg, char *dst); 80 static int build_subtest_name(struct subtest_cfg *cfg, char *dst, size_t size) in build_subtest_name() argument 84 ret = snprintf(dst, size, "%s_%s", cfg->ebpf_tun_type, in build_subtest_name() 85 cfg->mac_tun_type); in build_subtest_name() 90 static int set_subtest_progs(struct subtest_cfg *cfg, struct test_tc_tunnel *skel) in set_subtest_progs() argument 99 ret = build_subtest_name(cfg, prog_name + ret, PROG_NAME_MAX_LEN - ret); in set_subtest_progs() 106 cfg->client_egress_prog_fd = bpf_program__fd(prog); in set_subtest_progs() 107 cfg->server_ingress_prog_fd = bpf_program__fd(skel->progs.decap_f); in set_subtest_progs() 111 static void set_subtest_addresses(struct subtest_cfg *cfg) in set_subtest_addresses() argument 113 if (cfg->ipproto == 6) in set_subtest_addresses() [all …]
|
| /linux/rust/syn/gen/ |
| H A D | eq.rs | 6 #[cfg(any(feature = "derive", feature = "full"))] 8 #[cfg(any(feature = "derive", feature = "full"))] 9 #[cfg_attr(docsrs, doc(cfg(feature = "extra-traits")))] 11 #[cfg(any(feature = "derive", feature = "full"))] 12 #[cfg_attr(docsrs, doc(cfg(feature = "extra-traits")))] 18 #[cfg(any(feature = "derive", feature = "full"))] 19 #[cfg_attr(docsrs, doc(cfg(feature = "extra-traits")))] 21 #[cfg(any(feature = "derive", feature = "full"))] 22 #[cfg_attr(docsrs, doc(cfg(feature = "extra-traits")))] 28 #[cfg(feature = "full")] [all …]
|
| H A D | visit_mut.rs | 8 #[cfg(any(feature = "full", feature = "derive"))] 10 #[cfg(feature = "full")] 16 #[cfg(all(feature = "derive", not(feature = "full")))] 32 #[cfg(any(feature = "derive", feature = "full"))] 33 #[cfg_attr(docsrs, doc(cfg(any(feature = "derive", feature = "full"))))] 37 #[cfg(any(feature = "derive", feature = "full"))] 38 #[cfg_attr(docsrs, doc(cfg(any(feature = "derive", feature = "full"))))] 45 #[cfg(feature = "full")] 46 #[cfg_attr(docsrs, doc(cfg(feature = "full")))] 50 #[cfg(any(feature = "derive", feature = "full"))] [all …]
|
| H A D | visit.rs | 8 #[cfg(any(feature = "full", feature = "derive"))] 10 #[cfg(feature = "full")] 16 #[cfg(all(feature = "derive", not(feature = "full")))] 31 #[cfg(any(feature = "derive", feature = "full"))] 32 #[cfg_attr(docsrs, doc(cfg(any(feature = "derive", feature = "full"))))] 36 #[cfg(any(feature = "derive", feature = "full"))] 37 #[cfg_attr(docsrs, doc(cfg(any(feature = "derive", feature = "full"))))] 44 #[cfg(feature = "full")] 45 #[cfg_attr(docsrs, doc(cfg(feature = "full")))] 49 #[cfg(any(feature = "derive", feature = "full"))] [all …]
|
| /linux/drivers/net/ethernet/marvell/octeontx2/af/ |
| H A D | rpm.c | 133 u64 cfg, last; in rpm_lmac_tx_enable() local 138 cfg = rpm_read(rpm, lmac_id, RPMX_MTI_MAC100X_COMMAND_CONFIG); in rpm_lmac_tx_enable() 139 last = cfg; in rpm_lmac_tx_enable() 141 cfg |= RPM_TX_EN; in rpm_lmac_tx_enable() 143 cfg &= ~(RPM_TX_EN); in rpm_lmac_tx_enable() 145 if (cfg != last) in rpm_lmac_tx_enable() 146 rpm_write(rpm, lmac_id, RPMX_MTI_MAC100X_COMMAND_CONFIG, cfg); in rpm_lmac_tx_enable() 153 u64 cfg; in rpm_lmac_rx_tx_enable() local 158 cfg = rpm_read(rpm, lmac_id, RPMX_MTI_MAC100X_COMMAND_CONFIG); in rpm_lmac_rx_tx_enable() 160 cfg |= RPM_RX_EN | RPM_TX_EN; in rpm_lmac_rx_tx_enable() [all …]
|
| /linux/sound/hda/common/ |
| H A D | auto_parser.c | 55 /* add the found input-pin to the cfg->inputs[] table */ 56 static void add_auto_cfg_input_pin(struct hda_codec *codec, struct auto_pin_cfg *cfg, in add_auto_cfg_input_pin() argument 59 if (cfg->num_inputs < AUTO_CFG_MAX_INS) { in add_auto_cfg_input_pin() 60 cfg->inputs[cfg->num_inputs].pin = nid; in add_auto_cfg_input_pin() 61 cfg->inputs[cfg->num_inputs].type = type; in add_auto_cfg_input_pin() 62 cfg->inputs[cfg->num_inputs].has_boost_on_pin = in add_auto_cfg_input_pin() 64 cfg in add_auto_cfg_input_pin() 173 snd_hda_parse_pin_defcfg(struct hda_codec * codec,struct auto_pin_cfg * cfg,const hda_nid_t * ignore_nids,unsigned int cond_flags) snd_hda_parse_pin_defcfg() argument 539 check_mic_location_need(struct hda_codec * codec,const struct auto_pin_cfg * cfg,int input) check_mic_location_need() argument 576 hda_get_autocfg_input_label(struct hda_codec * codec,const struct auto_pin_cfg * cfg,int input) hda_get_autocfg_input_label() argument 659 fill_audio_out_name(struct hda_codec * codec,hda_nid_t nid,const struct auto_pin_cfg * cfg,const char * name,char * label,int maxlen,int * indexp) fill_audio_out_name() argument 715 snd_hda_get_pin_label(struct hda_codec * codec,hda_nid_t nid,const struct auto_pin_cfg * cfg,char * label,int maxlen,int * indexp) snd_hda_get_pin_label() argument 814 snd_hda_apply_pincfgs(struct hda_codec * codec,const struct hda_pintbl * cfg) snd_hda_apply_pincfgs() argument 822 set_pin_targets(struct hda_codec * codec,const struct hda_pintbl * cfg) set_pin_targets() argument 904 u32 cfg = pin->cfg; pin_config_match() local [all...] |
| /linux/drivers/gpu/drm/exynos/ |
| H A D | exynos_drm_fimc.c | 139 u32 cfg; in fimc_sw_reset() local 142 cfg = fimc_read(ctx, EXYNOS_CISTATUS); in fimc_sw_reset() 143 if (EXYNOS_CISTATUS_GET_ENVID_STATUS(cfg)) in fimc_sw_reset() 164 u32 cfg; in fimc_set_type_ctrl() local 166 cfg = fimc_read(ctx, EXYNOS_CIGCTRL); in fimc_set_type_ctrl() 167 cfg &= ~(EXYNOS_CIGCTRL_TESTPATTERN_MASK | in fimc_set_type_ctrl() 174 cfg |= (EXYNOS_CIGCTRL_SELCAM_ITU_A | in fimc_set_type_ctrl() 179 fimc_write(ctx, cfg, EXYNOS_CIGCTRL); in fimc_set_type_ctrl() 184 u32 cfg; in fimc_handle_jpeg() local 188 cfg = fimc_read(ctx, EXYNOS_CIGCTRL); in fimc_handle_jpeg() [all …]
|
| /linux/drivers/net/ethernet/marvell/octeon_ep/ |
| H A D | octep_config.h | 60 #define CFG_GET_IQ_CFG(cfg) ((cfg)->iq) argument 61 #define CFG_GET_IQ_NUM_DESC(cfg) ((cfg)->iq.num_descs) argument 62 #define CFG_GET_IQ_INSTR_TYPE(cfg) ((cfg)->iq.instr_type) argument 63 #define CFG_GET_IQ_INSTR_SIZE(cfg) (64) argument 64 #define CFG_GET_IQ_DB_MIN(cfg) ((cfg)->iq.db_min) argument 65 #define CFG_GET_IQ_INTR_THRESHOLD(cfg) ((cfg)->iq.intr_threshold) argument 67 #define CFG_GET_OQ_NUM_DESC(cfg) ((cfg)->oq.num_descs) argument 68 #define CFG_GET_OQ_BUF_SIZE(cfg) ((cfg)->oq.buf_size) argument 69 #define CFG_GET_OQ_REFILL_THRESHOLD(cfg) ((cfg)->oq.refill_threshold) argument 70 #define CFG_GET_OQ_INTR_PKT(cfg) ((cfg)->oq.oq_intr_pkt) argument [all …]
|