Home
last modified time | relevance | path

Searched refs:num_pkts (Results 1 – 21 of 21) sorted by relevance

/linux/tools/testing/selftests/drivers/net/hw/
H A Dethtool_std_stats.sh91 local num_pkts=1000
94 counters=("$h1 eth-ctrl MACControlFramesTransmitted $num_pkts 0")
95 traffic_test "$h1" "$h2" "$num_pkts" "$pkt_format" \
98 counters=("$h1 eth-ctrl MACControlFramesReceived $num_pkts 0")
99 traffic_test "$h2" "$h1" "$num_pkts" "$pkt_format" \
110 local num_pkts=2000
111 local octets=$((pkt_size_fcs * num_pkts))
124 traffic_test "$h1" "$h2" "$num_pkts" "$bcast_pkt_format" \
133 traffic_test "$h1" "$h2" "$num_pkts" "$bcast_pkt_format" \
136 counters=("$h1 eth-mac BroadcastFramesXmittedOK $num_pkts 0"
[all …]
H A Dethtool_mm.sh24 local num_pkts=10000
35 $MZ $if -q -c $num_pkts -p 64 -b bcast -t ip -R $PREEMPTIBLE_PRIO
42 [ $delta -ge $num_pkts ] && [ $delta -le $((num_pkts + 100)) ]
H A Dtoeplitz.c245 for (i = 0; i < block->hdr.bh1.num_pkts; i++) { in recv_block()
/linux/tools/testing/selftests/drivers/net/ocelot/
H A Dtc_flower_chains.sh320 local num_pkts=100
324 $MZ $h1 -q -c $num_pkts -p 64 -a $h1_mac -b $h2_mac -t ip -A 10.1.1.2
328 if [ $((after - before)) = $num_pkts ]; then
/linux/tools/testing/selftests/net/forwarding/
H A Dtsn_lib.sh189 local num_pkts=$1; shift
241 --num-frames ${num_pkts} \
/linux/tools/testing/selftests/net/
H A Dpsock_tpacket.c525 if (pbd->h1.num_pkts && bytes != pbd->h1.blk_len) { in __v3_test_block_len()
528 pbd->h1.num_pkts, bytes, pbd->h1.blk_len); in __v3_test_block_len()
545 int num_pkts = pbd->h1.num_pkts, i; in __v3_walk_block() local
554 for (i = 0; i < num_pkts; ++i) { in __v3_walk_block()
/linux/drivers/net/wireless/morsemicro/mm81x/
H A Dyaps.h61 int num_pkts, int *num_pkts_sent);
H A Dyaps_hw.c309 struct mm81x_yaps_pkt *pkts, int num_pkts, in mm81x_yaps_hw_write_pkts() argument
338 for (i = 0; i < num_pkts; ++i) { in mm81x_yaps_hw_write_pkts()
361 if ((i + 1) == num_pkts) { in mm81x_yaps_hw_write_pkts()
H A Dyaps.c52 struct mm81x_yaps_pkt *pkts, int num_pkts, in mm81x_yaps_write_pkts() argument
55 return yaps->ops->write_pkts(yaps, pkts, num_pkts, num_pkts_sent); in mm81x_yaps_write_pkts()
/linux/include/uapi/linux/
H A Dif_packet.h195 __u32 num_pkts; member
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dxdp.c373 .num_pkts = 0, in mlx5e_xdpsq_get_next_pi()
422 wi->num_pkts = session->pkt_count; in mlx5e_xdp_mpwqe_complete()
650 .num_pkts = 1, in mlx5e_xmit_xdp_frame()
675 for (i = 0; i < wi->num_pkts; i++) { in mlx5e_free_xdpsq_desc()
H A Dxdp.h191 u8 num_pkts; member
/linux/drivers/net/ethernet/qualcomm/emac/
H A Demac-mac.h229 int *num_pkts, int max_pkts);
H A Demac-mac.c1088 int *num_pkts, int max_pkts) in emac_mac_rx_process() argument
1155 (*num_pkts)++; in emac_mac_rx_process()
1156 } while (*num_pkts < max_pkts); in emac_mac_rx_process()
/linux/drivers/net/wireless/ath/ath9k/
H A Dgpio.c181 (sc->rx.num_pkts < ATH_BTCOEX_STOMP_FTP_THRESH); in ath_mci_ftp_adjust()
185 sc->rx.num_pkts = 0; in ath_mci_ftp_adjust()
/linux/drivers/net/can/rcar/
H A Drcar_canfd.c1771 int num_pkts; in rcar_canfd_rx_poll() local
1776 for (num_pkts = 0; num_pkts < quota; num_pkts++) { in rcar_canfd_rx_poll()
1791 if (num_pkts < quota) { in rcar_canfd_rx_poll()
1792 if (napi_complete_done(napi, num_pkts)) { in rcar_canfd_rx_poll()
1798 return num_pkts; in rcar_canfd_rx_poll()
/linux/drivers/net/vmxnet3/
H A Dvmxnet3_drv.c1151 int num_pkts; in vmxnet3_tq_xmit() local
1291 num_pkts = (skb->len - gdesc->txd.hlen + ctx.mss - 1) / ctx.mss; in vmxnet3_tq_xmit()
1317 num_pkts = 1; in vmxnet3_tq_xmit()
1319 le32_add_cpu(&tq->shared->txNumDeferred, num_pkts); in vmxnet3_tq_xmit()
1320 tx_num_deferred += num_pkts; in vmxnet3_tq_xmit()
1616 u32 num_pkts = 0; in vmxnet3_rq_rx_complete() local
1640 if (num_pkts >= quota) { in vmxnet3_rq_rx_complete()
1958 num_pkts++; in vmxnet3_rq_rx_complete()
2023 return num_pkts; in vmxnet3_rq_rx_complete()
/linux/Documentation/networking/
H A Dpacket_mmap.rst920 int num_pkts = pbd->h1.num_pkts, i;
926 for (i = 0; i < num_pkts; ++i) {
934 packets_total += num_pkts;
/linux/drivers/net/wireless/ath/ath6kl/
H A Dhtc_mbox.c2141 u32 msg_look_ahead, int *num_pkts) in ath6kl_htc_rxmsg_pending_handler() argument
2153 *num_pkts = 0; in ath6kl_htc_rxmsg_pending_handler()
2249 *num_pkts = n_fetched; in ath6kl_htc_rxmsg_pending_handler()
/linux/drivers/net/ethernet/broadcom/
H A Dtg3.c13502 int num_pkts, tx_len, rx_len, i, err; in tg3_run_loopback() local
13541 num_pkts = DIV_ROUND_UP(val, TG3_TSO_MSS); in tg3_run_loopback()
13575 num_pkts = 1; in tg3_run_loopback()
13631 (rx_idx == (rx_start_idx + num_pkts))) in tg3_run_loopback()
13641 if (rx_idx != rx_start_idx + num_pkts) in tg3_run_loopback()
/linux/net/packet/
H A Daf_packet.c186 #define BLOCK_NUM_PKTS(x) ((x)->hdr.bh1.num_pkts)