Changeset View
Changeset View
Standalone View
Standalone View
sys/net/iflib.h
/*- | /*- | ||||
* Copyright (c) 2014-2015, Matthew Macy (mmacy@nextbsd.org) | * Copyright (c) 2014-2017, Matthew Macy (mmacy@nextbsd.org) | ||||
* All rights reserved. | * All rights reserved. | ||||
* | * | ||||
* Redistribution and use in source and binary forms, with or without | * Redistribution and use in source and binary forms, with or without | ||||
* modification, are permitted provided that the following conditions are met: | * modification, are permitted provided that the following conditions are met: | ||||
* | * | ||||
* 1. Redistributions of source code must retain the above copyright notice, | * 1. Redistributions of source code must retain the above copyright notice, | ||||
* this list of conditions and the following disclaimer. | * this list of conditions and the following disclaimer. | ||||
* | * | ||||
Show All 21 Lines | |||||
#include <sys/kobj.h> | #include <sys/kobj.h> | ||||
#include <sys/bus.h> | #include <sys/bus.h> | ||||
#include <sys/cpuset.h> | #include <sys/cpuset.h> | ||||
#include <machine/bus.h> | #include <machine/bus.h> | ||||
#include <sys/bus_dma.h> | #include <sys/bus_dma.h> | ||||
#include <sys/nv.h> | #include <sys/nv.h> | ||||
#include <sys/gtaskqueue.h> | #include <sys/gtaskqueue.h> | ||||
/* | /* | ||||
* The value type for indexing, limits max descriptors | |||||
* to 65535 can be conditionally redefined to uint32_t | |||||
* in the future if the need arises. | |||||
*/ | |||||
typedef uint16_t qidx_t; | |||||
#define QIDX_INVALID 0xFFFF | |||||
/* | |||||
* Most cards can handle much larger TSO requests | * Most cards can handle much larger TSO requests | ||||
* but the FreeBSD TCP stack will break on larger | * but the FreeBSD TCP stack will break on larger | ||||
* values | * values | ||||
*/ | */ | ||||
#define FREEBSD_TSO_SIZE_MAX 65518 | #define FREEBSD_TSO_SIZE_MAX 65518 | ||||
struct iflib_ctx; | struct iflib_ctx; | ||||
typedef struct iflib_ctx *if_ctx_t; | typedef struct iflib_ctx *if_ctx_t; | ||||
struct if_shared_ctx; | struct if_shared_ctx; | ||||
typedef struct if_shared_ctx *if_shared_ctx_t; | typedef struct if_shared_ctx *if_shared_ctx_t; | ||||
struct if_int_delay_info; | struct if_int_delay_info; | ||||
typedef struct if_int_delay_info *if_int_delay_info_t; | typedef struct if_int_delay_info *if_int_delay_info_t; | ||||
/* | /* | ||||
* File organization: | * File organization: | ||||
* - public structures | * - public structures | ||||
* - iflib accessors | * - iflib accessors | ||||
* - iflib utility functions | * - iflib utility functions | ||||
* - iflib core functions | * - iflib core functions | ||||
*/ | */ | ||||
typedef struct if_rxd_frag { | typedef struct if_rxd_frag { | ||||
uint8_t irf_flid; | uint8_t irf_flid; | ||||
uint16_t irf_idx; | qidx_t irf_idx; | ||||
uint16_t irf_len; | uint16_t irf_len; | ||||
} *if_rxd_frag_t; | } *if_rxd_frag_t; | ||||
typedef struct if_rxd_info { | typedef struct if_rxd_info { | ||||
/* set by iflib */ | /* set by iflib */ | ||||
uint16_t iri_qsidx; /* qset index */ | uint16_t iri_qsidx; /* qset index */ | ||||
uint16_t iri_vtag; /* vlan tag - if flag set */ | uint16_t iri_vtag; /* vlan tag - if flag set */ | ||||
/* XXX redundant with the new irf_len field */ | /* XXX redundant with the new irf_len field */ | ||||
uint16_t iri_len; /* packet length */ | uint16_t iri_len; /* packet length */ | ||||
uint16_t iri_cidx; /* consumer index of cq */ | qidx_t iri_cidx; /* consumer index of cq */ | ||||
struct ifnet *iri_ifp; /* some drivers >1 interface per softc */ | struct ifnet *iri_ifp; /* some drivers >1 interface per softc */ | ||||
/* updated by driver */ | /* updated by driver */ | ||||
uint16_t iri_flags; /* mbuf flags for packet */ | if_rxd_frag_t iri_frags; | ||||
uint32_t iri_flowid; /* RSS hash for packet */ | uint32_t iri_flowid; /* RSS hash for packet */ | ||||
uint32_t iri_csum_flags; /* m_pkthdr csum flags */ | uint32_t iri_csum_flags; /* m_pkthdr csum flags */ | ||||
uint32_t iri_csum_data; /* m_pkthdr csum data */ | uint32_t iri_csum_data; /* m_pkthdr csum data */ | ||||
uint8_t iri_flags; /* mbuf flags for packet */ | |||||
uint8_t iri_nfrags; /* number of fragments in packet */ | uint8_t iri_nfrags; /* number of fragments in packet */ | ||||
uint8_t iri_rsstype; /* RSS hash type */ | uint8_t iri_rsstype; /* RSS hash type */ | ||||
uint8_t iri_pad; /* any padding in the received data */ | uint8_t iri_pad; /* any padding in the received data */ | ||||
if_rxd_frag_t iri_frags; | |||||
} *if_rxd_info_t; | } *if_rxd_info_t; | ||||
typedef struct if_rxd_update { | |||||
uint64_t *iru_paddrs; | |||||
caddr_t *iru_vaddrs; | |||||
qidx_t *iru_idxs; | |||||
qidx_t iru_pidx; | |||||
uint16_t iru_qsidx; | |||||
uint16_t iru_count; | |||||
uint16_t iru_buf_size; | |||||
uint8_t iru_flidx; | |||||
} *if_rxd_update_t; | |||||
#define IPI_TX_INTR 0x1 /* send an interrupt when this packet is sent */ | #define IPI_TX_INTR 0x1 /* send an interrupt when this packet is sent */ | ||||
#define IPI_TX_IPV4 0x2 /* ethertype IPv4 */ | #define IPI_TX_IPV4 0x2 /* ethertype IPv4 */ | ||||
#define IPI_TX_IPV6 0x4 /* ethertype IPv6 */ | #define IPI_TX_IPV6 0x4 /* ethertype IPv6 */ | ||||
typedef struct if_pkt_info { | typedef struct if_pkt_info { | ||||
uint32_t ipi_len; /* packet length */ | |||||
bus_dma_segment_t *ipi_segs; /* physical addresses */ | bus_dma_segment_t *ipi_segs; /* physical addresses */ | ||||
uint32_t ipi_len; /* packet length */ | |||||
uint16_t ipi_qsidx; /* queue set index */ | uint16_t ipi_qsidx; /* queue set index */ | ||||
uint16_t ipi_nsegs; /* number of segments */ | qidx_t ipi_nsegs; /* number of segments */ | ||||
uint16_t ipi_ndescs; /* number of descriptors used by encap */ | |||||
qidx_t ipi_ndescs; /* number of descriptors used by encap */ | |||||
uint16_t ipi_flags; /* iflib per-packet flags */ | uint16_t ipi_flags; /* iflib per-packet flags */ | ||||
uint32_t ipi_pidx; /* start pidx for encap */ | qidx_t ipi_pidx; /* start pidx for encap */ | ||||
uint32_t ipi_new_pidx; /* next available pidx post-encap */ | qidx_t ipi_new_pidx; /* next available pidx post-encap */ | ||||
/* offload handling */ | /* offload handling */ | ||||
uint64_t ipi_csum_flags; /* packet checksum flags */ | |||||
uint16_t ipi_tso_segsz; /* tso segment size */ | |||||
uint16_t ipi_mflags; /* packet mbuf flags */ | |||||
uint16_t ipi_vtag; /* VLAN tag */ | |||||
uint16_t ipi_etype; /* ether header type */ | |||||
uint8_t ipi_ehdrlen; /* ether header length */ | uint8_t ipi_ehdrlen; /* ether header length */ | ||||
uint8_t ipi_ip_hlen; /* ip header length */ | uint8_t ipi_ip_hlen; /* ip header length */ | ||||
uint8_t ipi_tcp_hlen; /* tcp header length */ | uint8_t ipi_tcp_hlen; /* tcp header length */ | ||||
uint8_t ipi_tcp_hflags; /* tcp header flags */ | |||||
uint8_t ipi_ipproto; /* ip protocol */ | uint8_t ipi_ipproto; /* ip protocol */ | ||||
/* implied padding */ | |||||
uint32_t ipi_csum_flags; /* packet checksum flags */ | |||||
uint16_t ipi_tso_segsz; /* tso segment size */ | |||||
uint16_t ipi_vtag; /* VLAN tag */ | |||||
uint16_t ipi_etype; /* ether header type */ | |||||
uint8_t ipi_tcp_hflags; /* tcp header flags */ | |||||
uint8_t ipi_mflags; /* packet mbuf flags */ | |||||
uint32_t ipi_tcp_seq; /* tcp seqno */ | uint32_t ipi_tcp_seq; /* tcp seqno */ | ||||
uint32_t ipi_tcp_sum; /* tcp csum */ | uint32_t ipi_tcp_sum; /* tcp csum */ | ||||
} *if_pkt_info_t; | } *if_pkt_info_t; | ||||
typedef struct if_irq { | typedef struct if_irq { | ||||
struct resource *ii_res; | struct resource *ii_res; | ||||
int ii_rid; | int ii_rid; | ||||
void *ii_tag; | void *ii_tag; | ||||
} *if_irq_t; | } *if_irq_t; | ||||
Show All 24 Lines | typedef struct pci_vendor_info { | ||||
uint32_t pvi_class_mask; | uint32_t pvi_class_mask; | ||||
caddr_t pvi_name; | caddr_t pvi_name; | ||||
} pci_vendor_info_t; | } pci_vendor_info_t; | ||||
#define PVID(vendor, devid, name) {vendor, devid, 0, 0, 0, 0, name} | #define PVID(vendor, devid, name) {vendor, devid, 0, 0, 0, 0, name} | ||||
#define PVID_OEM(vendor, devid, svid, sdevid, revid, name) {vendor, devid, svid, sdevid, revid, 0, name} | #define PVID_OEM(vendor, devid, svid, sdevid, revid, name) {vendor, devid, svid, sdevid, revid, 0, name} | ||||
#define PVID_END {0, 0, 0, 0, 0, 0, NULL} | #define PVID_END {0, 0, 0, 0, 0, 0, NULL} | ||||
#define IFLIB_PNP_DESCR "U32:vendor;U32:device;U32:subvendor;U32:subdevice;" \ | |||||
"U32:revision;U32:class;D:human" | |||||
#define IFLIB_PNP_INFO(b, u, t) \ | |||||
MODULE_PNP_INFO(IFLIB_PNP_DESCR, b, u, t, sizeof(t[0]), nitems(t) - 1) | |||||
typedef struct if_txrx { | typedef struct if_txrx { | ||||
int (*ift_txd_encap) (void *, if_pkt_info_t); | int (*ift_txd_encap) (void *, if_pkt_info_t); | ||||
void (*ift_txd_flush) (void *, uint16_t, uint32_t); | void (*ift_txd_flush) (void *, uint16_t, qidx_t pidx); | ||||
int (*ift_txd_credits_update) (void *, uint16_t, uint32_t, bool); | int (*ift_txd_credits_update) (void *, uint16_t qsidx, bool clear); | ||||
int (*ift_rxd_available) (void *, uint16_t qsidx, uint32_t pidx, | int (*ift_rxd_available) (void *, uint16_t qsidx, qidx_t pidx, qidx_t budget); | ||||
int budget); | |||||
int (*ift_rxd_pkt_get) (void *, if_rxd_info_t ri); | int (*ift_rxd_pkt_get) (void *, if_rxd_info_t ri); | ||||
void (*ift_rxd_refill) (void * , uint16_t qsidx, uint8_t flidx, uint32_t pidx, | void (*ift_rxd_refill) (void * , if_rxd_update_t iru); | ||||
uint64_t *paddrs, caddr_t *vaddrs, uint16_t count, uint16_t buf_size); | void (*ift_rxd_flush) (void *, uint16_t qsidx, uint8_t flidx, qidx_t pidx); | ||||
void (*ift_rxd_flush) (void *, uint16_t qsidx, uint8_t flidx, uint32_t pidx); | |||||
int (*ift_legacy_intr) (void *); | int (*ift_legacy_intr) (void *); | ||||
} *if_txrx_t; | } *if_txrx_t; | ||||
typedef struct if_softc_ctx { | typedef struct if_softc_ctx { | ||||
int isc_vectors; | int isc_vectors; | ||||
int isc_nrxqsets; | int isc_nrxqsets; | ||||
int isc_ntxqsets; | int isc_ntxqsets; | ||||
int isc_msix_bar; /* can be model specific - initialize in attach_pre */ | int isc_msix_bar; /* can be model specific - initialize in attach_pre */ | ||||
int isc_tx_nsegments; /* can be model specific - initialize in attach_pre */ | int isc_tx_nsegments; /* can be model specific - initialize in attach_pre */ | ||||
int isc_ntxd[8]; | int isc_ntxd[8]; | ||||
int isc_nrxd[8]; | int isc_nrxd[8]; | ||||
uint32_t isc_txqsizes[8]; | uint32_t isc_txqsizes[8]; | ||||
uint32_t isc_rxqsizes[8]; | uint32_t isc_rxqsizes[8]; | ||||
int isc_max_txqsets; | /* is there such thing as a descriptor that is more than 248 bytes ? */ | ||||
int isc_max_rxqsets; | uint8_t isc_txd_size[8]; | ||||
uint8_t isc_rxd_size[8]; | |||||
int isc_tx_tso_segments_max; | int isc_tx_tso_segments_max; | ||||
int isc_tx_tso_size_max; | int isc_tx_tso_size_max; | ||||
int isc_tx_tso_segsize_max; | int isc_tx_tso_segsize_max; | ||||
int isc_tx_csum_flags; | |||||
int isc_capenable; | |||||
int isc_rss_table_size; | int isc_rss_table_size; | ||||
int isc_rss_table_mask; | int isc_rss_table_mask; | ||||
int isc_nrxqsets_max; | int isc_nrxqsets_max; | ||||
int isc_ntxqsets_max; | int isc_ntxqsets_max; | ||||
iflib_intr_mode_t isc_intr; | iflib_intr_mode_t isc_intr; | ||||
uint16_t isc_max_frame_size; /* set at init time by driver */ | uint16_t isc_max_frame_size; /* set at init time by driver */ | ||||
uint16_t isc_min_frame_size; /* set at init time by driver, only used if | |||||
IFLIB_NEED_ETHER_PAD is set. */ | |||||
uint32_t isc_pause_frames; /* set by driver for iflib_timer to detect */ | |||||
pci_vendor_info_t isc_vendor_info; /* set by iflib prior to attach_pre */ | pci_vendor_info_t isc_vendor_info; /* set by iflib prior to attach_pre */ | ||||
int isc_disable_msix; | |||||
if_txrx_t isc_txrx; | |||||
} *if_softc_ctx_t; | } *if_softc_ctx_t; | ||||
/* | /* | ||||
* Initialization values for device | * Initialization values for device | ||||
*/ | */ | ||||
struct if_shared_ctx { | struct if_shared_ctx { | ||||
int isc_magic; | unsigned isc_magic; | ||||
if_txrx_t isc_txrx; | |||||
driver_t *isc_driver; | driver_t *isc_driver; | ||||
int isc_nfl; | |||||
int isc_flags; | |||||
bus_size_t isc_q_align; | bus_size_t isc_q_align; | ||||
bus_size_t isc_tx_maxsize; | bus_size_t isc_tx_maxsize; | ||||
bus_size_t isc_tx_maxsegsize; | bus_size_t isc_tx_maxsegsize; | ||||
bus_size_t isc_rx_maxsize; | bus_size_t isc_rx_maxsize; | ||||
bus_size_t isc_rx_maxsegsize; | bus_size_t isc_rx_maxsegsize; | ||||
int isc_rx_nsegments; | int isc_rx_nsegments; | ||||
int isc_rx_process_limit; | |||||
int isc_ntxqs; /* # of tx queues per tx qset - usually 1 */ | |||||
int isc_nrxqs; /* # of rx queues per rx qset - intel 1, chelsio 2, broadcom 3 */ | |||||
int isc_admin_intrcnt; /* # of admin/link interrupts */ | int isc_admin_intrcnt; /* # of admin/link interrupts */ | ||||
int isc_tx_reclaim_thresh; | |||||
/* fields necessary for probe */ | /* fields necessary for probe */ | ||||
pci_vendor_info_t *isc_vendor_info; | pci_vendor_info_t *isc_vendor_info; | ||||
char *isc_driver_version; | char *isc_driver_version; | ||||
/* optional function to transform the read values to match the table*/ | /* optional function to transform the read values to match the table*/ | ||||
void (*isc_parse_devinfo) (uint16_t *device_id, uint16_t *subvendor_id, | void (*isc_parse_devinfo) (uint16_t *device_id, uint16_t *subvendor_id, | ||||
uint16_t *subdevice_id, uint16_t *rev_id); | uint16_t *subdevice_id, uint16_t *rev_id); | ||||
int isc_nrxd_min[8]; | int isc_nrxd_min[8]; | ||||
int isc_nrxd_default[8]; | int isc_nrxd_default[8]; | ||||
int isc_nrxd_max[8]; | int isc_nrxd_max[8]; | ||||
int isc_ntxd_min[8]; | int isc_ntxd_min[8]; | ||||
int isc_ntxd_default[8]; | int isc_ntxd_default[8]; | ||||
int isc_ntxd_max[8]; | int isc_ntxd_max[8]; | ||||
/* actively used during operation */ | |||||
int isc_nfl __aligned(CACHE_LINE_SIZE); | |||||
int isc_ntxqs; /* # of tx queues per tx qset - usually 1 */ | |||||
int isc_nrxqs; /* # of rx queues per rx qset - intel 1, chelsio 2, broadcom 3 */ | |||||
int isc_rx_process_limit; | |||||
int isc_tx_reclaim_thresh; | |||||
int isc_flags; | |||||
}; | }; | ||||
typedef struct iflib_dma_info { | typedef struct iflib_dma_info { | ||||
bus_addr_t idi_paddr; | bus_addr_t idi_paddr; | ||||
caddr_t idi_vaddr; | caddr_t idi_vaddr; | ||||
bus_dma_tag_t idi_tag; | bus_dma_tag_t idi_tag; | ||||
bus_dmamap_t idi_map; | bus_dmamap_t idi_map; | ||||
uint32_t idi_size; | uint32_t idi_size; | ||||
} *iflib_dma_info_t; | } *iflib_dma_info_t; | ||||
#define IFLIB_MAGIC 0xCAFEF00D | #define IFLIB_MAGIC 0xCAFEF00D | ||||
typedef enum { | typedef enum { | ||||
IFLIB_INTR_TX, | |||||
IFLIB_INTR_RX, | IFLIB_INTR_RX, | ||||
IFLIB_INTR_TX, | |||||
IFLIB_INTR_RXTX, | |||||
IFLIB_INTR_ADMIN, | IFLIB_INTR_ADMIN, | ||||
IFLIB_INTR_IOV, | IFLIB_INTR_IOV, | ||||
} iflib_intr_type_t; | } iflib_intr_type_t; | ||||
#ifndef ETH_ADDR_LEN | #ifndef ETH_ADDR_LEN | ||||
#define ETH_ADDR_LEN 6 | #define ETH_ADDR_LEN 6 | ||||
#endif | #endif | ||||
/* | /* | ||||
* Interface has a separate command queue for RX | * Interface has a separate command queue for RX | ||||
*/ | */ | ||||
#define IFLIB_HAS_RXCQ 0x1 | #define IFLIB_HAS_RXCQ 0x01 | ||||
/* | /* | ||||
* Driver has already allocated vectors | * Driver has already allocated vectors | ||||
*/ | */ | ||||
#define IFLIB_SKIP_MSIX 0x2 | #define IFLIB_SKIP_MSIX 0x02 | ||||
/* | /* | ||||
* Interface is a virtual function | * Interface is a virtual function | ||||
*/ | */ | ||||
#define IFLIB_IS_VF 0x4 | #define IFLIB_IS_VF 0x04 | ||||
/* | /* | ||||
* Interface has a separate command queue for TX | * Interface has a separate command queue for TX | ||||
*/ | */ | ||||
#define IFLIB_HAS_TXCQ 0x8 | #define IFLIB_HAS_TXCQ 0x08 | ||||
/* | |||||
* Interface does checksum in place | |||||
*/ | |||||
#define IFLIB_NEED_SCRATCH 0x10 | |||||
/* | |||||
* Interface doesn't expect in_pseudo for th_sum | |||||
*/ | |||||
#define IFLIB_TSO_INIT_IP 0x20 | |||||
/* | |||||
* Interface doesn't align IP header | |||||
*/ | |||||
#define IFLIB_DO_RX_FIXUP 0x40 | |||||
/* | |||||
* Driver needs csum zeroed for offloading | |||||
*/ | |||||
#define IFLIB_NEED_ZERO_CSUM 0x80 | |||||
/* | |||||
* Driver needs frames padded to some minimum length | |||||
*/ | |||||
#define IFLIB_NEED_ETHER_PAD 0x100 | |||||
/* | /* | ||||
* field accessors | * field accessors | ||||
*/ | */ | ||||
void *iflib_get_softc(if_ctx_t ctx); | void *iflib_get_softc(if_ctx_t ctx); | ||||
device_t iflib_get_dev(if_ctx_t ctx); | device_t iflib_get_dev(if_ctx_t ctx); | ||||
if_t iflib_get_ifp(if_ctx_t ctx); | if_t iflib_get_ifp(if_ctx_t ctx); | ||||
struct ifmedia *iflib_get_media(if_ctx_t ctx); | struct ifmedia *iflib_get_media(if_ctx_t ctx); | ||||
if_softc_ctx_t iflib_get_softc_ctx(if_ctx_t ctx); | if_softc_ctx_t iflib_get_softc_ctx(if_ctx_t ctx); | ||||
if_shared_ctx_t iflib_get_sctx(if_ctx_t ctx); | if_shared_ctx_t iflib_get_sctx(if_ctx_t ctx); | ||||
void iflib_set_mac(if_ctx_t ctx, uint8_t mac[ETHER_ADDR_LEN]); | void iflib_set_mac(if_ctx_t ctx, uint8_t mac[ETHER_ADDR_LEN]); | ||||
/* | /* | ||||
* If the driver can plug cleanly in to newbus use these | * If the driver can plug cleanly in to newbus use these | ||||
*/ | */ | ||||
int iflib_device_probe(device_t); | int iflib_device_probe(device_t); | ||||
int iflib_device_attach(device_t); | int iflib_device_attach(device_t); | ||||
int iflib_device_detach(device_t); | int iflib_device_detach(device_t); | ||||
int iflib_device_suspend(device_t); | int iflib_device_suspend(device_t); | ||||
int iflib_device_resume(device_t); | int iflib_device_resume(device_t); | ||||
Show All 12 Lines | |||||
int iflib_device_deregister(if_ctx_t); | int iflib_device_deregister(if_ctx_t); | ||||
int iflib_irq_alloc(if_ctx_t, if_irq_t, int, driver_filter_t, void *filter_arg, driver_intr_t, void *arg, char *name); | int iflib_irq_alloc(if_ctx_t, if_irq_t, int, driver_filter_t, void *filter_arg, driver_intr_t, void *arg, char *name); | ||||
int iflib_irq_alloc_generic(if_ctx_t ctx, if_irq_t irq, int rid, | int iflib_irq_alloc_generic(if_ctx_t ctx, if_irq_t irq, int rid, | ||||
iflib_intr_type_t type, driver_filter_t *filter, | iflib_intr_type_t type, driver_filter_t *filter, | ||||
void *filter_arg, int qid, char *name); | void *filter_arg, int qid, char *name); | ||||
void iflib_softirq_alloc_generic(if_ctx_t ctx, int rid, iflib_intr_type_t type, void *arg, int qid, char *name); | void iflib_softirq_alloc_generic(if_ctx_t ctx, if_irq_t irq, iflib_intr_type_t type, void *arg, int qid, char *name); | ||||
void iflib_irq_free(if_ctx_t ctx, if_irq_t irq); | void iflib_irq_free(if_ctx_t ctx, if_irq_t irq); | ||||
void iflib_io_tqg_attach(struct grouptask *gt, void *uniq, int cpu, char *name); | void iflib_io_tqg_attach(struct grouptask *gt, void *uniq, int cpu, char *name); | ||||
void iflib_config_gtask_init(if_ctx_t ctx, struct grouptask *gtask, | void iflib_config_gtask_init(if_ctx_t ctx, struct grouptask *gtask, | ||||
gtask_fn_t *fn, char *name); | gtask_fn_t *fn, char *name); | ||||
Show All 29 Lines |