Home
last modified time | relevance | path

Searched hist:a27ac5390922059867f645eefd978e533d7af902 (Results 1 – 9 of 9) sorted by relevance

/linux/samples/pktgen/
H A Dpktgen_sample06_numa_awared_queue_irq_affinity.shdiff 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 Dfunctions.shdiff 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 Dpktgen_bench_xmit_mode_queue_xmit.shdiff 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 Dpktgen_sample05_flow_per_thread.shdiff 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 Dpktgen_sample04_many_flows.shdiff 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 Dpktgen_bench_xmit_mode_netif_receive.shdiff 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 Dpktgen_sample02_multiqueue.shdiff 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 Dpktgen_sample01_simple.shdiff 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 Dpktgen_sample03_burst_single_flow.shdiff 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>