Lines Matching refs:pg_result
957 char *pg_result = NULL; in pktgen_if_write() local
961 pg_result = &(pkt_dev->result[0]); in pktgen_if_write()
1017 sprintf(pg_result, "OK: min_pkt_size=%d", in pktgen_if_write()
1034 sprintf(pg_result, "OK: max_pkt_size=%d", in pktgen_if_write()
1054 sprintf(pg_result, "OK: pkt_size=%d", pkt_dev->min_pkt_size); in pktgen_if_write()
1079 sprintf(pg_result, "OK: debug=%u", debug); in pktgen_if_write()
1090 sprintf(pg_result, "OK: frags=%d", pkt_dev->nfrags); in pktgen_if_write()
1104 sprintf(pg_result, "OK: delay=%llu", in pktgen_if_write()
1120 sprintf(pg_result, "OK: rate=%lu", value); in pktgen_if_write()
1135 sprintf(pg_result, "OK: rate=%lu", value); in pktgen_if_write()
1148 sprintf(pg_result, "OK: udp_src_min=%u", pkt_dev->udp_src_min); in pktgen_if_write()
1161 sprintf(pg_result, "OK: udp_dst_min=%u", pkt_dev->udp_dst_min); in pktgen_if_write()
1174 sprintf(pg_result, "OK: udp_src_max=%u", pkt_dev->udp_src_max); in pktgen_if_write()
1187 sprintf(pg_result, "OK: udp_dst_max=%u", pkt_dev->udp_dst_max); in pktgen_if_write()
1207 sprintf(pg_result, "OK: clone_skb=%d", pkt_dev->clone_skb); in pktgen_if_write()
1217 sprintf(pg_result, "OK: count=%llu", in pktgen_if_write()
1231 sprintf(pg_result, "OK: src_mac_count=%d", in pktgen_if_write()
1245 sprintf(pg_result, "OK: dst_mac_count=%d", in pktgen_if_write()
1261 sprintf(pg_result, "OK: burst=%u", pkt_dev->burst); in pktgen_if_write()
1273 sprintf(pg_result, "OK: node=%d", pkt_dev->node); in pktgen_if_write()
1280 sprintf(pg_result, "ERROR: node not possible"); in pktgen_if_write()
1312 sprintf(pg_result, in pktgen_if_write()
1317 sprintf(pg_result, "OK: xmit_mode=%s", f); in pktgen_if_write()
1342 sprintf(pg_result, in pktgen_if_write()
1356 sprintf(pg_result, "OK: flags=0x%x", pkt_dev->flags); in pktgen_if_write()
1376 sprintf(pg_result, "OK: dst_min=%s", pkt_dev->dst_min); in pktgen_if_write()
1396 sprintf(pg_result, "OK: dst_max=%s", pkt_dev->dst_max); in pktgen_if_write()
1419 sprintf(pg_result, "OK: dst6=%s", buf); in pktgen_if_write()
1441 sprintf(pg_result, "OK: dst6_min=%s", buf); in pktgen_if_write()
1462 sprintf(pg_result, "OK: dst6_max=%s", buf); in pktgen_if_write()
1485 sprintf(pg_result, "OK: src6=%s", buf); in pktgen_if_write()
1505 sprintf(pg_result, "OK: src_min=%s", pkt_dev->src_min); in pktgen_if_write()
1525 sprintf(pg_result, "OK: src_max=%s", pkt_dev->src_max); in pktgen_if_write()
1542 sprintf(pg_result, "OK: dstmac %pM", pkt_dev->dst_mac); in pktgen_if_write()
1559 sprintf(pg_result, "OK: srcmac %pM", pkt_dev->src_mac); in pktgen_if_write()
1565 sprintf(pg_result, "OK: Clearing counters.\n"); in pktgen_if_write()
1579 sprintf(pg_result, "OK: flows=%u", pkt_dev->cflows); in pktgen_if_write()
1590 sprintf(pg_result, "OK: spi=%u", pkt_dev->spi); in pktgen_if_write()
1601 sprintf(pg_result, "OK: flowlen=%u", pkt_dev->lflow); in pktgen_if_write()
1612 sprintf(pg_result, "OK: queue_map_min=%u", pkt_dev->queue_map_min); in pktgen_if_write()
1623 sprintf(pg_result, "OK: queue_map_max=%u", pkt_dev->queue_map_max); in pktgen_if_write()
1634 cnt = sprintf(pg_result, "OK: mpls="); in pktgen_if_write()
1636 cnt += sprintf(pg_result + cnt, in pktgen_if_write()
1666 sprintf(pg_result, "OK: vlan_id=%u", pkt_dev->vlan_id); in pktgen_if_write()
1685 sprintf(pg_result, "OK: vlan_p=%u", pkt_dev->vlan_p); in pktgen_if_write()
1687 sprintf(pg_result, "ERROR: vlan_p must be 0-7"); in pktgen_if_write()
1700 sprintf(pg_result, "OK: vlan_cfi=%u", pkt_dev->vlan_cfi); in pktgen_if_write()
1702 sprintf(pg_result, "ERROR: vlan_cfi must be 0-1"); in pktgen_if_write()
1723 sprintf(pg_result, "OK: svlan_id=%u", pkt_dev->svlan_id); in pktgen_if_write()
1742 sprintf(pg_result, "OK: svlan_p=%u", pkt_dev->svlan_p); in pktgen_if_write()
1744 sprintf(pg_result, "ERROR: svlan_p must be 0-7"); in pktgen_if_write()
1757 sprintf(pg_result, "OK: svlan_cfi=%u", pkt_dev->svlan_cfi); in pktgen_if_write()
1759 sprintf(pg_result, "ERROR: svlan_cfi must be 0-1"); in pktgen_if_write()
1773 sprintf(pg_result, "OK: tos=0x%02x", pkt_dev->tos); in pktgen_if_write()
1775 sprintf(pg_result, "ERROR: tos must be 00-ff"); in pktgen_if_write()
1789 sprintf(pg_result, "OK: traffic_class=0x%02x", pkt_dev->traffic_class); in pktgen_if_write()
1791 sprintf(pg_result, "ERROR: traffic_class must be 00-ff"); in pktgen_if_write()
1803 sprintf(pg_result, "OK: skb_priority=%i", in pktgen_if_write()
1863 char *pg_result; in pktgen_thread_write() local
1904 pg_result = &(t->result[0]); in pktgen_thread_write()
1922 sprintf(pg_result, "OK: add_device=%s", f); in pktgen_thread_write()
1924 sprintf(pg_result, "ERROR: can not add device %s", f); in pktgen_thread_write()
1934 sprintf(pg_result, "OK: rem_device_all"); in pktgen_thread_write()
1939 sprintf(pg_result, "OK: Note! max_before_softirq is obsoleted -- Do not use"); in pktgen_thread_write()