Home
last modified time | relevance | path

Searched refs:packet_count (Results 1 – 25 of 48) sorted by relevance

12

/linux-6.3-rc2/drivers/net/usb/
A Dgl620a.c63 __le32 packet_count; member
82 count = le32_to_cpu(header->packet_count); in genelink_rx_fixup()
142 __le32 *packet_count; in genelink_tx_fixup() local
165 packet_count = skb_push(skb, (4 + 4 * 1)); in genelink_tx_fixup()
166 packet_len = packet_count + 1; in genelink_tx_fixup()
168 *packet_count = cpu_to_le32(1); in genelink_tx_fixup()
/linux-6.3-rc2/arch/alpha/kernel/
A Derr_common.c93 int packet_count = 0; in el_process_header_subpacket() local
107 packet_count = in el_process_header_subpacket()
114 packet_count = in el_process_header_subpacket()
121 packet_count = in el_process_header_subpacket()
128 packet_count = 1; in el_process_header_subpacket()
148 el_process_subpackets(header, packet_count); in el_process_header_subpacket()
180 el_process_subpackets(struct el_subpacket *header, int packet_count) in el_process_subpackets() argument
188 for (i = 0; subpacket && i < packet_count; i++) { in el_process_subpackets()
/linux-6.3-rc2/drivers/net/ethernet/sfc/
A Dselftest.c82 int packet_count; member
418 for (i = 0; i < state->packet_count; i++) { in efx_begin_loopback()
445 i + 1, state->packet_count, in efx_begin_loopback()
477 for (i = 0; i < state->packet_count; i++) { in efx_end_loopback()
489 if (tx_done != state->packet_count) { in efx_end_loopback()
503 if (rx_good != state->packet_count) { in efx_end_loopback()
532 state->packet_count = efx->txq_entries / 3; in efx_test_loopback()
533 state->packet_count = min(1 << (i << 2), state->packet_count); in efx_test_loopback()
534 state->skbs = kcalloc(state->packet_count, in efx_test_loopback()
543 state->packet_count); in efx_test_loopback()
[all …]
A Dtc_counters.c327 u64 packet_count, byte_count; in efx_tc_rx_version_1() local
331 packet_count = le32_to_cpu(*(const __le32 *)(entry + 4)) | in efx_tc_rx_version_1()
336 packet_count, byte_count, mark); in efx_tc_rx_version_1()
407 u64 packet_count, byte_count; in efx_tc_rx_version_2() local
419 packet_count = efx_tc_read48((const __le16 *)packet_count_p); in efx_tc_rx_version_2()
432 if (packet_count || byte_count != 1) in efx_tc_rx_version_2()
435 packet_count, byte_count); in efx_tc_rx_version_2()
440 efx_tc_counter_update(efx, type, counter_idx, packet_count, in efx_tc_rx_version_2()
/linux-6.3-rc2/drivers/net/ethernet/sfc/siena/
A Dselftest.c82 int packet_count; member
418 for (i = 0; i < state->packet_count; i++) { in efx_begin_loopback()
445 i + 1, state->packet_count, in efx_begin_loopback()
477 for (i = 0; i < state->packet_count; i++) { in efx_end_loopback()
489 if (tx_done != state->packet_count) { in efx_end_loopback()
503 if (rx_good != state->packet_count) { in efx_end_loopback()
532 state->packet_count = efx->txq_entries / 3; in efx_test_loopback()
533 state->packet_count = min(1 << (i << 2), state->packet_count); in efx_test_loopback()
534 state->skbs = kcalloc(state->packet_count, in efx_test_loopback()
543 state->packet_count); in efx_test_loopback()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/sfc/falcon/
A Dselftest.c79 int packet_count; member
420 for (i = 0; i < state->packet_count; i++) { in ef4_begin_loopback()
447 i + 1, state->packet_count, in ef4_begin_loopback()
479 for (i = 0; i < state->packet_count; i++) { in ef4_end_loopback()
491 if (tx_done != state->packet_count) { in ef4_end_loopback()
505 if (rx_good != state->packet_count) { in ef4_end_loopback()
534 state->packet_count = efx->txq_entries / 3; in ef4_test_loopback()
535 state->packet_count = min(1 << (i << 2), state->packet_count); in ef4_test_loopback()
536 state->skbs = kcalloc(state->packet_count, in ef4_test_loopback()
545 state->packet_count); in ef4_test_loopback()
[all …]
/linux-6.3-rc2/arch/um/drivers/
A Dvector_kern.c958 int packet_count, i; in vector_mmsg_rx() local
976 packet_count = uml_vector_recvmmsg( in vector_mmsg_rx()
979 if (packet_count < 0) in vector_mmsg_rx()
982 if (packet_count <= 0) in vector_mmsg_rx()
983 return packet_count; in vector_mmsg_rx()
990 qi->queue_depth = packet_count; in vector_mmsg_rx()
992 for (i = 0; i < packet_count; i++) { in vector_mmsg_rx()
1039 if (packet_count > 0) { in vector_mmsg_rx()
1040 if (vp->estats.rx_queue_max < packet_count) in vector_mmsg_rx()
1041 vp->estats.rx_queue_max = packet_count; in vector_mmsg_rx()
[all …]
/linux-6.3-rc2/tools/perf/util/cs-etm-decoder/
A Dcs-etm-decoder.c103 if (packet_queue->packet_count == 0) in cs_etm_decoder__get_packet()
119 packet_queue->packet_count--; in cs_etm_decoder__get_packet()
398 if (packet_queue->packet_count >= CS_ETM_PACKET_MAX_BUFFER - 1) in cs_etm_decoder__buffer_packet()
407 packet_queue->packet_count++; in cs_etm_decoder__buffer_packet()
424 if (packet_queue->packet_count == CS_ETM_PACKET_MAX_BUFFER - 1) in cs_etm_decoder__buffer_packet()
/linux-6.3-rc2/drivers/net/wireless/intel/iwlegacy/
A D3945-rs.c175 u32 packet_count, duration, pps; in il3945_bg_rate_scale_flush() local
184 packet_count = (rs_sta->tx_packets - rs_sta->last_tx_packets) + 1; in il3945_bg_rate_scale_flush()
192 D_RATE("Tx'd %d packets in %dms\n", packet_count, duration); in il3945_bg_rate_scale_flush()
196 pps = (packet_count * 1000) / duration; in il3945_bg_rate_scale_flush()
212 packet_count); in il3945_bg_rate_scale_flush()
/linux-6.3-rc2/drivers/net/ethernet/microchip/
A Dencx24j600.c359 static void encx24j600_rx_packets(struct encx24j600_priv *priv, u8 packet_count) in encx24j600_rx_packets() argument
363 while (packet_count--) { in encx24j600_rx_packets()
430 u8 packet_count; in encx24j600_isr() local
434 packet_count = encx24j600_read_reg(priv, ESTAT) & 0xff; in encx24j600_isr()
435 while (packet_count) { in encx24j600_isr()
436 encx24j600_rx_packets(priv, packet_count); in encx24j600_isr()
437 packet_count = encx24j600_read_reg(priv, ESTAT) & 0xff; in encx24j600_isr()
/linux-6.3-rc2/drivers/net/ethernet/chelsio/cxgb4/
A Dcxgb4_tc_flower.h42 u64 packet_count; member
A Dcxgb4_tc_flower.c1084 if (ofld_stats->packet_count != packets) { in cxgb4_tc_flower_stats()
1088 packets - ofld_stats->packet_count, 0, in cxgb4_tc_flower_stats()
1092 ofld_stats->packet_count = packets; in cxgb4_tc_flower_stats()
/linux-6.3-rc2/drivers/media/pci/pt1/
A Dpt1.c96 int packet_count; member
469 offset = adap->packet_count * 188 + adap->upacket_count * 3; in pt1_filter()
477 if (++adap->packet_count >= 21) { in pt1_filter()
479 adap->packet_count = 0; in pt1_filter()
855 adap->packet_count = 0; in pt1_alloc_adapter()
1295 pt1->adaps[i]->packet_count = 0; in pt1_resume()
/linux-6.3-rc2/sound/firewire/
A Damdtp-stream.c906 const __be32 *ctx_header, unsigned int packet_count, in generate_tx_packet_descs() argument
921 for (i = 0; i < packet_count; ++i) { in generate_tx_packet_descs()
1002 const __be32 *ctx_header, unsigned int packet_count) in generate_rx_packet_descs() argument
1011 pool_seq_descs(s, seq_descs, seq_size, seq_pos, packet_count); in generate_rx_packet_descs()
1013 for (i = 0; i < packet_count; ++i) { in generate_rx_packet_descs()
1304 unsigned int packet_count; in process_tx_packets() local
1313 packet_count = header_length / s->ctx_data.tx.ctx_header_size; in process_tx_packets()
1316 err = generate_tx_packet_descs(s, desc, ctx_header, packet_count, &desc_count); in process_tx_packets()
1335 for (i = 0; i < packet_count; ++i) { in process_tx_packets()
/linux-6.3-rc2/drivers/usb/dwc2/
A Dhcd_ddma.c539 if (qtd->isoc_frame_index_last == qtd->urb->packet_count) in dwc2_fill_host_isoc_dma_desc()
595 qtd->urb->packet_count) in dwc2_init_isoc_dma_desc()
600 qtd->urb->packet_count) { in dwc2_init_isoc_dma_desc()
903 if (++qtd->isoc_frame_index == qtd->urb->packet_count) { in dwc2_cmpl_host_isoc_dma_desc()
967 for (idx = 0; idx < qtd->urb->packet_count; in dwc2_complete_isoc_xfer_ddma()
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
A Ddm.c676 u32 packet_count; in rtl92ee_dm_dynamic_atc_switch() local
705 packet_count = rtldm->packet_count; in rtl92ee_dm_dynamic_atc_switch()
707 if (packet_count == rtldm->packet_count_pre) in rtl92ee_dm_dynamic_atc_switch()
710 rtldm->packet_count_pre = packet_count; in rtl92ee_dm_dynamic_atc_switch()
A Dtrx.c196 if (rtl_priv(hw)->dm.packet_count == 0xffffffff) in _rtl92ee_query_rxphystatus()
197 rtl_priv(hw)->dm.packet_count = 0; in _rtl92ee_query_rxphystatus()
199 rtl_priv(hw)->dm.packet_count++; in _rtl92ee_query_rxphystatus()
/linux-6.3-rc2/tools/perf/util/
A Dcs-etm.h191 u32 packet_count; member
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
A Ddm.c1112 u32 packet_count; in rtl8723be_dm_dynamic_atc_switch() local
1139 packet_count = rtldm->packet_count; in rtl8723be_dm_dynamic_atc_switch()
1141 if (packet_count == rtldm->packet_count_pre) in rtl8723be_dm_dynamic_atc_switch()
1144 rtldm->packet_count_pre = packet_count; in rtl8723be_dm_dynamic_atc_switch()
A Dtrx.c170 if (rtl_priv(hw)->dm.packet_count == 0xffffffff) in _rtl8723be_query_rxphystatus()
171 rtl_priv(hw)->dm.packet_count = 0; in _rtl8723be_query_rxphystatus()
173 rtl_priv(hw)->dm.packet_count++; in _rtl8723be_query_rxphystatus()
/linux-6.3-rc2/drivers/net/ethernet/synopsys/
A Ddwc-xlgmac-net.c1120 int packet_count = 0; in xlgmac_rx_poll() local
1135 while (packet_count < budget) { in xlgmac_rx_poll()
1262 packet_count++; in xlgmac_rx_poll()
1274 XLGMAC_PR("packet_count = %d\n", packet_count); in xlgmac_rx_poll()
1276 return packet_count; in xlgmac_rx_poll()
/linux-6.3-rc2/net/openvswitch/
A Dflow.c103 new_stats->packet_count = 1; in ovs_flow_stats_update()
120 stats->packet_count++; in ovs_flow_stats_update()
151 ovs_stats->n_packets += stats->packet_count; in ovs_flow_stats_get()
171 stats->packet_count = 0; in ovs_flow_stats_clear()
A Dflow.h214 u64 packet_count; /* Number of packets matched. */ member
/linux-6.3-rc2/drivers/net/wireless/intel/iwlwifi/dvm/
A Drs.h305 u32 packet_count[TID_QUEUE_MAX_SIZE]; /* packet count in this time member
/linux-6.3-rc2/drivers/infiniband/hw/hfi1/
A Dtrace.c499 unsigned long packet_count = atomic_fetch_inc(&hist.count); in hfi1_trace_print_rsm_hist() local
501 trace_seq_printf(p, "packet[%lu]", packet_count); in hfi1_trace_print_rsm_hist()

Completed in 77 milliseconds

12