When calling the flow_free() to free the flow, we call many times
(cpu_possible_mask, eg. 128 as default) cpumask_next(). That will
take up our CPU usage if we call the flow_free() frequently.
When we put all packets to userspace via upcall, and OvS will send
them back via netlink to ovs_packet_cmd
In the ovs_flow_stats_update(), we only use the node
var to alloc flow_stats struct. But this is not a
common case, it is unnecessary to call the numa_node_id()
everytime. This patch is not a bugfix, but there maybe
a small increase.
Signed-off-by: Tonghao Zhang
---
net/openvswitch/flow.c | 3 +-
On 11 July 2017 at 17:01, Russell Joyce wrote:
> Thanks for your comments.
>
>> What I think Rafał is saying is that it would be better to have this
>> code in cfg80211 so other drivers including mac80211 could use it.
>
>
> While I agree that moving all wireless LED triggers to cfg80211 would be
From: Xin Long
Date: Mon, 17 Jul 2017 11:29:48 +0800
> As we know, typedef is suggested not to use in kernel, even checkpatch.pl
> also gives warnings about it. Now sctp is using it for many structures.
>
> All this kind of typedef's using should be removed. This patchset is the
> part 2 to remo
This patch is to remove the typedef sctp_hmac_algo_param_t, and
replace with struct sctp_hmac_algo_param in the places where it's
using this typedef.
It is also to use sizeof(variable) instead of sizeof(type).
Signed-off-by: Xin Long
---
include/linux/sctp.h | 4 ++--
include/net/sctp/str
This patch is to remove the typedef sctp_chunks_param_t, and
replace with struct sctp_chunks_param in the places where it's
using this typedef.
It is also to use sizeof(variable) instead of sizeof(type).
Signed-off-by: Xin Long
---
include/linux/sctp.h | 4 ++--
include/net/sctp/structs.h
This patch is to remove the typedef sctp_supported_ext_param_t, and
replace with struct sctp_supported_ext_param in the places where it's
using this typedef.
It is also to use sizeof(variable) instead of sizeof(type).
Signed-off-by: Xin Long
---
include/linux/sctp.h | 4 ++--
net/sctp/sm_m
This patch is to remove the typedef sctp_random_param_t, and
replace with struct sctp_random_param in the places where it's
using this typedef.
Signed-off-by: Xin Long
---
include/linux/sctp.h | 4 ++--
include/net/sctp/structs.h | 2 +-
net/sctp/auth.c| 9 -
3 files ch
This patch is to remove the typedef sctp_adaptation_ind_param_t, and
replace with struct sctp_adaptation_ind_param in the places where it's
using this typedef.
Signed-off-by: Xin Long
---
include/linux/sctp.h | 4 ++--
net/sctp/sm_make_chunk.c | 4 ++--
2 files changed, 4 insertions(+), 4 de
This patch is to remove the typedef sctp_ipv4addr_param_t, and replace
with struct sctp_ipv4addr_param in the places where it's using this
typedef.
Signed-off-by: Xin Long
---
include/linux/sctp.h | 6 +++---
net/sctp/protocol.c | 2 +-
net/sctp/sm_make_chunk.c | 2 +-
3 files changed,
Remove it, there is even no places using it.
Signed-off-by: Xin Long
---
include/linux/sctp.h | 5 -
1 file changed, 5 deletions(-)
diff --git a/include/linux/sctp.h b/include/linux/sctp.h
index 3ca3ab7..7552482 100644
--- a/include/linux/sctp.h
+++ b/include/linux/sctp.h
@@ -302,11 +302,6
This patch is to remove the typedef sctp_cookie_preserve_param_t, and
replace with struct sctp_cookie_preserve_param in the places where it's
using this typedef.
It is also to fix some indents in sctp_sf_do_5_2_6_stale().
Signed-off-by: Xin Long
---
include/linux/sctp.h| 6 +++---
net/sctp
This patch is to remove the typedef sctp_supported_addrs_param_t, and
replace with struct sctp_supported_addrs_param in the places where it's
using this typedef.
Signed-off-by: Xin Long
---
include/linux/sctp.h | 4 ++--
net/sctp/sm_make_chunk.c | 2 +-
2 files changed, 3 insertions(+), 3 de
This patch is to remove the typedef sctp_ipv6addr_param_t, and replace
with struct sctp_ipv6addr_param in the places where it's using this
typedef.
Signed-off-by: Xin Long
---
include/linux/sctp.h | 4 ++--
net/sctp/ipv6.c | 2 +-
net/sctp/sm_make_chunk.c | 2 +-
3 files changed, 4
Remove this typedef, there is even no places using it.
Signed-off-by: Xin Long
---
include/linux/sctp.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/linux/sctp.h b/include/linux/sctp.h
index d8f9d8f..c43e906 100644
--- a/include/linux/sctp.h
+++ b/include/linux
As we know, typedef is suggested not to use in kernel, even checkpatch.pl
also gives warnings about it. Now sctp is using it for many structures.
All this kind of typedef's using should be removed. This patchset is the
part 2 to remove it for another 11 basic structures.
Just as the part 1, No an
In the pull_pages code block, if the first frag size > eat,
we can end the loop in advance to avoid extra copy.
Signed-off-by: Lin Zhang
---
net/core/skbuff.c | 4
1 file changed, 4 insertions(+)
diff --git a/net/core/skbuff.c b/net/core/skbuff.c
index f990eb8..c00a1df 100644
--- a/net/cor
From: Sowmini Varadhan
Date: Sun, 16 Jul 2017 16:43:46 -0700
> We could end up executing rds_conn_shutdown before the rds_recv_worker
> thread, then rds_conn_shutdown -> rds_tcp_conn_shutdown can do a
> sock_release and set sock->sk to null, which may interleave in bad
> ways with rds_recv_worker
Hi:
I am getting the following while testing IPv6 changes:
[ 3904.250981] TCP: request_sock_TCPv6: Possible SYN flooding on port
12345. Sending cookies. Check SNMP counters.
[ 3904.252862]
==
[ 3904.254057] BUG: KASAN: null-ptr-dere
We could end up executing rds_conn_shutdown before the rds_recv_worker
thread, then rds_conn_shutdown -> rds_tcp_conn_shutdown can do a
sock_release and set sock->sk to null, which may interleave in bad
ways with rds_recv_worker, e.g., it could result in:
"BUG: unable to handle kernel NULL pointer
Tell your friends.
http://vger.kernel.org/~davem/net-next.html
From: Arvind Yadav
Date: Sun, 16 Jul 2017 15:02:28 +0530
> pci_device_id are not supposed to change at runtime. All functions
> working with pci_device_id provided by work with
> const pci_device_id. So mark the non-const structs as const.
Series applied to net-next, thanks.
From: Vincent Bernat
Date: Sat, 15 Jul 2017 19:40:20 +0200
> The definition of an "anycast destination address" has been tweaked as a
> side-effect of commit 2647a9b07032 ("ipv6: Remove external dependency on
> rt6i_gateway and RTF_ANYCAST"). The first address of a point-to-point
> /127 subnet is
From: Shannon Nelson
Date: Thu, 6 Jul 2017 16:57:10 -0700
> The original code didn't handle non-IPv4 packets very well, so the
> offload advertising had to be scaled back down to just IP. Here we
> add the bits needed to support TCP and UDP packets over IPv6 and
> turn the offload advertising b
From: Simon Xiao
Date: Fri, 14 Jul 2017 10:47:20 -0700
> Let bondvf.sh ignore this NIC if it has been configured, to prevent
> user configuration from being overwritten unexpectly.
>
> Signed-off-by: Simon Xiao
Applied.
Hello,
each time I disconnect my card from AP my dmesg gets flooded like this :
...
ath10k_pci :03:00.0: no channel configured; ignoring frame(s)!
ath10k_warn: 155 callbacks suppressed
Can ath10k_warn() be ath10k_dbg() there ? Maybe this ?
From d4138d936635ca7b69ed7f7b0cda4914f0f07917 M
Dear Friend
I am contacting you on a business deal of $9,500,000.00 Million United States
Dollars, ready for transfer into your own personal account and if we make this
claim, we will share it on the ratio of 50% / 50% basis, I would like to assure
you that it be 100% risk free and it will be l
pci_device_id are not supposed to change at runtime. All functions
working with pci_device_id provided by work with
const pci_device_id. So mark the non-const structs as const.
Arvind Yadav (12):
[PATCH 01/12] atm: iphase: constify pci_device_id.
[PATCH 02/12] atm: ambassador: constify pci_de
pci_device_id are not supposed to change at runtime. All functions
working with pci_device_id provided by work with
const pci_device_id. So mark the non-const structs as const.
File size before:
textdata bss dec hex filename
22781 464 128 233735b4d drivers/atm/n
pci_device_id are not supposed to change at runtime. All functions
working with pci_device_id provided by work with
const pci_device_id. So mark the non-const structs as const.
File size before:
textdata bss dec hex filename
13372 408 4 1378435d8 drivers/atm/a
pci_device_id are not supposed to change at runtime. All functions
working with pci_device_id provided by work with
const pci_device_id. So mark the non-const structs as const.
File size before:
textdata bss dec hex filename
23536 432 160 241285e40 drivers/atm/i
pci_device_id are not supposed to change at runtime. All functions
working with pci_device_id provided by work with
const pci_device_id. So mark the non-const structs as const.
File size before:
textdata bss dec hex filename
26514 440 48 27002697a drivers/atm/h
pci_device_id are not supposed to change at runtime. All functions
working with pci_device_id provided by work with
const pci_device_id. So mark the non-const structs as const.
File size before:
textdata bss dec hex filename
20025 320 16 203614f89 drivers/atm/f
pci_device_id are not supposed to change at runtime. All functions
working with pci_device_id provided by work with
const pci_device_id. So mark the non-const structs as const.
File size before:
textdata bss dec hex filename
161384592 24 207545112 drivers/atm/s
pci_device_id are not supposed to change at runtime. All functions
working with pci_device_id provided by work with
const pci_device_id. So mark the non-const structs as const.
File size before:
textdata bss dec hex filename
9859 328 6 1019327d1 drivers/atm/h
pci_device_id are not supposed to change at runtime. All functions
working with pci_device_id provided by work with
const pci_device_id. So mark the non-const structs as const.
File size before:
textdata bss dec hex filename
14350 352 40 147423996 drivers/atm/z
pci_device_id are not supposed to change at runtime. All functions
working with pci_device_id provided by work with
const pci_device_id. So mark the non-const structs as const.
File size before:
textdata bss dec hex filename
21565 352 56 2197355d5 drivers/atm/e
pci_device_id are not supposed to change at runtime. All functions
working with pci_device_id provided by work with
const pci_device_id. So mark the non-const structs as const.
File size before:
textdata bss dec hex filename
16884 444 28 1735643cc drivers/atm/f
pci_device_id are not supposed to change at runtime. All functions
working with pci_device_id provided by work with
const pci_device_id. So mark the non-const structs as const.
File size before:
textdata bss dec hex filename
18074 352 0 1842647fa drivers/atm/l
pci_device_id are not supposed to change at runtime. All functions
working with pci_device_id provided by work with
const pci_device_id. So mark the non-const structs as const.
File size before:
textdata bss dec hex filename
27702 468 16 281866e1a drivers/atm/i
On Tue, 11 Jul 2017 12:37:10 -0700 John Fastabend
wrote:
> > I have a really strange observation... if I change the CPU powersave
> > settings, then the xdp_redirect_map performance drops in half! Above
> > was with "tuned-adm profile powersave" (because, this is a really noisy
> > server, and
On 07/14/2017 06:30 PM, Vivien Didelot wrote:
> Hi All,
>
> Andrew Lunn writes:
>
>> I've been testing IGMP snooping support with DSA, putting MDB entries
>> into the switch so that traffic only goes out ports where there has
>> been an interest indicated via IGMP. It mostly works, but i've come
>
42 matches
Mail list logo