Home
last modified time | relevance | path

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

12

/linux/tools/testing/selftests/drivers/net/hw/
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)) ]
/linux/tools/testing/selftests/net/forwarding/
H A Dtsn_lib.sh185 local num_pkts=$1; shift
233 --num-frames ${num_pkts} \
/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/drivers/net/can/rcar/
H A Drcar_can.c678 int num_pkts; in rcar_can_rx_poll() local
680 for (num_pkts = 0; num_pkts < quota; num_pkts++) { in rcar_can_rx_poll()
698 if (num_pkts < quota) { in rcar_can_rx_poll()
699 napi_complete_done(napi, num_pkts); in rcar_can_rx_poll()
703 return num_pkts; in rcar_can_rx_poll()
H A Drcar_canfd.c1646 int num_pkts; in rcar_canfd_rx_poll() local
1651 for (num_pkts = 0; num_pkts < quota; num_pkts++) { in rcar_canfd_rx_poll()
1666 if (num_pkts < quota) { in rcar_canfd_rx_poll()
1667 if (napi_complete_done(napi, num_pkts)) { in rcar_canfd_rx_poll()
1673 return num_pkts; in rcar_canfd_rx_poll()
/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()
H A Dtoeplitz.c231 for (i = 0; i < block->hdr.bh1.num_pkts; i++) { in recv_block()
/linux/drivers/usb/mtu3/
H A Dmtu3_core.c412 int num_pkts; in mtu3_config_ep() local
427 num_pkts = (burst + 1) * (mult + 1) - 1; in mtu3_config_ep()
429 csr1 |= TX_MAX_PKT(gen2cp, num_pkts) | TX_MULT(gen2cp, mult); in mtu3_config_ep()
463 num_pkts = (burst + 1) * (mult + 1) - 1; in mtu3_config_ep()
465 csr1 |= RX_MAX_PKT(gen2cp, num_pkts) | RX_MULT(gen2cp, mult); in mtu3_config_ep()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
H A Dtx.c54 wi->num_pkts = 1; in mlx5e_xsk_tx_post_err()
/linux/include/uapi/linux/
H A Dif_packet.h195 __u32 num_pkts; member
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dxdp.c366 .num_pkts = 0, in mlx5e_xdpsq_get_next_pi()
414 wi->num_pkts = session->pkt_count; in mlx5e_xdp_mpwqe_complete()
641 .num_pkts = 1, in mlx5e_xmit_xdp_frame()
669 for (i = 0; i < wi->num_pkts; i++) { in mlx5e_free_xdpsq_desc()
H A Dxdp.h196 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()
H A Dath9k.h309 u32 num_pkts; member
H A Drecv.c943 sc->rx.num_pkts++; in ath9k_rx_skb_preprocess()
/linux/drivers/net/vmxnet3/
H A Dvmxnet3_drv.c1139 int num_pkts; in vmxnet3_tq_xmit() local
1279 num_pkts = (skb->len - gdesc->txd.hlen + ctx.mss - 1) / ctx.mss; in vmxnet3_tq_xmit()
1305 num_pkts = 1; in vmxnet3_tq_xmit()
1307 le32_add_cpu(&tq->shared->txNumDeferred, num_pkts); in vmxnet3_tq_xmit()
1308 tx_num_deferred += num_pkts; in vmxnet3_tq_xmit()
1570 u32 num_pkts = 0; in vmxnet3_rq_rx_complete() local
1594 if (num_pkts >= quota) { in vmxnet3_rq_rx_complete()
1910 num_pkts++; in vmxnet3_rq_rx_complete()
1975 return num_pkts; in vmxnet3_rq_rx_complete()
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_ethtool.c2494 unsigned int pkt_size, num_pkts, i; in bnx2x_run_loopback() local
2575 num_pkts = 0; in bnx2x_run_loopback()
2631 num_pkts++; in bnx2x_run_loopback()
2637 if (tx_idx != tx_start_idx + num_pkts) in bnx2x_run_loopback()
2655 if (rx_idx != rx_start_idx + num_pkts) in bnx2x_run_loopback()
/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/emulex/benet/
H A Dbe_cmds.h1577 u32 num_pkts; member
2443 u32 loopback_type, u32 pkt_size, u32 num_pkts,
H A Dbe_cmds.c3289 u32 loopback_type, u32 pkt_size, u32 num_pkts, in be_cmd_loopback_test() argument
3320 req->num_pkts = cpu_to_le32(num_pkts); in be_cmd_loopback_test()
/linux/drivers/net/ethernet/broadcom/
H A Dbnx2.c5788 unsigned int pkt_size, num_pkts, i; in bnx2_run_loopback() local
5845 num_pkts = 0; in bnx2_run_loopback()
5854 num_pkts++; in bnx2_run_loopback()
5877 if (rx_idx != rx_start_idx + num_pkts) { in bnx2_run_loopback()
H A Dtg3.c13486 int num_pkts, tx_len, rx_len, i, err; in tg3_run_loopback() local
13525 num_pkts = DIV_ROUND_UP(val, TG3_TSO_MSS); in tg3_run_loopback()
13559 num_pkts = 1; in tg3_run_loopback()
13615 (rx_idx == (rx_start_idx + num_pkts))) in tg3_run_loopback()
13625 if (rx_idx != rx_start_idx + num_pkts) in tg3_run_loopback()

12