Re: [PATCH iproute2 v2] ipaddress: strengthen check on 'label' input

2018-06-14 Thread Patrick Talbert
On Fri, Jun 1, 2018 at 9:56 PM, Stephen Hemminger wrote: > On Tue, 29 May 2018 16:57:07 +0200 > Patrick Talbert wrote: > >> As mentioned in the ip-address man page, an address label must >> be equal to the device name or prefixed by the device name >> followed by

[PATCH iproute2 v3] ipaddress: strengthen check on 'label' input

2018-06-14 Thread Patrick Talbert
to ensure label == dev or continues with a colon. Signed-off-by: Patrick Talbert Suggested-by: Stephen Hemminger --- ip/ipaddress.c | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/ip/ipaddress.c b/ip/ipaddress.c index bbd35e7..713962b 100644 --- a/ip/ipaddress.c

[PATCH iproute2 v2] ipaddress: strengthen check on 'label' input

2018-05-29 Thread Patrick Talbert
to ensure label == dev or continues with a colon. Signed-off-by: Patrick Talbert Suggested-by: Stephen Hemminger --- ip/ipaddress.c | 21 +++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/ip/ipaddress.c b/ip/ipaddress.c index 00da14c..fce2008 100644 --- a/ip

[PATCH iproute2] ipaddress: strengthen check on 'label' input

2018-04-24 Thread Patrick Talbert
to ensure label == dev or continues with a colon. Signed-off-by: Patrick Talbert <ptalb...@redhat.com> --- ip/ipaddress.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/ip/ipaddress.c b/ip/ipaddress.c index aecc9a1..edcf821 100644 --- a/ip/ipaddress.c ++

Re: [PATCH net-next] [net] softnet_data: Split time_squeeze counter to provide budget_squeeze

2018-01-24 Thread Patrick Talbert
On Tue, Jan 23, 2018 at 6:07 PM, Eric Dumazet <eric.duma...@gmail.com> wrote: > On Tue, 2018-01-23 at 10:37 -0500, Patrick Talbert wrote: >> Add a 'budget_squeeze' counter to be able to differenciate between a >> NAPI poll ending with outstanding work because of a lack of bud

[PATCH net-next] [net] softnet_data: Split time_squeeze counter to provide budget_squeeze

2018-01-23 Thread Patrick Talbert
Add a 'budget_squeeze' counter to be able to differenciate between a NAPI poll ending with outstanding work because of a lack of budget (netdev_budget) versus ending because of a lack of time (netdev_budget_usecs). Signed-off-by: Patrick Talbert <ptalb...@redhat.com> --- include

Re: [PATCH net-next 1/1] [net] bonding: Add NUMA notice

2017-10-09 Thread Patrick Talbert
On Sat, Oct 7, 2017 at 6:20 PM, David Miller <da...@davemloft.net> wrote: > From: Patrick Talbert <ptalb...@redhat.com> > Date: Thu, 5 Oct 2017 16:23:45 -0400 > >> Network performance can suffer when a load balancing bond uses slave >> interfaces wh

Re: [PATCH net-next 1/1] [net] bonding: Add NUMA notice

2017-10-06 Thread Patrick Talbert
On Thu, Oct 5, 2017 at 5:46 PM, Andrew Lunn <and...@lunn.ch> wrote: > On Thu, Oct 05, 2017 at 04:23:45PM -0400, Patrick Talbert wrote: >> Network performance can suffer when a load balancing bond uses slave >> interfaces which are in different NUMA domains. >> >&

[PATCH net-next 1/1] [net] bonding: Add NUMA notice

2017-10-05 Thread Patrick Talbert
Network performance can suffer when a load balancing bond uses slave interfaces which are in different NUMA domains. This compares the NUMA domain of a newly enslaved interface against any existing enslaved interfaces and prints a warning if they do not match. Signed-off-by: Patrick Talbert