/linux/samples/pktgen/ |
A D | parameters.sh | 37 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"
|
A D | pktgen_bench_xmit_mode_netif_receive.sh | 69 pg_set $dev "pkt_size $PKT_SIZE"
|
A D | pktgen_bench_xmit_mode_queue_xmit.sh | 52 pg_set $dev "pkt_size $PKT_SIZE"
|
A D | pktgen_sample01_simple.sh | 55 pg_set $DEV "pkt_size $PKT_SIZE"
|
A D | pktgen_sample02_multiqueue.sh | 60 pg_set $dev "pkt_size $PKT_SIZE"
|
A D | pktgen_sample03_burst_single_flow.sh | 60 pg_set $dev "pkt_size $PKT_SIZE"
|
A D | pktgen_sample05_flow_per_thread.sh | 51 pg_set $dev "pkt_size $PKT_SIZE"
|
A D | pktgen_sample04_many_flows.sh | 61 pg_set $dev "pkt_size $PKT_SIZE"
|
A D | pktgen_sample06_numa_awared_queue_irq_affinity.sh | 77 pg_set $dev "pkt_size $PKT_SIZE"
|
A D | README.rst | 20 -s : ($PKT_SIZE) packet size
|
/linux/drivers/usb/mon/ |
A D | mon_bin.c | 162 #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() 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() 770 mon_buff_area_free(rp, PKT_SIZE + ep->len_cap); in mon_bin_get_event() 840 offset = rp->b_out + PKT_SIZE; in mon_bin_read() 934 size = ep->len_cap + PKT_SIZE; in mon_bin_fetch() [all …]
|
/linux/tools/testing/selftests/bpf/ |
A D | xdpxceiver.c | 571 if (!pkt->valid || pkt->len < PKT_SIZE) in pkt_generate() 673 if (len < PKT_SIZE) { in is_pkt_valid() 689 pkt_dump(data, PKT_SIZE); in is_pkt_valid() 1241 pkt_stream_replace_half(test, PKT_SIZE, -PKT_SIZE / 2); in testapp_unaligned() 1251 struct pkt pkts[] = {{0x1000, PKT_SIZE, 0, true}}; in testapp_single_pkt() 1266 {-2, PKT_SIZE, 0, false}, in testapp_invalid_desc() 1270 {UMEM_SIZE, PKT_SIZE, 0, false}, in testapp_invalid_desc() 1272 {UMEM_SIZE - PKT_SIZE / 2, PKT_SIZE, 0, false}, in testapp_invalid_desc() 1274 {0x3000 - PKT_SIZE / 2, PKT_SIZE, 0, false}, in testapp_invalid_desc() 1276 {0x3800 - PKT_SIZE / 2, PKT_SIZE, 0, true}, in testapp_invalid_desc() [all …]
|
A D | xdpxceiver.h | 30 #define PKT_SIZE (MIN_PKT_SIZE - ETH_FCS_SIZE) macro 31 #define IP_PKT_SIZE (PKT_SIZE - sizeof(struct ethhdr))
|
/linux/drivers/net/ethernet/apm/xgene-v2/ |
A D | main.c | 166 (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()
|
A D | ring.c | 27 SET_BITS(PKT_SIZE, SLOT_EMPTY)); in xge_setup_desc()
|
/linux/drivers/mtd/nand/raw/ |
A D | arasan-nand-controller.c | 30 #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/samples/bpf/ |
A D | xdpsock_user.c | 743 #define PKT_SIZE (opt_pkt_size - ETH_FCS_SIZE) macro 744 #define IP_PKT_SIZE (PKT_SIZE - sizeof(struct ethhdr)) 798 PKT_SIZE); in gen_eth_frame() 1283 tx_desc->len = PKT_SIZE; in tx_only()
|
/linux/Documentation/networking/ |
A D | pktgen.rst | 250 -s : ($PKT_SIZE) packet size
|