/linux/tools/testing/selftests/drivers/net/hw/ |
H A D | ethtool_mm.sh | 24 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 D | tsn_lib.sh | 185 local num_pkts=$1; shift 233 --num-frames ${num_pkts} \
|
/linux/tools/testing/selftests/drivers/net/ocelot/ |
H A D | tc_flower_chains.sh | 320 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 D | rcar_can.c | 678 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 D | rcar_canfd.c | 1646 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 D | psock_tpacket.c | 525 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 D | toeplitz.c | 231 for (i = 0; i < block->hdr.bh1.num_pkts; i++) { in recv_block()
|
/linux/drivers/usb/mtu3/ |
H A D | mtu3_core.c | 412 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 D | tx.c | 54 wi->num_pkts = 1; in mlx5e_xsk_tx_post_err()
|
/linux/include/uapi/linux/ |
H A D | if_packet.h | 195 __u32 num_pkts; member
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | xdp.c | 366 .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 D | xdp.h | 196 u8 num_pkts; member
|
/linux/drivers/net/ethernet/qualcomm/emac/ |
H A D | emac-mac.h | 229 int *num_pkts, int max_pkts);
|
H A D | emac-mac.c | 1088 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 D | gpio.c | 181 (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 D | ath9k.h | 309 u32 num_pkts; member
|
H A D | recv.c | 943 sc->rx.num_pkts++; in ath9k_rx_skb_preprocess()
|
/linux/drivers/net/vmxnet3/ |
H A D | vmxnet3_drv.c | 1139 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 D | bnx2x_ethtool.c | 2494 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 D | packet_mmap.rst | 920 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 D | htc_mbox.c | 2141 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 D | be_cmds.h | 1577 u32 num_pkts; member 2443 u32 loopback_type, u32 pkt_size, u32 num_pkts,
|
H A D | be_cmds.c | 3289 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 D | bnx2.c | 5788 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 D | tg3.c | 13486 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()
|