[PATCH iproute2-next] ss: sctp: Formatting tweak in sctp_show_info for locals

2019-08-03 Thread Patrick Talbert
'locals' output does not include a leading space so it runs up against skmem:() output. Add a leading space to fix it. Signed-off-by: Patrick Talbert --- misc/ss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/ss.c b/misc/ss.c index 0927b192..5e70709d 10

[PATCH iproute2-next] ss: sctp: fix typo for nodelay

2019-08-03 Thread Patrick Talbert
nodealy should be nodelay. Signed-off-by: Patrick Talbert --- misc/ss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/ss.c b/misc/ss.c index 0927b192..01b47fed 100644 --- a/misc/ss.c +++ b/misc/ss.c @@ -2414,7 +2414,7 @@ static void sctp_stats_print(struct sctp_info

[PATCH] net: Treat sock->sk_drops as an unsigned int when printing

2019-05-17 Thread Patrick Talbert
Currently, procfs socket stats format sk_drops as a signed int (%d). For large values this will cause a negative number to be printed. We know the drop count can never be a negative so change the format specifier to %u. Signed-off-by: Patrick Talbert --- net/ipv4/ping.c | 2 +- net

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
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
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
ensure label == dev or continues with a colon. Signed-off-by: Patrick Talbert --- 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 +++ b/ip/ipaddress.c @@ -2168,9

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 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 budget >> (netde

[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 --- include/linux/netdevice.h | 1 +

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 wrote: > From: Patrick Talbert > Date: Thu, 5 Oct 2017 16:23:45 -0400 > >> Network performance can suffer when a load balancing bond uses slave >> interfaces which are in different NUMA domains. >> >> This compares th

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 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. >> >> This compares the NUMA

[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