Home
last modified time | relevance | path

Searched refs:PKT_SIZE (Results 1 – 18 of 18) sorted by relevance

/linux-5.19.10/samples/pktgen/
Dparameters.sh37 export PKT_SIZE=$OPTARG
38 info "Packet size set to: PKT_SIZE=$PKT_SIZE bytes"
103 if [ -z "$PKT_SIZE" ]; then
105 export PKT_SIZE=60
106 info "Default packet size set to: set to: $PKT_SIZE bytes"
Dpktgen_bench_xmit_mode_netif_receive.sh69 pg_set $dev "pkt_size $PKT_SIZE"
Dpktgen_bench_xmit_mode_queue_xmit.sh52 pg_set $dev "pkt_size $PKT_SIZE"
Dpktgen_sample01_simple.sh55 pg_set $DEV "pkt_size $PKT_SIZE"
Dpktgen_sample05_flow_per_thread.sh51 pg_set $dev "pkt_size $PKT_SIZE"
Dpktgen_sample03_burst_single_flow.sh60 pg_set $dev "pkt_size $PKT_SIZE"
Dpktgen_sample02_multiqueue.sh60 pg_set $dev "pkt_size $PKT_SIZE"
Dpktgen_sample04_many_flows.sh61 pg_set $dev "pkt_size $PKT_SIZE"
Dpktgen_sample06_numa_awared_queue_irq_affinity.sh77 pg_set $dev "pkt_size $PKT_SIZE"
DREADME.rst20 -s : ($PKT_SIZE) packet size
/linux-5.19.10/drivers/usb/mon/
Dmon_bin.c162 #define PKT_SIZE 64 macro
388 memset(ep, 0, PKT_SIZE); in mon_buff_area_fill()
390 ep->len_cap = size - PKT_SIZE; in mon_buff_area_fill()
550 length + PKT_SIZE + lendesc); in mon_bin_event()
552 offset = mon_buff_area_alloc(rp, length + PKT_SIZE + lendesc); in mon_bin_event()
561 if ((offset += PKT_SIZE) >= rp->b_size) offset = 0; in mon_bin_event()
566 memset(ep, 0, PKT_SIZE); in mon_bin_event()
644 offset = mon_buff_area_alloc(rp, PKT_SIZE); in mon_bin_error()
653 memset(ep, 0, PKT_SIZE); in mon_bin_error()
762 if ((offset = rp->b_out + PKT_SIZE) >= rp->b_size) offset = 0; in mon_bin_get_event()
[all …]
/linux-5.19.10/tools/testing/selftests/bpf/
Dxdpxceiver.c755 pkt_dump(data, PKT_SIZE); in is_pkt_valid()
1363 pkt_stream_replace(test, DEFAULT_UMEM_BUFFERS + DEFAULT_UMEM_BUFFERS / 2, PKT_SIZE); in testapp_stats_rx_full()
1365 DEFAULT_UMEM_BUFFERS, PKT_SIZE); in testapp_stats_rx_full()
1380 pkt_stream_replace(test, DEFAULT_UMEM_BUFFERS + DEFAULT_UMEM_BUFFERS / 2, PKT_SIZE); in testapp_stats_fill_empty()
1382 DEFAULT_UMEM_BUFFERS, PKT_SIZE); in testapp_stats_fill_empty()
1419 pkt_stream_replace_half(test, PKT_SIZE, -PKT_SIZE / 2); in testapp_unaligned()
1429 struct pkt pkts[] = {{0x1000, PKT_SIZE, 0, true}}; in testapp_single_pkt()
1440 {0, PKT_SIZE, 0, true}, in testapp_invalid_desc()
1442 {0x1000, PKT_SIZE, 0, true}, in testapp_invalid_desc()
1444 {-2, PKT_SIZE, 0, false}, in testapp_invalid_desc()
[all …]
Dxdpxceiver.h41 #define PKT_SIZE (MIN_PKT_SIZE) macro
42 #define IP_PKT_SIZE (PKT_SIZE - sizeof(struct ethhdr))
/linux-5.19.10/drivers/net/ethernet/apm/xgene-v2/
Dmain.c166 (GET_BITS(PKT_SIZE, le64_to_cpu(raw_desc->m0)) == SLOT_EMPTY)) in is_tx_slot_available()
217 SET_BITS(PKT_SIZE, len) | in xge_start_xmit()
230 !GET_BITS(PKT_SIZE, le64_to_cpu(raw_desc->m0))) in is_tx_hw_done()
273 SET_BITS(PKT_SIZE, SLOT_EMPTY)); in xge_txc_poll()
317 len = GET_BITS(PKT_SIZE, le64_to_cpu(raw_desc->m0)); in xge_rx_poll()
Dring.c27 SET_BITS(PKT_SIZE, SLOT_EMPTY)); in xge_setup_desc()
/linux-5.19.10/samples/bpf/
Dxdpsock_user.c856 #define PKT_SIZE (opt_pkt_size - ETH_FCS_SIZE) macro
857 #define IP_PKT_SIZE (PKT_SIZE - ETH_HDR_SIZE)
947 PKT_SIZE); in gen_eth_frame()
1517 tx_desc->len = PKT_SIZE; in tx_only()
1531 hex_dump(pkt, PKT_SIZE, addr); in tx_only()
/linux-5.19.10/drivers/mtd/nand/raw/
Darasan-nand-controller.c30 #define PKT_SIZE(x) FIELD_PREP(GENMASK(10, 0), (x)) macro
404 PKT_SIZE(chip->ecc.size) | in anfc_read_page_hw_ecc()
521 PKT_SIZE(chip->ecc.size) | in anfc_write_page_hw_ecc()
656 nfc_op->pkt_reg |= PKT_SIZE(round_up(pktsize, 4)) | in anfc_parse_instructions()
/linux-5.19.10/Documentation/networking/
Dpktgen.rst250 -s : ($PKT_SIZE) packet size