[dpdk-dev] [PKTGEN] fixing weird termio issues that complicate debugging

2016-02-17 Thread Panu Matilainen
On 01/23/2016 04:22 AM, Wiles, Keith wrote: > On 1/22/16, 1:45 AM, "Panu Matilainen" wrote: >> We wouldn't be discussing this if it was not an issue. It is offensive >> enough to turn away both users and contributors, and merely speeding up >> a bit is not going to make it a whole lot better. >> >

[dpdk-dev] [PKTGEN] fixing weird termio issues that complicate debugging

2016-01-23 Thread Wiles, Keith
On 1/22/16, 1:45 AM, "Panu Matilainen" wrote: >On 01/21/2016 05:03 PM, Wiles, Keith wrote: >> On 1/21/16, 2:46 AM, "Panu Matilainen" wrote: >> >>> On 01/20/2016 06:26 PM, Wiles, Keith wrote: On 1/20/16, 12:32 AM, "dev on behalf of Matthew Hall" >>> dpdk.org on behalf of mhall at mhcomputing

[dpdk-dev] [PKTGEN] fixing weird termio issues that complicate debugging

2016-01-22 Thread Panu Matilainen
On 01/21/2016 05:03 PM, Wiles, Keith wrote: > On 1/21/16, 2:46 AM, "Panu Matilainen" wrote: > >> On 01/20/2016 06:26 PM, Wiles, Keith wrote: >>> On 1/20/16, 12:32 AM, "dev on behalf of Matthew Hall" >> dpdk.org on behalf of mhall at mhcomputing.net> wrote: >>> Hello, Since the pktge

[dpdk-dev] [PKTGEN] fixing weird termio issues that complicate debugging

2016-01-21 Thread Wiles, Keith
On 1/21/16, 2:46 AM, "Panu Matilainen" wrote: >On 01/20/2016 06:26 PM, Wiles, Keith wrote: >> On 1/20/16, 12:32 AM, "dev on behalf of Matthew Hall" > dpdk.org on behalf of mhall at mhcomputing.net> wrote: >> >>> Hello, >>> >>> Since the pktgen code is reindented I am finding time to read through

[dpdk-dev] [PKTGEN] fixing weird termio issues that complicate debugging

2016-01-21 Thread Matthew Hall
On Thu, Jan 21, 2016 at 11:00:14AM -0800, Stephen Hemminger wrote: > I would rip out the whole tty control and theming nonsense and then > just print one line copyright on startup. Personally, I might have put this sentiment more diplomatically, but a refactor effort such as this would make life

[dpdk-dev] [PKTGEN] fixing weird termio issues that complicate debugging

2016-01-21 Thread Stephen Hemminger
On Thu, 21 Jan 2016 15:03:37 + "Wiles, Keith" wrote: > On 1/21/16, 2:46 AM, "Panu Matilainen" wrote: > > >On 01/20/2016 06:26 PM, Wiles, Keith wrote: > >> On 1/20/16, 12:32 AM, "dev on behalf of Matthew Hall" >> dpdk.org on behalf of mhall at mhcomputing.net> wrote: > >> > >>> Hello, > >>>

[dpdk-dev] [PKTGEN] fixing weird termio issues that complicate debugging

2016-01-21 Thread Panu Matilainen
On 01/20/2016 06:26 PM, Wiles, Keith wrote: > On 1/20/16, 12:32 AM, "dev on behalf of Matthew Hall" dpdk.org on behalf of mhall at mhcomputing.net> wrote: > >> Hello, >> >> Since the pktgen code is reindented I am finding time to read through it >> and experiment and see if I can get it working. >

[dpdk-dev] [PKTGEN] fixing weird termio issues that complicate debugging

2016-01-20 Thread Matthew Hall
On 1/20/16 8:26 AM, Wiles, Keith wrote: > One problem is a number of people wanted to steal the code and use in a paid > application, so the copyright is some what a requirement. As you may know I > do a lot of debugging on Pktgen and I feel they are a nuisance. I can try to > see if we can clea

[dpdk-dev] [PKTGEN] fixing weird termio issues that complicate debugging

2016-01-20 Thread Wiles, Keith
On 1/20/16, 10:26 AM, "dev on behalf of Wiles, Keith" wrote: >On 1/20/16, 12:32 AM, "dev on behalf of Matthew Hall" on behalf of mhall at mhcomputing.net> wrote: > >>Hello, Please try modifying pktgen-main.c:main() at the top of the function to this: wr_scrn_setw(1);/* Reset the

[dpdk-dev] [PKTGEN] fixing weird termio issues that complicate debugging

2016-01-20 Thread Wiles, Keith
On 1/20/16, 12:32 AM, "dev on behalf of Matthew Hall" wrote: >Hello, > >Since the pktgen code is reindented I am finding time to read through it >and experiment and see if I can get it working. > >I have issues with the init process of pktgen. It is difficult to debug >it because the init code

[dpdk-dev] [PKTGEN] fixing weird termio issues that complicate debugging

2016-01-20 Thread Wiles, Keith
On 1/20/16, 12:32 AM, "dev on behalf of Matthew Hall" wrote: Hi Matthew, I have some comments below, but will address your full email later when I have a bit more time. >Hello, > >Since the pktgen code is reindented I am finding time to read through it >and experiment and see if I can get it

[dpdk-dev] [PKTGEN] fixing weird termio issues that complicate debugging

2016-01-20 Thread Panu Matilainen
On 01/20/2016 08:32 AM, Matthew Hall wrote: > Hello, > > Since the pktgen code is reindented I am finding time to read through it > and experiment and see if I can get it working. > > I have issues with the init process of pktgen. It is difficult to debug > it because the init code does a lot of ve

[dpdk-dev] [PKTGEN] fixing weird termio issues that complicate debugging

2016-01-19 Thread Matthew Hall
Hello, Since the pktgen code is reindented I am finding time to read through it and experiment and see if I can get it working. I have issues with the init process of pktgen. It is difficult to debug it because the init code does a lot of very scary stuff to the terminal control / TTY device a