/freebsd/sys/dev/ice/ |
H A D | ice_iflib_recovery_txrx.c | 49 static void ice_recovery_txd_flush(void *arg, uint16_t txqid, qidx_t pidx); 51 static int ice_recovery_rxd_available(void *arg, uint16_t rxqid, qidx_t pidx, qidx_t budget); 52 static void ice_recovery_rxd_flush(void *arg, uint16_t rxqid, uint8_t flidx, qidx_t pidx); 100 qidx_t __unused pidx) in ice_recovery_txd_flush() 137 qidx_t __unused pidx, qidx_t __unused budget) in ice_recovery_rxd_available() 184 uint8_t flidx __unused, qidx_t __unused pidx) in ice_recovery_rxd_flush()
|
H A D | ice_iflib_txrx.c | 52 static int _ice_ift_rxd_available(struct ice_rx_queue *rxq, qidx_t pidx, qidx_t budget); 64 static void ice_ift_txd_flush(void *arg, uint16_t txqid, qidx_t pidx); 66 static int ice_ift_rxd_available(void *arg, uint16_t rxqid, qidx_t pidx, qidx_t budget); 67 static void ice_ift_rxd_flush(void *arg, uint16_t rxqid, uint8_t flidx, qidx_t pidx); 69 static qidx_t ice_ift_queue_select(void *arg, struct mbuf *m, if_pkt_info_t pi); 72 static void ice_ift_txd_flush_subif(void *arg, uint16_t txqid, qidx_t pidx); 73 static int ice_ift_rxd_available_subif(void *arg, uint16_t rxqid, qidx_t pidx, qidx_t budge [all...] |
H A D | ice_iflib.h | 158 qidx_t *tx_rsq; 159 qidx_t tx_rs_cidx; 160 qidx_t tx_rs_pidx; 161 qidx_t tx_cidx_processed;
|
/freebsd/sys/net/ |
H A D | iflib.h | 42 typedef uint16_t qidx_t; typedef 62 qidx_t irf_idx; 75 qidx_t iri_cidx; /* consumer index of cq */ 92 qidx_t *iru_idxs; 93 qidx_t iru_pidx; 108 qidx_t ipi_nsegs; /* number of segments */ 110 qidx_t ipi_ndescs; /* number of descriptors used by encap */ 112 qidx_t ipi_pidx; /* start pidx for encap */ 113 qidx_t ipi_new_pidx; /* next available pidx post-encap */ 178 void (*ift_txd_flush) (void *, uint16_t, qidx_t pidx); [all …]
|
H A D | iflib.c | 200 qidx_t ifc_sysctl_ntxds[8]; 201 qidx_t ifc_sysctl_nrxds[8]; 333 qidx_t ift_in_use; 334 qidx_t ift_cidx; 335 qidx_t ift_cidx_processed; 336 qidx_t ift_pidx; 367 qidx_t ift_size; 391 qidx_t ifl_cidx; 392 qidx_t ifl_pidx; 393 qidx_t ifl_credits; [all …]
|
/freebsd/sys/dev/ixgbe/ |
H A D | ix_txrx.c | 46 static void ixgbe_isc_txd_flush(void *, uint16_t, qidx_t); 50 static void ixgbe_isc_rxd_flush(void *, uint16_t, uint8_t, qidx_t); 51 static int ixgbe_isc_rxd_available(void *, uint16_t, qidx_t, qidx_t); 185 qidx_t ntxd; in ixgbe_isc_txd_encap() 254 ixgbe_isc_txd_flush(void *arg, uint16_t txqid, qidx_t pidx) in ixgbe_isc_txd_flush() 273 qidx_t processed = 0; in ixgbe_isc_txd_credits_update() 275 qidx_t cur, prev, ntxd, rs_cidx; in ixgbe_isc_txd_credits_update() 350 qidx_t pidx) in ixgbe_isc_rxd_flush() 363 ixgbe_isc_rxd_available(void *arg, uint16_t qsidx, qidx_t pidx, qidx_t budget) in ixgbe_isc_rxd_available()
|
H A D | ixgbe.h | 266 qidx_t *tx_rsq; 267 qidx_t tx_rs_cidx; 268 qidx_t tx_rs_pidx; 269 qidx_t tx_cidx_processed;
|
H A D | if_ixv.c | 273 if (!(txr->tx_rsq = (qidx_t *)malloc(sizeof(qidx_t) * in ixv_if_tx_queues_alloc()
|
/freebsd/sys/dev/igc/ |
H A D | igc_txrx.c | 48 static void igc_isc_txd_flush(void *, uint16_t, qidx_t); 53 static void igc_isc_rxd_flush(void *, uint16_t, uint8_t, qidx_t); 54 static int igc_isc_rxd_available(void *, uint16_t, qidx_t, qidx_t); 86 qidx_t i, ntxd, qid, cur; in igc_dump_rs() 278 qidx_t ntxd; in igc_isc_txd_encap() 330 igc_isc_txd_flush(void *arg, uint16_t txqid, qidx_t pidx) in igc_isc_txd_flush() 347 qidx_t processed = 0; in igc_isc_txd_credits_update() 349 qidx_t cur, prev, ntxd, rs_cidx; in igc_isc_txd_credits_update() 421 qidx_t pidx) in igc_isc_rxd_flush() 431 igc_isc_rxd_available(void *arg, uint16_t rxqid, qidx_t idx, qidx_t budget) in igc_isc_rxd_available()
|
H A D | if_igc.h | 224 qidx_t *tx_rsq; 226 qidx_t tx_rs_cidx; 227 qidx_t tx_rs_pidx; 228 qidx_t tx_cidx_processed;
|
/freebsd/sys/dev/e1000/ |
H A D | em_txrx.c | 51 static void em_isc_txd_flush(void *, uint16_t, qidx_t); 54 static void em_isc_rxd_flush(void *, uint16_t, uint8_t, qidx_t); 55 static int em_isc_rxd_available(void *, uint16_t, qidx_t, qidx_t); 60 static int lem_isc_rxd_available(void *, uint16_t, qidx_t, qidx_t); 97 qidx_t i, ntxd, qid, cur; in em_dump_rs() 358 qidx_t ntxd; in em_isc_txd_encap() 474 em_isc_txd_flush(void *arg, uint16_t txqid, qidx_t pidx) in em_isc_txd_flush() 491 qidx_t processed = 0; in em_isc_txd_credits_update() 493 qidx_t cur, prev, ntxd, rs_cidx; in em_isc_txd_credits_update() 599 qidx_t pidx) in em_isc_rxd_flush() [all …]
|
H A D | igb_txrx.c | 46 static void igb_isc_txd_flush(void *, uint16_t, qidx_t); 51 static void igb_isc_rxd_flush(void *, uint16_t, uint8_t, qidx_t); 52 static int igb_isc_rxd_available(void *, uint16_t, qidx_t, qidx_t); 246 qidx_t ntxd; in igb_isc_txd_encap() 302 igb_isc_txd_flush(void *arg, uint16_t txqid, qidx_t pidx) in igb_isc_txd_flush() 319 qidx_t processed = 0; in igb_isc_txd_credits_update() 321 qidx_t cur, prev, ntxd, rs_cidx; in igb_isc_txd_credits_update() 393 qidx_t pidx) in igb_isc_rxd_flush() 403 igb_isc_rxd_available(void *arg, uint16_t rxqid, qidx_t idx, qidx_t budget) in igb_isc_rxd_available()
|
H A D | if_em.h | 388 qidx_t *tx_rsq; 391 qidx_t tx_rs_cidx; 392 qidx_t tx_rs_pidx; 393 qidx_t tx_cidx_processed;
|
/freebsd/sys/dev/enic/ |
H A D | enic_txrx.c | 58 static void enic_isc_txd_flush(void *, uint16_t, qidx_t); 60 static int enic_isc_rxd_available(void *, uint16_t, qidx_t, qidx_t); 63 static void enic_isc_rxd_flush(void *, uint16_t, uint8_t, qidx_t); 146 enic_isc_txd_flush(void *vsc, uint16_t txqid, qidx_t pidx) in enic_isc_txd_flush() 207 enic_isc_rxd_available(void *vsc, uint16_t rxqid, qidx_t idx, qidx_t budget) in enic_isc_rxd_available() 300 enic_isc_rxd_flush(void *vsc, uint16_t rxqid, uint8_t flid, qidx_t pidx) in enic_isc_rxd_flush()
|
/freebsd/sys/dev/iavf/ |
H A D | iavf_txrx_iflib.c | 50 static void iavf_isc_txd_flush(void *arg, uint16_t txqid, qidx_t pidx); 56 qidx_t pidx); 57 static int iavf_isc_rxd_available(void *arg, uint16_t rxqid, qidx_t idx, 58 qidx_t budget); 410 iavf_isc_txd_flush(void *arg, uint16_t txqid, qidx_t pidx) in iavf_isc_txd_flush() 517 qidx_t processed = 0; in iavf_isc_txd_credits_update_dwb() 518 qidx_t cur, prev, ntxd, rs_cidx; in iavf_isc_txd_credits_update_dwb() 602 iavf_isc_rxd_flush(void * arg, uint16_t rxqid, uint8_t flid __unused, qidx_t pidx) in iavf_isc_rxd_flush() 623 iavf_isc_rxd_available(void *arg, uint16_t rxqid, qidx_t idx, qidx_t budget) in iavf_isc_rxd_available()
|
H A D | iavf_iflib.h | 149 qidx_t *tx_rsq; 150 qidx_t tx_rs_cidx; 151 qidx_t tx_rs_pidx; 152 qidx_t tx_cidx_processed;
|
H A D | if_iavf_iflib.c | 995 if (!(txr->tx_rsq = (qidx_t *)malloc(sizeof(qidx_t) * scctx->isc_ntxd[0], M_IAVF, M_NOWAIT))) { in iavf_if_tx_queues_alloc()
|
/freebsd/sys/dev/ixl/ |
H A D | ixl_txrx.c | 56 static void ixl_isc_txd_flush(void *arg, uint16_t txqid, qidx_t pidx); 62 qidx_t pidx); 63 static int ixl_isc_rxd_available(void *arg, uint16_t rxqid, qidx_t idx, 64 qidx_t budget); 414 ixl_isc_txd_flush(void *arg, uint16_t txqid, qidx_t pidx) in ixl_isc_txd_flush() 490 qidx_t processed = 0; in ixl_isc_txd_credits_update_dwb() 491 qidx_t cur, prev, ntxd, rs_cidx; in ixl_isc_txd_credits_update_dwb() 569 ixl_isc_rxd_flush(void * arg, uint16_t rxqid, uint8_t flid __unused, qidx_t pidx) in ixl_isc_rxd_flush() 578 ixl_isc_rxd_available(void *arg, uint16_t rxqid, qidx_t idx, qidx_t budget) in ixl_isc_rxd_available()
|
H A D | ixl.h | 338 qidx_t *tx_rsq; 339 qidx_t tx_rs_cidx; 340 qidx_t tx_rs_pidx; 341 qidx_t tx_cidx_processed;
|
/freebsd/sys/dev/bnxt/bnxt_en/ |
H A D | bnxt_txrx.c | 48 static void bnxt_isc_txd_flush(void *sc, uint16_t txqid, qidx_t pidx); 58 qidx_t pidx); 59 static int bnxt_isc_rxd_available(void *sc, uint16_t rxqid, qidx_t idx, 60 qidx_t budget); 174 bnxt_isc_txd_flush(void *sc, uint16_t txqid, qidx_t pidx) in bnxt_isc_txd_flush() 261 qidx_t *frag_idxs; in bnxt_isc_rxd_refill() 295 qidx_t pidx) in bnxt_isc_rxd_flush() 316 bnxt_isc_rxd_available(void *sc, uint16_t rxqid, qidx_t idx, qidx_t budget) in bnxt_isc_rxd_available()
|
/freebsd/sys/dev/enetc/ |
H A D | if_enetc.c | 82 static void enetc_isc_txd_flush(void*, uint16_t, qidx_t); 84 static int enetc_isc_rxd_available(void*, uint16_t, qidx_t, qidx_t); 87 static void enetc_isc_rxd_flush(void*, uint16_t, uint8_t, qidx_t); 960 qidx_t cidx, pidx; in enetc_disable_txq() 1098 qidx_t pidx, queue_len; in enetc_isc_txd_encap() 1099 qidx_t i = 0; in enetc_isc_txd_encap() 1151 enetc_isc_txd_flush(void *data, uint16_t qid, qidx_t pidx) in enetc_isc_txd_flush() 1195 enetc_isc_rxd_available(void *data, uint16_t qid, qidx_t pidx, qidx_t budget) in enetc_isc_rxd_available() 1199 qidx_t hw_pidx, queue_len; in enetc_isc_rxd_available() 1233 qidx_t cidx, queue_len; in enetc_isc_rxd_pkt_get() [all …]
|
H A D | enetc.h | 52 qidx_t cidx; 58 qidx_t pidx;
|
/freebsd/sys/dev/axgbe/ |
H A D | xgbe-txrx.c | 41 static void axgbe_isc_txd_flush(void *, uint16_t, qidx_t); 44 static void axgbe_isc_rxd_flush(void *, uint16_t, uint8_t, qidx_t); 45 static int axgbe_isc_rxd_available(void *, uint16_t, qidx_t, qidx_t); 369 axgbe_isc_txd_flush(void *arg, uint16_t txqid, qidx_t pidx) in axgbe_isc_txd_flush() 534 axgbe_isc_rxd_flush(void *arg, uint16_t qsidx, uint8_t flidx, qidx_t pidx) in axgbe_isc_rxd_flush() 558 axgbe_isc_rxd_available(void *arg, uint16_t qsidx, qidx_t idx, qidx_t budget) in axgbe_isc_rxd_available()
|
/freebsd/sys/dev/mgb/ |
H A D | if_mgb.c | 122 uint16_t, qidx_t); 126 uint16_t, qidx_t, qidx_t); 132 uint16_t, uint8_t, qidx_t); 966 qidx_t pidx, nsegs; in mgb_isc_txd_encap() 1004 mgb_isc_txd_flush(void *xsc, uint16_t txqid, qidx_t pidx) in mgb_isc_txd_flush() 1053 mgb_isc_rxd_available(void *xsc, uint16_t rxqid, qidx_t idx, qidx_t budget) in mgb_isc_rxd_available() 1136 qidx_t *idxs; in mgb_isc_rxd_refill() 1137 qidx_t idx; in mgb_isc_rxd_refill() 1166 mgb_isc_rxd_flush(void *xsc, uint16_t rxqid, uint8_t flid, qidx_t pidx) in mgb_isc_rxd_flush()
|
/freebsd/sys/dev/vmware/vmxnet3/ |
H A D | if_vmx.c | 121 static void vmxnet3_isc_txd_flush(void *, uint16_t, qidx_t); 123 static int vmxnet3_isc_rxd_available(void *, uint16_t, qidx_t, qidx_t); 126 static void vmxnet3_isc_rxd_flush(void *, uint16_t, uint8_t, qidx_t); 1379 vmxnet3_isc_txd_flush(void *vsc, uint16_t txqid, qidx_t pidx) in vmxnet3_isc_txd_flush() 1450 vmxnet3_isc_rxd_available(void *vsc, uint16_t rxqid, qidx_t idx, qidx_t budget) in vmxnet3_isc_rxd_available() 1725 vmxnet3_isc_rxd_flush(void *vsc, uint16_t rxqid, uint8_t flid, qidx_t pidx) in vmxnet3_isc_rxd_flush()
|