[PATCH] net: bond: skip vlan header when do layer 3+4 hash policy

2018-03-31 Thread liujian56
From: liujian When the hash policy is BOND_XMIT_POLICY_LAYER34 mode and skb protocol is 802.1q VLAN, the policy will be degenerated to LAYER2 mode; Now, change it to get the next layer protocol to ensure that it worked in BOND_XMIT_POLICY_LAYER34 mode. Signed-off-by:

[PATCH] tcp: TCP_USER_TIMEOUT can not work in tcp_probe_timer()

2017-09-11 Thread liujian56
From: liujian After the tcp socket go to ESTABLISHED stat, change IP address (server side), then the tcp socket will go tcp_probe_timer process. [root@localhost net]# netstat -toe Active Internet connections (w/o servers) Proto Recv-Q Send-Q Local Address Foreign

[PATCH ] net: frag: print frag_mem_limit value in sockstat proc file

2017-08-29 Thread liujian56
From: liujian >From 6d7b857d5( net: use lib/percpu_counter API for fragmentation mem accounting), frag_mem_limit and sum_frag_mem_limit have different value if there are multiple NIC RX CPU. Print frag_mem_limit value, then we can get more debug info. Signed-off-by:

[PATCH net] net: hns: add acpi function of xge led control

2017-07-13 Thread liujian56
From: LiuJian The current code only support DT method to control xge led. This patch is the implementation of acpi method to control xge led. Signed-off-by: LiuJian Reviewed-by: John Garry Reviewed-by: Yunsheng Lin