Re: [dpdk-dev] [RFC 01/14] ethdev: add link status read/write functions

2018-01-05 Thread Stephen Hemminger
> > > > > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Stephen Hemminger > > > > Sent: Saturday, July 15, 2017 2:30 AM > > > > To: dev@dpdk.org > > > > Cc: Stephen Hemminger ; Stephen Hemminger > > > > > > > >

Re: [dpdk-dev] [RFC 01/14] ethdev: add link status read/write functions

2018-01-05 Thread Thomas Monjalon
t; > Sent: Saturday, July 15, 2017 2:30 AM > > > To: dev@dpdk.org > > > Cc: Stephen Hemminger ; Stephen Hemminger > > > > > > Subject: [dpdk-dev] [RFC 01/14] ethdev: add link status read/write > > > functions > > > > > > Many drive

Re: [dpdk-dev] [RFC 01/14] ethdev: add link status read/write functions

2017-10-13 Thread Stephen Hemminger
On Wed, 11 Oct 2017 08:32:12 + "Yang, Qiming" wrote: > > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Stephen Hemminger > > Sent: Saturday, July 15, 2017 2:30 AM > > To: dev@dpdk.org > > Cc: Stephen Hemminger ; Stephen Hemminger > > > &g

Re: [dpdk-dev] [RFC 01/14] ethdev: add link status read/write functions

2017-10-11 Thread Yang, Qiming
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Stephen Hemminger > Sent: Saturday, July 15, 2017 2:30 AM > To: dev@dpdk.org > Cc: Stephen Hemminger ; Stephen Hemminger > > Subject: [dpdk-dev] [RFC 01/14] ethdev: add link status read/write functions > > Many dr

Re: [dpdk-dev] [RFC 01/14] ethdev: add link status read/write functions

2017-07-17 Thread Andrew Rybchenko
On 07/17/2017 07:21 PM, Stephen Hemminger wrote: On Mon, 17 Jul 2017 19:12:01 +0300 Andrew Rybchenko wrote: On 07/17/2017 06:58 PM, Stephen Hemminger wrote: On Sun, 16 Jul 2017 16:26:06 +0300 Andrew Rybchenko wrote: On 07/14/2017 09:30 PM, Stephen Hemminger wrote: Many drivers are all d

Re: [dpdk-dev] [RFC 01/14] ethdev: add link status read/write functions

2017-07-17 Thread Stephen Hemminger
On Mon, 17 Jul 2017 19:12:01 +0300 Andrew Rybchenko wrote: > On 07/17/2017 06:58 PM, Stephen Hemminger wrote: > > On Sun, 16 Jul 2017 16:26:06 +0300 > > Andrew Rybchenko wrote: > > > >> On 07/14/2017 09:30 PM, Stephen Hemminger wrote: > >>> Many drivers are all doing copy/paste of the same c

Re: [dpdk-dev] [RFC 01/14] ethdev: add link status read/write functions

2017-07-17 Thread Andrew Rybchenko
On 07/17/2017 06:58 PM, Stephen Hemminger wrote: On Sun, 16 Jul 2017 16:26:06 +0300 Andrew Rybchenko wrote: On 07/14/2017 09:30 PM, Stephen Hemminger wrote: Many drivers are all doing copy/paste of the same code to atomicly update the link status. Reduce duplication, and allow for future chan

Re: [dpdk-dev] [RFC 01/14] ethdev: add link status read/write functions

2017-07-17 Thread Stephen Hemminger
On Sun, 16 Jul 2017 16:26:06 +0300 Andrew Rybchenko wrote: > On 07/14/2017 09:30 PM, Stephen Hemminger wrote: > > Many drivers are all doing copy/paste of the same code to atomicly > > update the link status. Reduce duplication, and allow for future > > changes by having common function for this.

Re: [dpdk-dev] [RFC 01/14] ethdev: add link status read/write functions

2017-07-16 Thread Andrew Rybchenko
On 07/14/2017 09:30 PM, Stephen Hemminger wrote: Many drivers are all doing copy/paste of the same code to atomicly update the link status. Reduce duplication, and allow for future changes by having common function for this. Signed-off-by: Stephen Hemminger --- lib/librte_ether/rte_ethdev.c |

[dpdk-dev] [RFC 01/14] ethdev: add link status read/write functions

2017-07-14 Thread Stephen Hemminger
Many drivers are all doing copy/paste of the same code to atomicly update the link status. Reduce duplication, and allow for future changes by having common function for this. Signed-off-by: Stephen Hemminger --- lib/librte_ether/rte_ethdev.c | 36 lib/librte