Lines Matching refs:pg_result
958 char *pg_result = NULL; in pktgen_if_write() local
962 pg_result = &(pkt_dev->result[0]); in pktgen_if_write()
1018 sprintf(pg_result, "OK: min_pkt_size=%d", in pktgen_if_write()
1035 sprintf(pg_result, "OK: max_pkt_size=%d", in pktgen_if_write()
1055 sprintf(pg_result, "OK: pkt_size=%d", pkt_dev->min_pkt_size); in pktgen_if_write()
1080 sprintf(pg_result, "OK: debug=%u", debug); in pktgen_if_write()
1091 sprintf(pg_result, "OK: frags=%d", pkt_dev->nfrags); in pktgen_if_write()
1105 sprintf(pg_result, "OK: delay=%llu", in pktgen_if_write()
1121 sprintf(pg_result, "OK: rate=%lu", value); in pktgen_if_write()
1136 sprintf(pg_result, "OK: rate=%lu", value); in pktgen_if_write()
1149 sprintf(pg_result, "OK: udp_src_min=%u", pkt_dev->udp_src_min); in pktgen_if_write()
1162 sprintf(pg_result, "OK: udp_dst_min=%u", pkt_dev->udp_dst_min); in pktgen_if_write()
1175 sprintf(pg_result, "OK: udp_src_max=%u", pkt_dev->udp_src_max); in pktgen_if_write()
1188 sprintf(pg_result, "OK: udp_dst_max=%u", pkt_dev->udp_dst_max); in pktgen_if_write()
1209 sprintf(pg_result, "OK: clone_skb=%d", pkt_dev->clone_skb); in pktgen_if_write()
1219 sprintf(pg_result, "OK: count=%llu", in pktgen_if_write()
1233 sprintf(pg_result, "OK: src_mac_count=%d", in pktgen_if_write()
1247 sprintf(pg_result, "OK: dst_mac_count=%d", in pktgen_if_write()
1267 sprintf(pg_result, "OK: burst=%u", pkt_dev->burst); in pktgen_if_write()
1279 sprintf(pg_result, "OK: node=%d", pkt_dev->node); in pktgen_if_write()
1286 sprintf(pg_result, "ERROR: node not possible"); in pktgen_if_write()
1318 sprintf(pg_result, in pktgen_if_write()
1323 sprintf(pg_result, "OK: xmit_mode=%s", f); in pktgen_if_write()
1357 sprintf(pg_result, "OK: flags=0x%x", pkt_dev->flags); in pktgen_if_write()
1363 pg_result += sprintf(pg_result, in pktgen_if_write()
1367 for (int n = 0; n < NR_PKT_FLAGS && pg_result < end; n++) { in pktgen_if_write()
1370 pg_result += snprintf(pg_result, end - pg_result, in pktgen_if_write()
1373 if (!WARN_ON_ONCE(pg_result >= end)) { in pktgen_if_write()
1375 *(pg_result - 2) = '\0'; in pktgen_if_write()
1397 sprintf(pg_result, "OK: dst_min=%s", pkt_dev->dst_min); in pktgen_if_write()
1417 sprintf(pg_result, "OK: dst_max=%s", pkt_dev->dst_max); in pktgen_if_write()
1440 sprintf(pg_result, "OK: dst6=%s", buf); in pktgen_if_write()
1462 sprintf(pg_result, "OK: dst6_min=%s", buf); in pktgen_if_write()
1483 sprintf(pg_result, "OK: dst6_max=%s", buf); in pktgen_if_write()
1506 sprintf(pg_result, "OK: src6=%s", buf); in pktgen_if_write()
1526 sprintf(pg_result, "OK: src_min=%s", pkt_dev->src_min); in pktgen_if_write()
1546 sprintf(pg_result, "OK: src_max=%s", pkt_dev->src_max); in pktgen_if_write()
1563 sprintf(pg_result, "OK: dstmac %pM", pkt_dev->dst_mac); in pktgen_if_write()
1580 sprintf(pg_result, "OK: srcmac %pM", pkt_dev->src_mac); in pktgen_if_write()
1586 sprintf(pg_result, "OK: Clearing counters.\n"); in pktgen_if_write()
1600 sprintf(pg_result, "OK: flows=%u", pkt_dev->cflows); in pktgen_if_write()
1611 sprintf(pg_result, "OK: spi=%u", pkt_dev->spi); in pktgen_if_write()
1622 sprintf(pg_result, "OK: flowlen=%u", pkt_dev->lflow); in pktgen_if_write()
1633 sprintf(pg_result, "OK: queue_map_min=%u", pkt_dev->queue_map_min); in pktgen_if_write()
1644 sprintf(pg_result, "OK: queue_map_max=%u", pkt_dev->queue_map_max); in pktgen_if_write()
1655 cnt = sprintf(pg_result, "OK: mpls="); in pktgen_if_write()
1657 cnt += sprintf(pg_result + cnt, in pktgen_if_write()
1687 sprintf(pg_result, "OK: vlan_id=%u", pkt_dev->vlan_id); in pktgen_if_write()
1706 sprintf(pg_result, "OK: vlan_p=%u", pkt_dev->vlan_p); in pktgen_if_write()
1708 sprintf(pg_result, "ERROR: vlan_p must be 0-7"); in pktgen_if_write()
1721 sprintf(pg_result, "OK: vlan_cfi=%u", pkt_dev->vlan_cfi); in pktgen_if_write()
1723 sprintf(pg_result, "ERROR: vlan_cfi must be 0-1"); in pktgen_if_write()
1744 sprintf(pg_result, "OK: svlan_id=%u", pkt_dev->svlan_id); in pktgen_if_write()
1763 sprintf(pg_result, "OK: svlan_p=%u", pkt_dev->svlan_p); in pktgen_if_write()
1765 sprintf(pg_result, "ERROR: svlan_p must be 0-7"); in pktgen_if_write()
1778 sprintf(pg_result, "OK: svlan_cfi=%u", pkt_dev->svlan_cfi); in pktgen_if_write()
1780 sprintf(pg_result, "ERROR: svlan_cfi must be 0-1"); in pktgen_if_write()
1794 sprintf(pg_result, "OK: tos=0x%02x", pkt_dev->tos); in pktgen_if_write()
1796 sprintf(pg_result, "ERROR: tos must be 00-ff"); in pktgen_if_write()
1810 sprintf(pg_result, "OK: traffic_class=0x%02x", pkt_dev->traffic_class); in pktgen_if_write()
1812 sprintf(pg_result, "ERROR: traffic_class must be 00-ff"); in pktgen_if_write()
1824 sprintf(pg_result, "OK: skb_priority=%i", in pktgen_if_write()
1884 char *pg_result; in pktgen_thread_write() local
1925 pg_result = &(t->result[0]); in pktgen_thread_write()
1943 sprintf(pg_result, "OK: add_device=%s", f); in pktgen_thread_write()
1945 sprintf(pg_result, "ERROR: can not add device %s", f); in pktgen_thread_write()
1955 sprintf(pg_result, "OK: rem_device_all"); in pktgen_thread_write()
1960 sprintf(pg_result, "OK: Note! max_before_softirq is obsoleted -- Do not use"); in pktgen_thread_write()