[PATCH] net: ethernet: mtk-star-emac: return ok when xmit drops

2020-11-12 Thread Vincent Stehlé
The ndo_start_xmit() method must return NETDEV_TX_OK if the DMA mapping fails, after freeing the socket buffer. Fix the mtk_star_netdev_start_xmit() function accordingly. Fixes: 8c7bd5a454ff ("net: ethernet: mtk-star-emac: new driver") Signed-off-by: Vincent Stehlé Cc: David S. Miller Cc: Bartos

Re: [PATCH] net: ethernet: mtk-star-emac: return ok when xmit drops

2020-11-12 Thread Bartosz Golaszewski
On Thu, Nov 12, 2020 at 12:35 PM Vincent Stehlé wrote: > > The ndo_start_xmit() method must return NETDEV_TX_OK if the DMA mapping > fails, after freeing the socket buffer. > Fix the mtk_star_netdev_start_xmit() function accordingly. > > Fixes: 8c7bd5a454ff ("net: ethernet: mtk-star-emac: new driv

Re: is it ok to always pull in sctp for dlm, was: Re: [PATCH 27/33] sctp: export sctp_setsockopt_bindx

2020-05-14 Thread David Teigland
On Thu, May 14, 2020 at 12:40:40PM +0200, Christoph Hellwig wrote: > On Wed, May 13, 2020 at 03:00:58PM -0300, Marcelo Ricardo Leitner wrote: > > On Wed, May 13, 2020 at 08:26:42AM +0200, Christoph Hellwig wrote: > > > And call it directly from dlm instead of going through kernel_setsockopt. > > >

is it ok to always pull in sctp for dlm, was: Re: [PATCH 27/33] sctp: export sctp_setsockopt_bindx

2020-05-14 Thread Christoph Hellwig
On Wed, May 13, 2020 at 03:00:58PM -0300, Marcelo Ricardo Leitner wrote: > On Wed, May 13, 2020 at 08:26:42AM +0200, Christoph Hellwig wrote: > > And call it directly from dlm instead of going through kernel_setsockopt. > > The advantage on using kernel_setsockopt here is that sctp module will > o

ok

2019-08-10 Thread AHM AHM
Greetings, It was nice to have your contact and I hope this mail doesn't come to you as a surprise or be treated as spam because i consider this info highly classified and pertinent. I am Mr. Ahmed Zama, A Senior staff in one of Bank here in Burkina Faso. I am contacting you with regards to this p

OK

2019-03-07 Thread AH ZA
Greetings, I humbly solicit for your partnership to transfer €15 million Euros into your personal or company’s account .I will offer you 30% of the total sum,60% will be for me while 10% will set aside for expenses that may be incurred on the process of transferring the fund. Contact me for more d

[net 5/5] ixgbe: don't do any AF_XDP zero-copy transmit if netif is not OK

2019-02-21 Thread Jeff Kirsher
. Don't do any work if netif carrier is not OK. Fixes: 8221c5eba8c13 (ixgbe: add AF_XDP zero-copy Tx support) Signed-off-by: Jan Sokolowski Signed-off-by: Jeff Kirsher --- drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/driver

[PATCH net] ixgbe: don't do any AF_XDP zero-copy transmit if netif is not OK

2019-02-20 Thread Jan Sokolowski
rk if netif carrier is not OK. Fixes: 8221c5eba8c13 (ixgbe: add AF_XDP zero-copy Tx support) Signed-off-by: Jan Sokolowski --- drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c b/driver

[PATCH net-next 7/7] selftests: forwarding: Use OK instead of PASS in test output

2019-01-28 Thread Ido Schimmel
It is easier to distinguish "[ OK ]" from "[FAIL]" than "[PASS]". Signed-off-by: Ido Schimmel Suggested-by: David Ahern Cc: David Ahern --- tools/testing/selftests/net/forwarding/lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/te

OK

2018-09-18 Thread Ahmed Zama
Good Day, I am in need of a reliable and trust worthy person to work with me in receiving huge sum of money into his or her account. I will give you the full details immediately you respond to this email. Ahmed Zama +22675844869

[net-next 08/16] net/mlx5e: Return success when TC offloaded fdb actions parsed ok

2018-05-14 Thread Saeed Mahameed
From: Or Gerlitz Reaching here, means we didn't err anywhere, so lets just return success. Signed-off-by: Or Gerlitz Reviewed-by: Jianbo Liu Signed-off-by: Saeed Mahameed --- drivers/net/ethernet/mellanox/mlx5/core/en_tc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --gi

Re: [patch net-next 1/2] selftests: forwarding: fix "ok" action test

2018-03-07 Thread David Miller
From: Jiri Pirko Date: Wed, 7 Mar 2018 13:57:59 +0100 > From: Jiri Pirko > > Fix the "ok" action test so it checks that packet that is okayed does not > continue to be processed by other rules. Fix error message as well. > > Signed-off-by: Jiri Pirko > Reviewed-by: Ido Schimmel Applied.

[patch net-next 1/2] selftests: forwarding: fix "ok" action test

2018-03-07 Thread Jiri Pirko
From: Jiri Pirko Fix the "ok" action test so it checks that packet that is okayed does not continue to be processed by other rules. Fix error message as well. Signed-off-by: Jiri Pirko Reviewed-by: Ido Schimmel --- tools/testing/selftests/net/forwarding/tc_actions.sh | 5 +++

Re: [PATCH] netdev: carrier detect ok, don't turn off negotiation

2018-02-26 Thread David Miller
From: Denis Du Date: Sat, 24 Feb 2018 16:51:42 -0500 > Sometimes when physical lines have a just good noise to make the protocol > handshaking fail, but the carrier detect still good. Then after remove of > the noise, nobody will trigger this protocol to be start again to cause > the link to neve

[PATCH] netdev: carrier detect ok, don't turn off negotiation

2018-02-24 Thread Denis Du
Sometimes when physical lines have a just good noise to make the protocol handshaking fail, but the carrier detect still good. Then after remove of the noise, nobody will trigger this protocol to be start again to cause the link to never come back. The fix is when the carrier is still on, not termi

Re: [PATCH] Carrier detect ok, don't turn off negotiation

2018-02-22 Thread David Miller
From: Denis Du Date: Wed, 21 Feb 2018 03:35:31 + (UTC) > How  is your thinking about this patch? I cannot apply a patch which has been corrupted by your email client like this. Please send it properly again, plain ASCII text, and no trasnformations by your email client. You should send the

Re: [PATCH] Carrier detect ok, don't turn off negotiation

2018-02-20 Thread Denis Du
Hi, David: How  is your thinking about this patch? >From b5902a4dfc709b62b704997ab64f31c9ef69a6db Mon Sep 17 00:00:00 2001 From: Denis Du Date: Mon, 15 Jan 2018 17:26:06 -0500 Subject: [PATCH] netdev: carrier detect ok, don't turn off negotiation Sometimes when physical lines hav

Re: [PATCH] Carrier detect ok, don't turn off negotiation

2018-02-06 Thread Denis Du
Ok, I submit it  again. In drivers/net/wan/hdlc_ppp.c, some noise on physical line can cause the carrier detect still ok, but the protocol will fail. So if carrier detect ok, don't turn off protocol negotiation This patch is against the kernel version Linux 4.15-rc8 On Tu

Re: [PATCH] Carrier detect ok, don't turn off negotiation

2018-02-06 Thread David Miller
From: Denis Du Date: Tue, 6 Feb 2018 15:15:28 + (UTC) > How  do you think my patch? > > As you see, Krzysztof  think my patch is ok to be accepted. > But if you have a better idea to fix it,I am glad to see it. Anyway, this > issue have to be fixed. Please resubmit it and I

Re: [PATCH] Carrier detect ok, don't turn off negotiation

2018-02-06 Thread Denis Du
Hi, David: How  do you think my patch? As you see, Krzysztof  think my patch is ok to be accepted. But if you have a better idea to fix it,I am glad to see it. Anyway, this issue have to be fixed. Denis DU On Sunday, January 28, 2018, 9:34:15 AM EST, Krzysztof Halasa wrote

Re: [PATCH] Carrier detect ok, don't turn off negotiation

2018-01-28 Thread Krzysztof Halasa
Denis Du writes: >>From the above code, I can get that only Carrier have some change, it > will restart the protocol by hdlc_proto_start(dev);and thus the timer, > the previous timer expired due to protocol fail. > > If carrier keep no change by if (hdlc->carrier == on) > goto carrier_exi

Re: [PATCH] Carrier detect ok, don't turn off negotiation

2018-01-23 Thread Denis Du
Ok, I check the source code again. It have nothing to do with the interrupts, it is related how the hdlc.c is implemented. In drivers/net/wan/hdlc.c#L108 if (hdlc->carrier == on) goto carrier_exit; /* no change in DCD line level */ hdlc->carrier = on; if (!hdlc

Re: [PATCH] Carrier detect ok, don't turn off negotiation

2018-01-22 Thread Denis Du
The timer is supposed to be triggered by carrier detect interrupt. After remove the line noise, the carrier detect interrupt is never triggered again, because the carrier is always ok and it only trigger the timer once, Since the protocol was terminated and no new interrupts happen, the link

Re: [PATCH] Carrier detect ok, don't turn off negotiation

2018-01-22 Thread David Miller
From: Denis Du Date: Tue, 16 Jan 2018 16:58:25 + (UTC) > From b5902a4dfc709b62b704997ab64f31c9ef69a6db Mon Sep 17 00:00:00 2001 > From: Denis Du > Date: Mon, 15 Jan 2018 17:26:06 -0500 > Subject: [PATCH] netdev: carrier detect ok, don't turn off negotiation > >

[PATCH] Carrier detect ok, don't turn off negotiation

2018-01-16 Thread Denis Du
In drivers/net/wan/hdlc_ppp.c, some noise on physical line can cause the carrier detect still ok, but the protocol will fail. So if carrier detect ok, don't turn off protocol negotiation This patch is against the kernel version Linux 4.15-rc8From b5902a4dfc709b62b704997ab64f31c9ef69a6db Mo

[patch net-next 3/3] mlxsw: spectrum_flower: Offload "ok" termination action

2017-09-25 Thread Jiri Pirko
From: Jiri Pirko If action is "gact_ok", offload it to HW. Signed-off-by: Jiri Pirko --- drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c b/drivers/net/ethernet/

Re: linux <=4.9.5, 4.10-rc7 ok, 4.9.6 - 4.9.8 nok with realtek wlan, atom

2017-02-11 Thread rupert THURNER
t; >>> not technical expert enough, i just wanted to give a short user >>> feedback. for realtek wlan on atom, kernels up to 4.9.5 are ok, and >>> kernel 4.10.0-rc7-g926af6273fc6 (arch linux-git version numbering) as >>> well. kernels 4.9.6, 4.9.7, and 4.9.8

Re: linux <=4.9.5, 4.10-rc7 ok, 4.9.6 - 4.9.8 nok with realtek wlan, atom

2017-02-09 Thread Larry Finger
On 02/09/2017 01:43 PM, Bjorn Helgaas wrote: [+cc rtl8192ce folks in case they've seen this] On Thu, Feb 09, 2017 at 03:45:01PM +0100, rupert THURNER wrote: hi, not technical expert enough, i just wanted to give a short user feedback. for realtek wlan on atom, kernels up to 4.9.5 are ok

Re: linux <=4.9.5, 4.10-rc7 ok, 4.9.6 - 4.9.8 nok with realtek wlan, atom

2017-02-09 Thread Bjorn Helgaas
[+cc rtl8192ce folks in case they've seen this] On Thu, Feb 09, 2017 at 03:45:01PM +0100, rupert THURNER wrote: > hi, > > not technical expert enough, i just wanted to give a short user > feedback. for realtek wlan on atom, kernels up to 4.9.5 are ok, and > kernel 4.10.0-rc7

[iproute2 PATCH 1/1] tc: don't ignore ok as an action branch

2016-05-07 Thread Jamal Hadi Salim
From: Jamal Hadi Salim This is what used to happen before: tc filter add dev tap1 parent : protocol 0xfefe prio 10 \ u32 match u32 0 0 flowid 1:16 \ action ife decode allow mark ok tc -s filter ls dev tap1 parent : filter protocol [65278] pref 10 u32 filter protocol [65278

Re: [IPROUTE2 PATCH][DOC] clarify "ok" and "pass"

2006-12-06 Thread Stephen Hemminger
On Wed, 06 Dec 2006 12:44:26 -0500 jamal <[EMAIL PROTECTED]> wrote: > > a small one. > I have a few more but just run out of cycles for now; > if you dont mind holding before releasing for a short while so i can > get them out I will appreciate it. > > cheers, > jamal > applied all 4 thanks

[IPROUTE2 PATCH][DOC] clarify "ok" and "pass"

2006-12-06 Thread jamal
a small one. I have a few more but just run out of cycles for now; if you dont mind holding before releasing for a short while so i can get them out I will appreciate it. cheers, jamal [DOC]: clarify "ok" and "pass" A small fixup to elucidate the mysteries of acce

Re: 2.6.12 and 82559er ok with eepro100, not ok with e100.

2005-07-18 Thread Bob Beers
> What eeprom part and vendor are you using? > atmel 93C46B > your eeprom seems to have 64 words. The addr_len being incorrect > might be causing a problem. is there any chance you could try hard > coding it? I tried this, it did not help, the reads were still bogus. I'm still leaning toward