/linux/samples/pktgen/ |
H A D | pktgen_sample06_numa_awared_queue_irq_affinity.sh | diff a27ac5390922059867f645eefd978e533d7af902 Sat Jul 01 16:37:37 CEST 2023 J.J. Martzki <mars14850@gmail.com> samples: pktgen: fix append mode failed issue
Each sample script sources functions.sh before parameters.sh which makes $APPEND undefined when trapping EXIT no matter in append mode or not. Due to this when sample scripts finished they always do "pgctrl reset" which resets pktgen config.
So move trap to each script after sourcing parameters.sh and trap EXIT explicitly.
Signed-off-by: J.J. Martzki <mars14850@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | functions.sh | diff a27ac5390922059867f645eefd978e533d7af902 Sat Jul 01 16:37:37 CEST 2023 J.J. Martzki <mars14850@gmail.com> samples: pktgen: fix append mode failed issue
Each sample script sources functions.sh before parameters.sh which makes $APPEND undefined when trapping EXIT no matter in append mode or not. Due to this when sample scripts finished they always do "pgctrl reset" which resets pktgen config.
So move trap to each script after sourcing parameters.sh and trap EXIT explicitly.
Signed-off-by: J.J. Martzki <mars14850@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | pktgen_bench_xmit_mode_queue_xmit.sh | diff a27ac5390922059867f645eefd978e533d7af902 Sat Jul 01 16:37:37 CEST 2023 J.J. Martzki <mars14850@gmail.com> samples: pktgen: fix append mode failed issue
Each sample script sources functions.sh before parameters.sh which makes $APPEND undefined when trapping EXIT no matter in append mode or not. Due to this when sample scripts finished they always do "pgctrl reset" which resets pktgen config.
So move trap to each script after sourcing parameters.sh and trap EXIT explicitly.
Signed-off-by: J.J. Martzki <mars14850@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | pktgen_sample05_flow_per_thread.sh | diff a27ac5390922059867f645eefd978e533d7af902 Sat Jul 01 16:37:37 CEST 2023 J.J. Martzki <mars14850@gmail.com> samples: pktgen: fix append mode failed issue
Each sample script sources functions.sh before parameters.sh which makes $APPEND undefined when trapping EXIT no matter in append mode or not. Due to this when sample scripts finished they always do "pgctrl reset" which resets pktgen config.
So move trap to each script after sourcing parameters.sh and trap EXIT explicitly.
Signed-off-by: J.J. Martzki <mars14850@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | pktgen_sample04_many_flows.sh | diff a27ac5390922059867f645eefd978e533d7af902 Sat Jul 01 16:37:37 CEST 2023 J.J. Martzki <mars14850@gmail.com> samples: pktgen: fix append mode failed issue
Each sample script sources functions.sh before parameters.sh which makes $APPEND undefined when trapping EXIT no matter in append mode or not. Due to this when sample scripts finished they always do "pgctrl reset" which resets pktgen config.
So move trap to each script after sourcing parameters.sh and trap EXIT explicitly.
Signed-off-by: J.J. Martzki <mars14850@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | pktgen_bench_xmit_mode_netif_receive.sh | diff a27ac5390922059867f645eefd978e533d7af902 Sat Jul 01 16:37:37 CEST 2023 J.J. Martzki <mars14850@gmail.com> samples: pktgen: fix append mode failed issue
Each sample script sources functions.sh before parameters.sh which makes $APPEND undefined when trapping EXIT no matter in append mode or not. Due to this when sample scripts finished they always do "pgctrl reset" which resets pktgen config.
So move trap to each script after sourcing parameters.sh and trap EXIT explicitly.
Signed-off-by: J.J. Martzki <mars14850@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | pktgen_sample02_multiqueue.sh | diff a27ac5390922059867f645eefd978e533d7af902 Sat Jul 01 16:37:37 CEST 2023 J.J. Martzki <mars14850@gmail.com> samples: pktgen: fix append mode failed issue
Each sample script sources functions.sh before parameters.sh which makes $APPEND undefined when trapping EXIT no matter in append mode or not. Due to this when sample scripts finished they always do "pgctrl reset" which resets pktgen config.
So move trap to each script after sourcing parameters.sh and trap EXIT explicitly.
Signed-off-by: J.J. Martzki <mars14850@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | pktgen_sample01_simple.sh | diff a27ac5390922059867f645eefd978e533d7af902 Sat Jul 01 16:37:37 CEST 2023 J.J. Martzki <mars14850@gmail.com> samples: pktgen: fix append mode failed issue
Each sample script sources functions.sh before parameters.sh which makes $APPEND undefined when trapping EXIT no matter in append mode or not. Due to this when sample scripts finished they always do "pgctrl reset" which resets pktgen config.
So move trap to each script after sourcing parameters.sh and trap EXIT explicitly.
Signed-off-by: J.J. Martzki <mars14850@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | pktgen_sample03_burst_single_flow.sh | diff a27ac5390922059867f645eefd978e533d7af902 Sat Jul 01 16:37:37 CEST 2023 J.J. Martzki <mars14850@gmail.com> samples: pktgen: fix append mode failed issue
Each sample script sources functions.sh before parameters.sh which makes $APPEND undefined when trapping EXIT no matter in append mode or not. Due to this when sample scripts finished they always do "pgctrl reset" which resets pktgen config.
So move trap to each script after sourcing parameters.sh and trap EXIT explicitly.
Signed-off-by: J.J. Martzki <mars14850@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|