Re: [PATCH bpf-next v3 1/2] bpf: Change error code when ops is NULL

2020-04-27 Thread maowenan
On 2020/4/28 5:37, Daniel Borkmann wrote: > bpftool feature probe kernel | grep sockmap ok, thanks.

Re: [PATCH net] net: sonic: remove dev_kfree_skb before return NETDEV_TX_BUSY

2019-09-04 Thread maowenan
On 2019/9/4 18:19, Eric Dumazet wrote: > > > On 9/4/19 11:42 AM, Mao Wenan wrote: >> When dma_map_single is failed to map buffer, skb can't be freed >> before sonic driver return to stack with NETDEV_TX_BUSY, because >> this skb may be requeued to qdisc, it might trigger use-after-free. >> >>

Re: [PATCH 4.4 stable net] net: tcp: Fix use-after-free in tcp_write_xmit

2019-07-27 Thread maowenan
On 2019/7/24 20:13, maowenan wrote: > > > On 2019/7/24 19:05, Greg KH wrote: >> On Wed, Jul 24, 2019 at 05:17:15PM +0800, Mao Wenan wrote: >>> There is one report about tcp_write_xmit use-after-free with version >>> 4.4.136: >>> >>> BUG:

Re: [PATCH net v2] tcp: avoid creating multiple req socks with the same tuples

2019-06-13 Thread maowenan
On 2019/6/13 0:25, David Miller wrote: > From: Mao Wenan > Date: Wed, 12 Jun 2019 11:57:15 +0800 > >> diff --git a/net/ipv4/inet_hashtables.c b/net/ipv4/inet_hashtables.c >> index c4503073248b..b6a1b5334565 100644 >> --- a/net/ipv4/inet_hashtables.c >> +++ b/net/ipv4/inet_hashtables.c >> @@ -4

Re: [PATCH net] net: selinux: fix memory leak in selinux_netlbl_socket_post_create()

2019-03-08 Thread maowenan
On 2019/3/8 21:20, Paul Moore wrote: > On Fri, Mar 8, 2019 at 1:31 AM maowenan wrote: >> On 2019/3/8 4:36, Paul Moore wrote: >>> On Wed, Mar 6, 2019 at 9:44 PM Mao Wenan wrote: >>>> >>>> If netlbl_sock_setattr() is failed, it directly returns rc and f

Re: [PATCH net] net: selinux: fix memory leak in selinux_netlbl_socket_post_create()

2019-03-07 Thread maowenan
On 2019/3/8 4:36, Paul Moore wrote: > On Wed, Mar 6, 2019 at 9:44 PM Mao Wenan wrote: >> >> If netlbl_sock_setattr() is failed, it directly returns rc and forgets >> to free secattr. >> >> BUG: memory leak >> unreferenced object 0x8883c3ea4200 (size 2664): >> comm "syz-executor.2", pid 88

Re: question about memory leak in ip_mc_del1_src

2019-03-04 Thread maowenan
On 2019/3/5 2:16, David Miller wrote: > From: maowenan > Date: Mon, 4 Mar 2019 20:47:42 +0800 > >> pmc->tomb = psf; >> rv = 1; //if it does not kfree(psf), will it >> lead to memory leak after this line? >

question about memory leak in ip_mc_del1_src

2019-03-04 Thread maowenan
Hi, There is one report shows that memory in ip_mc_msfilter. details as below: 00:13:12 executing program 0: r0 = socket$inet_udp(0x2, 0x2, 0x0) setsockopt$inet_mreqn(r0, 0x0, 0x23, &(0x7f000400)={@multicast2, @remote}, 0xc) getsockopt$inet_udp_int(r0, 0x11, 0x66, &(0x7f00), &(0x7f00

Re: [PATCH net-next] net: udp Allow CHECKSUM_UNNECESSARY packets to do GRO.

2019-02-20 Thread maowenan
On 2019/1/31 12:33, Tom Herbert wrote: > On Wed, Jan 30, 2019 at 6:59 PM maowenan wrote: >> >> >> >> On 2019/1/31 10:43, Tom Herbert wrote: >>> On Wed, Jan 30, 2019 at 5:58 PM maowenan wrote: >>>> >>>> >>>> >>&

Re: [PATCH v3] net: ns83820: code cleanup for ns83820_probe_phy()

2019-02-19 Thread maowenan
On 2019/2/19 20:42, Walter Harms wrote: > > Am 19.02.2019 10:06, schrieb Mao Wenan: >> This patch is to do code cleanup for ns83820_probe_phy(). >> It deletes unused variable 'first' and commented out code. >> >> Signed-off-by: Mao Wenan >> --- >> v2->v3: delte unused variable 'first'; change

Re: [PATCH v2] net: ns83820: drop pointless static qualifier in ns83820_probe_phy()

2019-02-19 Thread maowenan
On 2019/2/19 16:31, Julia Lawall wrote: > > > On Tue, 19 Feb 2019, Mao Wenan wrote: > >> There is no need to have the 'int first' static >> since new value always be assigned before use it. >> >> This patch cleans up the codes in ns83820_probe_phy() as well. > > As mentioned previously, ther

Re: [PATCH] net: ns83820: drop pointless static qualifier in ns83820_probe_phy()

2019-02-19 Thread maowenan
On 2019/2/19 16:01, Julia Lawall wrote: > > > On Tue, 19 Feb 2019, Mao Wenan wrote: > >> There is no need to have the 'int first' static >> since new value always be assigned before use it. >> The old codes of first dereferencing this variable have >> been commented out. So it is useless with

Re: [PATCH net-next] cfg80211: pmsr: use eth_broadcast_addr() to assign broadcast address

2019-02-18 Thread maowenan
On 2019/2/18 21:48, Kalle Valo wrote: > maowenan writes: > >> Add kalle Valo in mail list. >> >> Hi Kalle Valo, >> Do you have any comments about this patch? > > Why do you ask me? Johannes maintains cfg80211, not me, and he will > provide comments once

Re: [PATCH net-next] cfg80211: pmsr: use eth_broadcast_addr() to assign broadcast address

2019-02-18 Thread maowenan
Add kalle Valo in mail list. Hi Kalle Valo, Do you have any comments about this patch? On 2019/2/16 17:47, Mao Wenan wrote: > This patch is to use eth_broadcast_addr() to assign broadcast address > insetad of memset(). > > Signed-off-by: Mao Wenan > --- > net/wireless/pmsr.c | 2 +- > 1 file c

Re: [net-next] net: crypto set sk to NULL when af_alg_release.

2019-02-17 Thread maowenan
On 2019/2/18 7:42, David Miller wrote: > From: Mao Wenan > Date: Fri, 15 Feb 2019 22:24:15 +0800 > >> KASAN has found use-after-free in sockfs_setattr. >> The existed commit 6d8c50dcb029 ("socket: close race condition between >> sock_close() >> and sockfs_setattr()") is to fix this simillar i

Re: [net-next] net: crypto set sk to NULL when af_alg_release.

2019-02-16 Thread maowenan
who can help review this patch? thank you. On 2019/2/15 22:24, Mao Wenan wrote: > KASAN has found use-after-free in sockfs_setattr. > The existed commit 6d8c50dcb029 ("socket: close race condition between > sock_close() > and sockfs_setattr()") is to fix this simillar issue, but it seems to ignor

Re: [PATCH net-next] net: udp Allow CHECKSUM_UNNECESSARY packets to do GRO.

2019-01-30 Thread maowenan
On 2019/1/31 10:43, Tom Herbert wrote: > On Wed, Jan 30, 2019 at 5:58 PM maowenan wrote: >> >> >> >> On 2019/1/30 4:24, Tom Herbert wrote: >>> On Tue, Jan 29, 2019 at 12:08 AM maowenan wrote: >>>> >>>> >>>> >>&g

Re: [PATCH net-next] net: udp Allow CHECKSUM_UNNECESSARY packets to do GRO.

2019-01-30 Thread maowenan
On 2019/1/30 4:24, Tom Herbert wrote: > On Tue, Jan 29, 2019 at 12:08 AM maowenan wrote: >> >> >> >> On 2019/1/29 14:24, Tom Herbert wrote: >>> On Mon, Jan 28, 2019 at 10:04 PM maowenan wrote: >>>> >>>> >>>> >>&

Re: [PATCH net-next] net: udp Allow CHECKSUM_UNNECESSARY packets to do GRO.

2019-01-29 Thread maowenan
On 2019/1/29 14:24, Tom Herbert wrote: > On Mon, Jan 28, 2019 at 10:04 PM maowenan wrote: >> >> >> >> On 2019/1/29 12:01, Tom Herbert wrote: >>> On Mon, Jan 28, 2019 at 7:00 PM maowenan wrote: >>>> >>>> Hi all, >>>> Do yo

Re: [PATCH net-next] net: udp Allow CHECKSUM_UNNECESSARY packets to do GRO.

2019-01-28 Thread maowenan
On 2019/1/29 12:01, Tom Herbert wrote: > On Mon, Jan 28, 2019 at 7:00 PM maowenan wrote: >> >> Hi all, >> Do you have any comments about this change? >> >> >> On 2019/1/23 11:33, Mao Wenan wrote: >>> When ud

Re: [PATCH net-next] net: udp Allow CHECKSUM_UNNECESSARY packets to do GRO.

2019-01-28 Thread maowenan
Hi all, Do you have any comments about this change? On 2019/1/23 11:33, Mao Wenan wrote: > When udp4_gro_receive() get one packet that uh->check=0, > skb_gro_checksum_validate_zero_check() will set the > skb->ip_summed = CHECKSUM_UNNECESSARY; > skb->csum_level = 0; > Then udp_gro_receive() will f

Re: [PATCH stable 4.4 05/11] ip: use rb trees for IP frag queue.

2019-01-25 Thread maowenan
On 2019/1/25 15:07, Greg KH wrote: > On Fri, Jan 25, 2019 at 09:50:35AM +0800, maowenan wrote: >> >> >> On 2019/1/25 1:58, Greg KH wrote: >>> On Wed, Jan 23, 2019 at 10:19:40AM +0800, Mao Wenan wrote: >>>> From: P

Re: [PATCH stable 4.4 06/11] ipv6: defrag: drop non-last frags smaller than min mtu

2019-01-24 Thread maowenan
On 2019/1/25 2:31, Greg KH wrote: > On Wed, Jan 23, 2019 at 10:19:41AM +0800, Mao Wenan wrote: >> From: Florian Westphal >> >> [ Upstream commit 0ed4229b08c13c84a3c301a08defdc9e7f4467e6 ] >> >> don't bother with pathological cases, they only waste cycles. >> IPv6 requires a minimum MTU of 1280

Re: [PATCH stable 4.4 05/11] ip: use rb trees for IP frag queue.

2019-01-24 Thread maowenan
On 2019/1/25 1:58, Greg KH wrote: > On Wed, Jan 23, 2019 at 10:19:40AM +0800, Mao Wenan wrote: >> From: Peter Oskolkov >> >> [ Upstream commit fa0f527358bd900ef92f925878ed6bfbd51305cc ] > > This commit is not in the 4.14.y tree, any specific reason why not? I found the commit 6b921536f1707a24

Re: [PATCH stable 4.4 0/9] fix SegmentSmack in stable branch (CVE-2018-5390)

2018-09-13 Thread maowenan
On 2018/9/13 20:44, Eric Dumazet wrote: > On Thu, Sep 13, 2018 at 5:32 AM Greg KH wrote: >> >> On Thu, Aug 16, 2018 at 05:24:09PM +0200, Greg KH wrote: >>> On Thu, Aug 16, 2018 at 02:33:56PM +0200, Michal Kubecek wrote: >>>> On Thu, Aug 16, 2018 at 08:05:

Re: [PATCH stable 4.4 0/9] fix SegmentSmack in stable branch (CVE-2018-5390)

2018-08-16 Thread maowenan
On 2018/8/17 0:06, Michal Kubecek wrote: > On Thu, Aug 16, 2018 at 05:24:09PM +0200, Greg KH wrote: >> On Thu, Aug 16, 2018 at 02:33:56PM +0200, Michal Kubecek wrote: >>> >>> Anyway, even at this rate, I only get ~10% of one core (Intel E5-2697). >>> >>> What I can see, though, is that with curr

Re: [PATCH stable 4.4 0/9] fix SegmentSmack in stable branch (CVE-2018-5390)

2018-08-16 Thread maowenan
On 2018/8/16 19:39, Michal Kubecek wrote: > On Thu, Aug 16, 2018 at 03:55:16PM +0800, maowenan wrote: >> On 2018/8/16 15:44, Michal Kubecek wrote: >>> On Thu, Aug 16, 2018 at 03:39:14PM +0800, maowenan wrote: >>>> >>>> >>>> On 2018/8/16 15:2

Re: [PATCH stable 4.4 0/9] fix SegmentSmack in stable branch (CVE-2018-5390)

2018-08-16 Thread maowenan
On 2018/8/16 15:44, Michal Kubecek wrote: > On Thu, Aug 16, 2018 at 03:39:14PM +0800, maowenan wrote: >> >> >> On 2018/8/16 15:23, Michal Kubecek wrote: >>> On Thu, Aug 16, 2018 at 03:19:12PM +0800, maowenan wrote: >>>> On 2018/8/16 14:52, Michal K

Re: [PATCH stable 4.4 0/9] fix SegmentSmack in stable branch (CVE-2018-5390)

2018-08-16 Thread maowenan
On 2018/8/16 15:23, Michal Kubecek wrote: > On Thu, Aug 16, 2018 at 03:19:12PM +0800, maowenan wrote: >> On 2018/8/16 14:52, Michal Kubecek wrote: >>> >>> My point is that backporting all this into stable 4.4 is quite intrusive >>> so that if we can achieve

Re: [PATCH stable 4.4 0/9] fix SegmentSmack in stable branch (CVE-2018-5390)

2018-08-16 Thread maowenan
On 2018/8/16 14:52, Michal Kubecek wrote: > On Thu, Aug 16, 2018 at 02:42:32PM +0800, maowenan wrote: >> On 2018/8/16 14:16, Michal Kubecek wrote: >>> On Thu, Aug 16, 2018 at 10:50:01AM +0800, Mao Wenan wrote: >>>> There are five patches to fix CVE-2018-5390 in lat

Re: [PATCH stable 4.4 0/9] fix SegmentSmack in stable branch (CVE-2018-5390)

2018-08-15 Thread maowenan
On 2018/8/16 14:16, Michal Kubecek wrote: > On Thu, Aug 16, 2018 at 10:50:01AM +0800, Mao Wenan wrote: >> There are five patches to fix CVE-2018-5390 in latest mainline >> branch, but only two patches exist in stable 4.4 and 3.18: >> dc6ae4d tcp: detect malicious patterns in tcp_collapse_ofo_q

Re: [PATCH stable 4.4 1/9] Revert "tcp: detect malicious patterns in tcp_collapse_ofo_queue()"

2018-08-15 Thread maowenan
On 2018/8/15 21:18, Greg KH wrote: > On Wed, Aug 15, 2018 at 09:21:00PM +0800, Mao Wenan wrote: >> This reverts commit dc6ae4dffd656811dee7151b19545e4cd839d378. > > I need a reason why, and a signed-off-by line :( stable 4.4 only back port two patches to fix CVE-2018-5390, I have tested they

Re: [PATCH stable 4.4 0/9] fix SegmentSmack (CVE-2018-5390)

2018-08-15 Thread maowenan
On 2018/8/15 23:41, Greg KH wrote: > On Wed, Aug 15, 2018 at 03:24:32PM +0200, Greg KH wrote: >> On Wed, Aug 15, 2018 at 09:20:59PM +0800, Mao Wenan wrote: >>> There are five patches to fix CVE-2018-5390 in latest mainline >>> branch, but only two patches exist in stable 4.4 and 3.18: >>> dc6a

Re: [PATCH 4.9-stable] tcp: add tcp_ooo_try_coalesce() helper

2018-08-10 Thread maowenan
On 2018/8/10 14:26, maowenan wrote: > > > On 2018/8/9 20:52, David Woodhouse wrote: >> On Thu, 2018-08-09 at 14:47 +0200, Greg KH wrote: >>> On Thu, Aug 09, 2018 at 08:37:13PM +0800, maowenan wrote: >>>> There are two patches in stable branch linux-4.4

Re: [PATCH 4.9-stable] tcp: add tcp_ooo_try_coalesce() helper

2018-08-09 Thread maowenan
On 2018/8/9 20:52, David Woodhouse wrote: > On Thu, 2018-08-09 at 14:47 +0200, Greg KH wrote: >> On Thu, Aug 09, 2018 at 08:37:13PM +0800, maowenan wrote: >>> There are two patches in stable branch linux-4.4, but I have tested with >>> below patches, and found that

Re: [PATCH 4.9-stable] tcp: add tcp_ooo_try_coalesce() helper

2018-08-09 Thread maowenan
On 2018/8/9 20:52, David Woodhouse wrote: > On Thu, 2018-08-09 at 14:47 +0200, Greg KH wrote: >> On Thu, Aug 09, 2018 at 08:37:13PM +0800, maowenan wrote: >>> There are two patches in stable branch linux-4.4, but I have tested with >>> below patches, and found that

Re: [PATCH 4.9-stable] tcp: add tcp_ooo_try_coalesce() helper

2018-08-09 Thread maowenan
On 2018/8/9 20:47, Greg KH wrote: > On Thu, Aug 09, 2018 at 08:37:13PM +0800, maowenan wrote: >> >> >> On 2018/8/7 21:22, Greg KH wrote: >>> On Sat, Aug 04, 2018 at 10:10:00AM +0100, David Woodhouse wrote: >>>> From: Eric Dumazet >>>>

Re: [PATCH 4.9-stable] tcp: add tcp_ooo_try_coalesce() helper

2018-08-09 Thread maowenan
On 2018/8/7 21:22, Greg KH wrote: > On Sat, Aug 04, 2018 at 10:10:00AM +0100, David Woodhouse wrote: >> From: Eric Dumazet >> >> commit 58152ecbbcc6a0ce7fddd5bf5f6ee535834ece0c upstream. >> >> In case skb in out_or_order_queue is the result of >> multiple skbs coalescing, we would like to get a

Re: mounting NFS on the same host leads to D state

2018-05-16 Thread maowenan
Hi, I have tested in recent version 4.16 rc7 and find it also has the same issue. @Eric do you have any comments about this nfs issue? On 2018/5/15 11:47, maowenan wrote: > Hi, > > Recently I have tested NFS and exportfs scenario, > that NFS server and client are in the same host. &

mounting NFS on the same host leads to D state

2018-05-14 Thread maowenan
Hi, Recently I have tested NFS and exportfs scenario, that NFS server and client are in the same host. And I found mounting NFS filesystm onto the same host can lead to rpc.mountd and related task become D state. My kernel version is based on 3.10, and I find 4.15 has the same appearance. My test

RE: [PATCH net 3/3] tcp: fix xmit timer to only be reset if data ACKed/SACKed

2017-08-06 Thread maowenan
> -Original Message- > From: Willy Tarreau [mailto:w...@1wt.eu] > Sent: Saturday, August 05, 2017 2:19 AM > To: Neal Cardwell > Cc: maowenan; David Miller; netdev@vger.kernel.org; Yuchung Cheng; Nandita > Dukkipati; Eric Dumazet > Subject: Re: [PATCH net 3/3] tcp: f

RE: [PATCH net 3/3] tcp: fix xmit timer to only be reset if data ACKed/SACKed

2017-08-04 Thread maowenan
> -Original Message- > From: maowenan > Sent: Tuesday, August 01, 2017 8:20 PM > To: 'Neal Cardwell'; David Miller > Cc: netdev@vger.kernel.org; Yuchung Cheng; Nandita Dukkipati > Subject: RE: [PATCH net 3/3] tcp: fix xmit timer to only be

RE: [PATCH net 3/3] tcp: fix xmit timer to only be reset if data ACKed/SACKed

2017-08-04 Thread maowenan
> -Original Message- > From: maowenan > Sent: Tuesday, August 01, 2017 8:20 PM > To: 'Neal Cardwell'; David Miller > Cc: netdev@vger.kernel.org; Yuchung Cheng; Nandita Dukkipati > Subject: RE: [PATCH net 3/3] tcp: fix xmit timer to only be

RE: [PATCH net 3/3] tcp: fix xmit timer to only be reset if data ACKed/SACKed

2017-08-01 Thread maowenan
> -Original Message- > From: netdev-ow...@vger.kernel.org [mailto:netdev-ow...@vger.kernel.org] > On Behalf Of Neal Cardwell > Sent: Tuesday, August 01, 2017 10:58 AM > To: David Miller > Cc: netdev@vger.kernel.org; Neal Cardwell; Yuchung Cheng; Nandita Dukkipati > Subject: [PATCH net 3/3

RE: [PATCH V3 net-next] TLP: Don't reschedule PTO when there's one outstanding TLP retransmission

2017-07-28 Thread maowenan
> -Original Message- > From: Neal Cardwell [mailto:ncardw...@google.com] > Sent: Saturday, July 29, 2017 6:48 AM > To: maowenan > Cc: Netdev; David Miller; Yuchung Cheng; Nandita Dukkipati; weiyongjun (A); > Chenweilong; Wangkefeng (Kevin) > Subject: Re: [PATCH V3

RE: [PATCH V2 net-next] TLP: Don't reschedule PTO when there's one outstanding TLP retransmission

2017-07-26 Thread maowenan
> -Original Message- > From: Sergei Shtylyov [mailto:sergei.shtyl...@cogentembedded.com] > Sent: Wednesday, July 26, 2017 6:03 PM > To: maowenan; netdev@vger.kernel.org; da...@davemloft.net; > ncardw...@google.com; ych...@google.com; nandi...@google.com; > weiyongju

RE: [PATCH net-next] TLP: Don't reschedule PTO when there's one outstanding TLP retransmission.

2017-07-26 Thread maowenan
> -Original Message- > From: Yuchung Cheng [mailto:ych...@google.com] > Sent: Thursday, July 27, 2017 12:45 AM > To: maowenan > Cc: Neal Cardwell; Netdev; David Miller; weiyongjun (A); Chenweilong; Nandita > Dukkipati; Wangkefeng (Kevin) > Subject: Re: [PATCH

RE: [PATCH net-next] TLP: Don't reschedule PTO when there's one outstanding TLP retransmission.

2017-07-25 Thread maowenan
> -Original Message- > From: Neal Cardwell [mailto:ncardw...@google.com] > Sent: Tuesday, July 25, 2017 9:30 PM > To: maowenan > Cc: Netdev; David Miller; weiyongjun (A); Chenweilong; Yuchung Cheng; > Nandita Dukkipati > Subject: Re: [PATCH net-next] TLP: Don&

RE: [PATCH net-next] TLP: Don't reschedule PTO when there's one outstanding TLP retransmission.

2017-07-25 Thread maowenan
> -Original Message- > From: Sergei Shtylyov [mailto:sergei.shtyl...@cogentembedded.com] > Sent: Tuesday, July 25, 2017 5:55 PM > To: maowenan; netdev@vger.kernel.org; da...@davemloft.net; weiyongjun > (A); Chenweilong > Subject: Re: [PATCH net-next] TLP: Don

RE: [PATCH net-next] TLP: Don't reschedule PTO when there's one outstanding TLP retransmission.

2017-07-25 Thread maowenan
> -Original Message- > From: netdev-ow...@vger.kernel.org [mailto:netdev-ow...@vger.kernel.org] > On Behalf Of Mao Wenan > Sent: Tuesday, July 25, 2017 4:36 PM > To: netdev@vger.kernel.org; da...@davemloft.net; weiyongjun (A); > Chenweilong > Subject: [PATCH net-next] TLP: Don't reschedul

RE: [net-next 06/14] ixgbe: Update driver to make use of DMA attributes in Rx path

2017-02-16 Thread maowenan
> -Original Message- > From: netdev-ow...@vger.kernel.org [mailto:netdev-ow...@vger.kernel.org] > On Behalf Of Jeff Kirsher > Sent: Thursday, February 16, 2017 8:51 PM > To: da...@davemloft.net > Cc: Alexander Duyck; netdev@vger.kernel.org; nhor...@redhat.com; > sassm...@redhat.com; jogre

RE: [net] net: phy: Fix lack of reference count on PHY driver

2017-02-08 Thread maowenan
> -Original Message- > From: Andrew Lunn [mailto:and...@lunn.ch] > Sent: Thursday, February 09, 2017 12:24 AM > To: Robin Murphy > Cc: Florian Fainelli; netdev@vger.kernel.org; da...@davemloft.net; > rmk+ker...@armlinux.org.uk; maowenan; Catalin Marinas > Subject: Re

RE: [PATCH net v2 1/3] net: phy: Fix PHY module checks

2017-02-07 Thread maowenan
> -Original Message- > From: Florian Fainelli [mailto:f.faine...@gmail.com] > Sent: Wednesday, February 08, 2017 3:38 PM > To: netdev@vger.kernel.org > Cc: da...@davemloft.net; and...@lunn.ch; rmk+ker...@armlinux.org.uk; > maowenan; Florian Fainelli > Subject: [PATCH

RE: [PATCH net-next 2/2] add one config to select relax order mode in intel NIC's Kconfig

2017-02-03 Thread maowenan
> -Original Message- > From: Alexander Duyck [mailto:alexander.du...@gmail.com] > Sent: Saturday, February 04, 2017 12:43 AM > To: maowenan > Cc: Netdev; Jeff Kirsher > Subject: Re: [PATCH net-next 2/2] add one config to select relax order mode in > intel NIC's

Re: [PATCH] net:phy fix driver reference count error when attach and detach phy device

2017-01-23 Thread maowenan
On 2017/1/6 12:48, Florian Fainelli wrote: > Le 01/05/17 à 19:39, maowenan a écrit : >> >> >> On 2017/1/6 11:21, Florian Fainelli wrote: >>> +Andrew, >>> >>> Le 01/05/17 à 18:29, maowenan a écrit : >>>>>> @Florian Fainelli,

RE: [PATCH v2 net-next] net:add one common config ARCH_WANT_RELAX_ORDER to support relax ordering.

2017-01-17 Thread maowenan
> -Original Message- > From: Alexander Duyck [mailto:alexander.du...@gmail.com] > Sent: Wednesday, January 18, 2017 3:28 AM > To: David Miller > Cc: maowenan; Netdev; Jeff Kirsher > Subject: Re: [PATCH v2 net-next] net:add one common config > ARCH_WANT_RELAX_O

RE: [PATCH v2 net-next] net:add one common config ARCH_WANT_RELAX_ORDER to support relax ordering.

2017-01-09 Thread maowenan
> -Original Message- > From: netdev-ow...@vger.kernel.org [mailto:netdev-ow...@vger.kernel.org] > On Behalf Of Mao Wenan > Sent: Monday, January 09, 2017 1:33 PM > To: netdev@vger.kernel.org; jeffrey.t.kirs...@intel.com; > alexander.du...@gmail.com > Subject: [PATCH v2 net-next] net:add one

Re: [PATCH net-next] net:add one common config ARCH_WANT_RELAX_ORDER to support relax ordering.

2017-01-08 Thread maowenan
On 2017/1/6 23:41, Alexander Duyck wrote: > On Fri, Jan 6, 2017 at 1:52 AM, Mao Wenan wrote: >> Relax ordering(RO) is one feature of 82599 NIC, to enable this feature can >> enhance the performance for some cpu architecure, such as SPARC and so on. >> Currently it only supports one special cpu a

Re: [PATCH] net:phy fix driver reference count error when attach and detach phy device

2017-01-05 Thread maowenan
On 2017/1/6 11:21, Florian Fainelli wrote: > +Andrew, > > Le 01/05/17 à 18:29, maowenan a écrit : >>>> @Florian Fainelli, what's your comments about this patch? >>> >>> I am trying to reproduce what you are seeing, but at first glance is looks >&g

RE: [PATCH] net:phy fix driver reference count error when attach and detach phy device

2017-01-05 Thread maowenan
> -Original Message- > From: Florian Fainelli [mailto:f.faine...@gmail.com] > Sent: Tuesday, December 13, 2016 12:33 AM > To: maowenan; David Laight; netdev@vger.kernel.org; Dingtianhong; > weiyongjun (A) > Subject: Re: [PATCH] net:phy fix driver reference count err

RE: [PATCH] ethtool: add one ethtool option to set relax ordering mode

2017-01-04 Thread maowenan
> -Original Message- > From: maowenan > Sent: Monday, December 26, 2016 4:33 PM > To: maowenan; 'Alexander Duyck' > Cc: 'Jeff Kirsher'; 'Stephen Hemminger'; 'netdev@vger.kernel.org'; weiyongjun > (A); Dingtianhong; Wangzhou (B)

RE: [RFC PATCH] i40e: enable PCIe relax ordering for SPARC

2016-12-27 Thread maowenan
> -Original Message- > From: tndave [mailto:tushar.n.d...@oracle.com] > Sent: Wednesday, December 28, 2016 6:28 AM > To: maowenan; jeffrey.t.kirs...@intel.com; intel-wired-...@lists.osuosl.org > Cc: netdev@vger.kernel.org; weiyongjun (A); Dingtianhong > Subject: Re

RE: [Intel-wired-lan] [RFC PATCH] i40e: enable PCIe relax ordering for SPARC

2016-12-27 Thread maowenan
> -Original Message- > From: netdev-ow...@vger.kernel.org [mailto:netdev-ow...@vger.kernel.org] > On Behalf Of Alexander Duyck > Sent: Tuesday, December 06, 2016 5:55 AM > To: Tushar Dave > Cc: Jeff Kirsher; intel-wired-lan; Netdev > Subject: Re: [Intel-wired-lan] [RFC PATCH] i40e: enable

RE: [RFC PATCH] i40e: enable PCIe relax ordering for SPARC

2016-12-26 Thread maowenan
> -Original Message- > From: netdev-ow...@vger.kernel.org [mailto:netdev-ow...@vger.kernel.org] > On Behalf Of Tushar Dave > Sent: Tuesday, December 06, 2016 1:07 AM > To: jeffrey.t.kirs...@intel.com; intel-wired-...@lists.osuosl.org > Cc: netdev@vger.kernel.org > Subject: [RFC PATCH] i40

RE: [PATCH] ethtool: add one ethtool option to set relax ordering mode

2016-12-26 Thread maowenan
> -Original Message- > From: maowenan > Sent: Saturday, December 24, 2016 4:30 PM > To: 'Alexander Duyck' > Cc: Jeff Kirsher; Stephen Hemminger; netdev@vger.kernel.org; weiyongjun (A); > Dingtianhong; Wangzhou (B) > Subject: RE: [PATCH] ethtool: add

RE: [PATCH] ethtool: add one ethtool option to set relax ordering mode

2016-12-24 Thread maowenan
> -Original Message- > From: Alexander Duyck [mailto:alexander.du...@gmail.com] > Sent: Friday, December 23, 2016 11:43 PM > To: maowenan > Cc: Jeff Kirsher; Stephen Hemminger; netdev@vger.kernel.org; weiyongjun (A); > Dingtianhong > Subject: Re: [PATCH] ethtool: a

RE: [PATCH] ethtool: add one ethtool option to set relax ordering mode

2016-12-22 Thread maowenan
> -Original Message- > From: Jeff Kirsher [mailto:jeffrey.t.kirs...@intel.com] > Sent: Friday, December 23, 2016 9:07 AM > To: maowenan; Alexander Duyck > Cc: Stephen Hemminger; netdev@vger.kernel.org; weiyongjun (A); > Dingtianhong > Subject: Re: [PATCH] ethtool: a

RE: [PATCH] ethtool: add one ethtool option to set relax ordering mode

2016-12-22 Thread maowenan
> -Original Message- > From: Alexander Duyck [mailto:alexander.du...@gmail.com] > Sent: Thursday, December 22, 2016 11:54 PM > To: maowenan > Cc: Stephen Hemminger; netdev@vger.kernel.org; jeffrey.t.kirs...@intel.com; > weiyongjun (A); Dingtianhong > Subject: Re: [PA

RE: [PATCH] ethtool: add one ethtool option to set relax ordering mode

2016-12-21 Thread maowenan
> -Original Message- > From: Stephen Hemminger [mailto:step...@networkplumber.org] > Sent: Thursday, December 22, 2016 9:28 AM > To: maowenan > Cc: netdev@vger.kernel.org; jeffrey.t.kirs...@intel.com > Subject: Re: [PATCH] ethtool: add one ethtool option to set rela

RE: [PATCH] net: add one ethtool option to set relax ordering mode

2016-12-21 Thread maowenan
Hi, > -Original Message- > From: maowenan > Sent: Monday, December 12, 2016 4:29 PM > To: 'Andrew Lunn' > Cc: netdev@vger.kernel.org; jeffrey.t.kirs...@intel.com; weiyongjun (A) > Subject: RE: [PATCH] net: add one ethtool option to set relax ordering mod

Re: [PATCH] net:phy fix driver reference count error when attach and detach phy device

2016-12-12 Thread maowenan
On 2016/12/5 16:47, maowenan wrote: > > > On 2016/12/2 17:45, David Laight wrote: >> From: Mao Wenan >>> Sent: 30 November 2016 10:23 >>> The nic in my board use the phy dev from marvell, and the system will >>> load the marvell phy driver automatica

RE: [PATCH] net: add one ethtool option to set relax ordering mode

2016-12-12 Thread maowenan
> -Original Message- > From: netdev-ow...@vger.kernel.org [mailto:netdev-ow...@vger.kernel.org] > On Behalf Of Andrew Lunn > Sent: Thursday, December 08, 2016 10:12 PM > To: maowenan > Cc: netdev@vger.kernel.org; jeffrey.t.kirs...@intel.com > Subject: Re: [PATCH]

Re: [PATCH] net:phy fix driver reference count error when attach and detach phy device

2016-12-05 Thread maowenan
On 2016/12/2 17:45, David Laight wrote: > From: Mao Wenan >> Sent: 30 November 2016 10:23 >> The nic in my board use the phy dev from marvell, and the system will >> load the marvell phy driver automatically, but when I remove the phy >> drivers, the system immediately panic: >> Call trace: >> [

转发: Re: [PATCH] phy: fix the bug when remove the phy driver

2016-11-29 Thread maowenan
ev->driver == drv && (dev->kobj.kref.refcount.counter == 1)) __device_release_driver(dev); -邮件原件- 发件人: Dingtianhong 发送时间: 2016年11月29日 10:03 收件人: maowenan 主题: Fwd: Re: [PATCH] phy: fix the bug when remove the phy driver Forwarded Message ---

答复: [PATCH] add one parameter wro_enable to enable relaxed ordering for IXGBE

2016-11-09 Thread maowenan
quot;, no need to rebuild the whole kernel. -邮件原件- 发件人: Jeff Kirsher [mailto:jeffrey.t.kirs...@intel.com] 发送时间: 2016年10月29日 15:42 收件人: maowenan; intel-wired-...@lists.osuosl.org; netdev@vger.kernel.org; linux-ker...@vger.kernel.org 主题: Re: [PATCH] add one parameter wro_enable to enab

hello

2016-10-14 Thread maowenan
i want to subscribe this mail, thank you very much.