Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/ocelot/
Dtc_flower_chains.sh285 local num_pkts=100
291 $MZ $eth3 -q -c $num_pkts -p 64 -a $eth3_mac -b $eth2_mac -t ip -A 10.1.1.2
295 if [ $((after - before)) = $num_pkts ]; then
/kernel/linux/linux-5.10/drivers/net/can/rcar/
Drcar_can.c682 int num_pkts; in rcar_can_rx_poll() local
684 for (num_pkts = 0; num_pkts < quota; num_pkts++) { in rcar_can_rx_poll()
702 if (num_pkts < quota) { in rcar_can_rx_poll()
703 napi_complete_done(napi, num_pkts); in rcar_can_rx_poll()
707 return num_pkts; in rcar_can_rx_poll()
Drcar_canfd.c1492 int num_pkts; in rcar_canfd_rx_poll() local
1497 for (num_pkts = 0; num_pkts < quota; num_pkts++) { in rcar_canfd_rx_poll()
1512 if (num_pkts < quota) { in rcar_canfd_rx_poll()
1513 if (napi_complete_done(napi, num_pkts)) { in rcar_canfd_rx_poll()
1519 return num_pkts; in rcar_canfd_rx_poll()
/kernel/linux/linux-5.10/tools/testing/selftests/net/
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()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/
Dxdp.c183 .num_pkts = 0, in mlx5e_xdpsq_get_next_pi()
231 wi->num_pkts = session->pkt_count; in mlx5e_xdp_mpwqe_complete()
374 for (i = 0; i < wi->num_pkts; i++) { in mlx5e_free_xdpsq_desc()
Dxdp.h136 u8 num_pkts; member
/kernel/linux/linux-5.10/drivers/usb/mtu3/
Dmtu3_core.c373 int num_pkts; in mtu3_config_ep() local
388 num_pkts = (burst + 1) * (mult + 1) - 1; in mtu3_config_ep()
390 csr1 |= TX_MAX_PKT(gen2cp, num_pkts) | TX_MULT(gen2cp, mult); in mtu3_config_ep()
424 num_pkts = (burst + 1) * (mult + 1) - 1; in mtu3_config_ep()
426 csr1 |= RX_MAX_PKT(gen2cp, num_pkts) | RX_MULT(gen2cp, mult); in mtu3_config_ep()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
Dtx.c60 wi->num_pkts = 1; in mlx5e_xsk_tx_post_err()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dif_packet.h175 __u32 num_pkts; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dif_packet.h162 __u32 num_pkts; member
/kernel/linux/linux-5.10/include/uapi/linux/
Dif_packet.h192 __u32 num_pkts; member
/kernel/linux/linux-5.10/drivers/net/ethernet/qualcomm/emac/
Demac-mac.h229 int *num_pkts, int max_pkts);
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()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
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()
Dath9k.h307 u32 num_pkts; member
Drecv.c943 sc->rx.num_pkts++; in ath9k_rx_skb_preprocess()
/kernel/linux/linux-5.10/drivers/net/vmxnet3/
Dvmxnet3_drv.c1028 int num_pkts; in vmxnet3_tq_xmit() local
1146 num_pkts = (skb->len - gdesc->txd.hlen + ctx.mss - 1) / ctx.mss; in vmxnet3_tq_xmit()
1165 num_pkts = 1; in vmxnet3_tq_xmit()
1167 le32_add_cpu(&tq->shared->txNumDeferred, num_pkts); in vmxnet3_tq_xmit()
1168 tx_num_deferred += num_pkts; in vmxnet3_tq_xmit()
1365 u32 num_pkts = 0; in vmxnet3_rq_rx_complete() local
1386 if (num_pkts >= quota) { in vmxnet3_rq_rx_complete()
1626 num_pkts++; in vmxnet3_rq_rx_complete()
1663 return num_pkts; in vmxnet3_rq_rx_complete()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_ethtool.c2488 unsigned int pkt_size, num_pkts, i; in bnx2x_run_loopback() local
2569 num_pkts = 0; in bnx2x_run_loopback()
2625 num_pkts++; in bnx2x_run_loopback()
2631 if (tx_idx != tx_start_idx + num_pkts) in bnx2x_run_loopback()
2649 if (rx_idx != rx_start_idx + num_pkts) in bnx2x_run_loopback()
/kernel/linux/linux-5.10/Documentation/networking/
Dpacket_mmap.rst920 int num_pkts = pbd->h1.num_pkts, i;
926 for (i = 0; i < num_pkts; ++i) {
934 packets_total += num_pkts;
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath6kl/
Dhtc_mbox.c2142 u32 msg_look_ahead, int *num_pkts) in ath6kl_htc_rxmsg_pending_handler() argument
2154 *num_pkts = 0; in ath6kl_htc_rxmsg_pending_handler()
2250 *num_pkts = n_fetched; in ath6kl_htc_rxmsg_pending_handler()
/kernel/linux/linux-5.10/drivers/net/ethernet/emulex/benet/
Dbe_cmds.h1577 u32 num_pkts; member
2445 u32 loopback_type, u32 pkt_size, u32 num_pkts,
Dbe_cmds.c3288 u32 loopback_type, u32 pkt_size, u32 num_pkts, in be_cmd_loopback_test() argument
3319 req->num_pkts = cpu_to_le32(num_pkts); in be_cmd_loopback_test()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/
Dbnx2.c5803 unsigned int pkt_size, num_pkts, i; in bnx2_run_loopback() local
5860 num_pkts = 0; in bnx2_run_loopback()
5869 num_pkts++; in bnx2_run_loopback()
5892 if (rx_idx != rx_start_idx + num_pkts) { in bnx2_run_loopback()
Dtg3.c13432 int num_pkts, tx_len, rx_len, i, err; in tg3_run_loopback() local
13471 num_pkts = DIV_ROUND_UP(val, TG3_TSO_MSS); in tg3_run_loopback()
13505 num_pkts = 1; in tg3_run_loopback()
13561 (rx_idx == (rx_start_idx + num_pkts))) in tg3_run_loopback()
13571 if (rx_idx != rx_start_idx + num_pkts) in tg3_run_loopback()
/kernel/linux/linux-5.10/net/packet/
Daf_packet.c179 #define BLOCK_NUM_PKTS(x) ((x)->hdr.bh1.num_pkts)

12