Re: [PATCH] ibmvnic: Continue with reset if set link down failed

2021-04-07 Thread Sukadev Bhattiprolu
0875f ("ibmvnic: Updated reset handling") > Signed-off-by: Dany Madden Given that the likely reason for set_link_state() failing is that the CRQ is inactive and that we will attempt to free the CRQ and re-register it in ibmvnic_reset_crq() further down, I think its okay to ignore the error

Re: [RFC PATCH net] ibmvnic: complete dev->poll nicely during adapter reset

2021-03-05 Thread Sukadev Bhattiprolu
Lijun Pan [lijunp...@gmail.com] wrote: > On Fri, Mar 5, 2021 at 12:44 PM Sukadev Bhattiprolu > wrote: > > > > Lijun Pan [l...@linux.ibm.com] wrote: > > > The reset path will call ibmvnic_cleanup->ibmvnic_napi_disable > > > ->napi_disable(). This is

Re: [RFC PATCH net] ibmvnic: complete dev->poll nicely during adapter reset

2021-03-05 Thread Sukadev Bhattiprolu
napi_complete() will prevent a new call to ibmvnic_poll() but what if ibmvnic_poll() is already executing and attempting to access the scrqs while the reset path is freeing them? Sukadev

Re: [PATCH] ibmvnic: remove excessive irqsave

2021-03-04 Thread Sukadev Bhattiprolu
5413:1-18: > ERROR: nested lock+irqsave that reuses flags from line 5404. > Thanks. Please add Fixes: 4a41c421f367 ("ibmvnic: serialize access to work queue on remove") > Signed-off-by: Junlin Yang Reviewed-by: Sukadev Bhattiprolu

Re: [PATCH] ibmvnic: Fix possibly uninitialized old_num_tx_queues variable warning.

2021-03-02 Thread Sukadev Bhattiprolu
a false positive. However, there is no reason to > not initialize the variables unconditionally avoiding the warning. Yeah, its a false positive, but initializing doesn't hurt. > > Fixes: 635e442f4a48 ("ibmvnic: merge ibmvnic_reset_init and ibmvnic_init") > Signed-off-by: Michal Suchanek Reviewed-by: Sukadev Bhattiprolu

[PATCH net v4 1/1] ibmvnic: fix a race between open and reset

2021-02-23 Thread Sukadev Bhattiprolu
nly the reset functions and ibmvnic_open() can set the adapter to OPEN state and this must happen under rtnl. Fixes: 7d7195a026ba ("ibmvnic: Do not process device remove during device reset") Signed-off-by: Sukadev Bhattiprolu Reviewed-by: Dany Madden --- Changelog[v4] [Jakub Kici

Re: linux-next: manual merge of the net-next tree with the net tree

2021-02-18 Thread Sukadev Bhattiprolu
ntainer of the conflicting tree to minimise any particularly > complex conflicts. The changes look good to me. Thanks. Sukadev

[PATCH net 1/1] ibmvnic: serialize access to work queue on remove

2021-02-12 Thread Sukadev Bhattiprolu
92b ("ibmvnic: Flush existing work items before device removal") Signed-off-by: Sukadev Bhattiprolu Cc:Uwe Kleine-König Cc:Saeed Mahameed --- Changelog An earlier version was reviewed by Saeed Mahmeed. But I have deferred some earlier patches in that set. Also, now exte

[PATCH 1/1] ibmvnic: fix a race between open and reset

2021-02-10 Thread Sukadev Bhattiprolu
nly the reset functions and ibmvnic_open() can set the adapter to OPEN state and this must happen under rtnl. Fixes: 7d7195a026ba ("ibmvnic: Do not process device remove during device reset") Signed-off-by: Sukadev Bhattiprolu Reviewed-by: Dany Madden --- Changelog[v3] [Ja

[PATCH 1/1] ibmvnic: Set to CLOSED state even on error

2021-02-10 Thread Sukadev Bhattiprolu
: 01d9bd792d16 ("ibmvnic: Reorganize device close") Signed-off-by: Sukadev Bhattiprolu Reported-by: Abdul Haleem --- drivers/net/ethernet/ibm/ibmvnic.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/ethernet/ibm/ibmvnic.c b/drivers/net/ethernet/ibm/ibmvn

[PATCH net] ibmvnic: Set to CLOSED state even on error

2021-02-09 Thread Sukadev Bhattiprolu
>From f6a04bc0abfae1065577888fc6467f9f162863f6 Mon Sep 17 00:00:00 2001 From: Sukadev Bhattiprolu Date: Wed, 3 Feb 2021 13:15:23 -0800 Subject: [PATCH net] ibmvnic: Set to CLOSED state even on error If set_link_state() fails for any reason, we still cleanup the adapter state and cannot reco

[PATCH net v3] ibmvnic: fix a race between open and reset

2021-02-09 Thread Sukadev Bhattiprolu
>From 0d6616e843973d2f052ea09237c16667802b52e3 Mon Sep 17 00:00:00 2001 From: Sukadev Bhattiprolu Date: Wed, 20 Jan 2021 21:10:15 -0800 Subject: [PATCH net v3] ibmvnic: fix a race between open and reset __ibmvnic_reset() currently reads the adapter->state before getting the rtnl and save

Re: [PATCH v2 2/2] ibmvnic: fix race with multiple open/close

2021-02-03 Thread Sukadev Bhattiprolu
Willem de Bruijn [willemdebruijn.ker...@gmail.com] wrote: > On Wed, Feb 3, 2021 at 12:10 AM Sukadev Bhattiprolu > wrote: > > > > If two or more instances of 'ip link set' commands race and first one > > already brings the interface up (or down), the subseque

Re: [PATCH net 1/2] ibmvnic: fix a race between open and reset

2021-02-02 Thread Sukadev Bhattiprolu
Jakub Kicinski [k...@kernel.org] wrote: > On Thu, 28 Jan 2021 19:47:10 -0800 Sukadev Bhattiprolu wrote: > > + WARN_ON_ONCE(!rtnl_is_locked()); > > ASSERT_RTNL() should do nicely here Yes, Fixed in v2. Thanks, Sukadev

[PATCH 1/1] ibmvnic: Clear failover_pending if unable to schedule

2021-02-02 Thread Sukadev Bhattiprolu
Cris Forno for helping isolate the problem and for testing. Fixes: 1d8504937478 ("powerpc/vnic: Extend "failover pending" window") Signed-off-by: Sukadev Bhattiprolu Tested-by: Cristobal Forno --- drivers/net/ethernet/ibm/ibmvnic.c | 18 +- 1 file changed,

[PATCH v2 2/2] ibmvnic: fix race with multiple open/close

2021-02-02 Thread Sukadev Bhattiprolu
em Tested-by: Abdul Haleem Signed-off-by: Sukadev Bhattiprolu --- Changelog[v2] For consistency with ibmvnic_open() use "goto out" and return from end of function. --- drivers/net/ethernet/ibm/ibmvnic.c | 14 ++ 1 file changed, 14 insertions(+) diff --

[PATCH v2 1/2] ibmvnic: fix a race between open and reset

2021-02-02 Thread Sukadev Bhattiprolu
nly the reset functions and ibmvnic_open() can set the adapter to OPEN state and this must happen under rtnl. Fixes: 7d7195a026ba ("ibmvnic: Do not process device remove during device reset") Signed-off-by: Sukadev Bhattiprolu Reviewed-by: Dany Madden --- Changelog[v2] [Jakub Ki

Re: [PATCH net 2/2] ibmvnic: fix race with multiple open/close

2021-02-01 Thread Sukadev Bhattiprolu
Willem de Bruijn [willemdebruijn.ker...@gmail.com] wrote: > On Thu, Jan 28, 2021 at 10:51 PM Sukadev Bhattiprolu > wrote: > > > > If two or more instances of 'ip link set' commands race and first one > > already brings the interface up (or down), the subseque

[PATCH net 1/2] ibmvnic: fix a race between open and reset

2021-01-28 Thread Sukadev Bhattiprolu
nly the reset functions and ibmvnic_open() can set the adapter to OPEN state and this must happen under rtnl. Fixes: 7d7195a026ba ("ibmvnic: Do not process device remove during device reset") Signed-off-by: Sukadev Bhattiprolu --- drivers/net/ethernet/ibm/ibmvnic.c | 72 +++

[PATCH net 2/2] ibmvnic: fix race with multiple open/close

2021-01-28 Thread Sukadev Bhattiprolu
em Tested-by: Abdul Haleem Signed-off-by: Sukadev Bhattiprolu --- drivers/net/ethernet/ibm/ibmvnic.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/net/ethernet/ibm/ibmvnic.c b/drivers/net/ethernet/ibm/ibmvnic.c index cb7ddfefb03e..84b772921f35 100644 --- a/driv

Re: [PATCH net] ibmvnic: device remove has higher precedence over reset

2021-01-21 Thread Sukadev Bhattiprolu
if (adapter->state == VNIC_REMOVING || > > > - adapter->state == VNIC_REMOVED) { > > > + if (adapter->state == VNIC_REMOVED) { If the adapter is in REMOVING state, there is no point going through the reset process. We could just bail out here. We s

Re: [PATCH net-next v2 0/7] ibmvnic: Use more consistent locking

2021-01-13 Thread Sukadev Bhattiprolu
Jakub Kicinski [k...@kernel.org] wrote: > On Tue, 12 Jan 2021 10:14:34 -0800 Sukadev Bhattiprolu wrote: > > Use more consistent locking when reading/writing the adapter->state > > field. This patch set fixes a race condition during ibmvnic_open() > > where the adapter cou

Re: [PATCH net-next v2 0/7] ibmvnic: Use more consistent locking

2021-01-13 Thread Sukadev Bhattiprolu
Jakub Kicinski [k...@kernel.org] wrote: > On Tue, 12 Jan 2021 20:42:47 -0800 Sukadev Bhattiprolu wrote: > > Jakub Kicinski [k...@kernel.org] wrote: > > > On Tue, 12 Jan 2021 10:14:34 -0800 Sukadev Bhattiprolu wrote: > > > > Use more consistent locking when read

Re: [PATCH net-next v2 0/7] ibmvnic: Use more consistent locking

2021-01-12 Thread Sukadev Bhattiprolu
Jakub Kicinski [k...@kernel.org] wrote: > On Tue, 12 Jan 2021 10:14:34 -0800 Sukadev Bhattiprolu wrote: > > Use more consistent locking when reading/writing the adapter->state > > field. This patch set fixes a race condition during ibmvnic_open() > > where the adapter cou

Re: [PATCH net-next v2 3/7] ibmvnic: avoid allocating rwi entries

2021-01-12 Thread Sukadev Bhattiprolu
ust be last >this is not the preferred comment style: ^^ > > I would just drop the comment here, it is clear from the name of the > enum. > Yeah, we debated and figured the comment could serve as another reminder. Here is updated patch, f

Re: [PATCH net-next v2 5/7] ibmvnic: serialize access to work queue

2021-01-12 Thread Sukadev Bhattiprolu
Saeed Mahameed [sa...@kernel.org] wrote: > On Tue, 2021-01-12 at 10:14 -0800, Sukadev Bhattiprolu wrote: > > @@ -5467,7 +5472,15 @@ static int ibmvnic_remove(struct vio_dev *dev) > > return -EBUSY; > > } > > > > + /* If ibmvnic_reset() is s

[PATCH net-next v2 1/7] ibmvnic: restore state in change-param reset

2021-01-12 Thread Sukadev Bhattiprolu
Restore adapter state before returning from change-param reset. In case of errors, caller will try a hard-reset anyway. Fixes: 0cb4bc66ba5e ("ibmvnic: restore adapter state on failed reset") Signed-off-by: Sukadev Bhattiprolu --- drivers/net/ethernet/ibm/ibmvnic.c | 2 +- 1 file

[PATCH net-next v2 3/7] ibmvnic: avoid allocating rwi entries

2021-01-12 Thread Sukadev Bhattiprolu
) but ignore any rwi entries that remain on the list. Fixes: 2770a7984db58 ("Introduce hard reset recovery") Fixes: 36f1031c51a2 ("ibmvnic: Do not process reset during or after device removal") Signed-off-by: Sukadev Bhattiprolu --- drivers/net/eth

[PATCH net-next v2 4/7] ibmvnic: switch order of checks in ibmvnic_reset

2021-01-12 Thread Sukadev Bhattiprolu
We check separately for REMOVING and PROBING in ibmvnic_reset(). Switch the order of checks to facilitate better locking when checking for REMOVING/REMOVED state. Fixes: 6a2fb0e99f9c ("ibmvnic: driver initialization for kdump/kexec") Signed-off-by: Sukadev Bhattiprolu --- drivers/ne

[PATCH net-next v2 6/7] ibmvnic: check adapter->state under state_lock

2021-01-12 Thread Sukadev Bhattiprolu
side open/close/reset. Thanks to a lot of input from Dany Madden, Lijun Pan and Rick Lindsley. Fixes: 7d7195a026ba ("ibmvnic: Do not process device remove during device reset") Signed-off-by: Sukadev Bhattiprolu --- --- drivers/net/ethernet/ibm/ibmvnic.c | 118 -

[PATCH net-next v2 5/7] ibmvnic: serialize access to work queue

2021-01-12 Thread Sukadev Bhattiprolu
ing ->state_lock from a spin lock to to a mutex to allow us to hold it for longer periods of time. Since work can be scheduled from a tasklet, we cannot block on the mutex, so use a new spin lock. Fixes: 6954a9e4192b ("ibmvnic: Flush existing work items before device removal") Signed

[PATCH net-next v2 7/7] ibmvnic: add comments about state_lock

2021-01-12 Thread Sukadev Bhattiprolu
Add some comments, notes and TODOs about ->state_lock and RTNL. Signed-off-by: Sukadev Bhattiprolu --- drivers/net/ethernet/ibm/ibmvnic.c | 58 ++ drivers/net/ethernet/ibm/ibmvnic.h | 51 +- 2 files changed, 108 insertions(+), 1 delet

[PATCH net-next v2 2/7] ibmvnic: update reset function prototypes

2021-01-12 Thread Sukadev Bhattiprolu
The reset functions need just the 'reset reason' parameter and not the ibmvnic_rwi list element. Update the functions so we can simplify the handling of the ->rwi_list in a follow-on patch. Fixes: 2770a7984db5 ("ibmvnic: Introduce hard reset recovery") Signed-off-

[PATCH net-next v2 0/7] ibmvnic: Use more consistent locking

2021-01-12 Thread Sukadev Bhattiprolu
lly require manual intervention in bringing up applications that depend on the network. Changelog[v2] [Address comments from Jakub Kicinski] - Fix up commit log for patch 5/7 and drop unnecessary variable - Format Fixes line properly (no wrapping, no blank lines) Sukadev Bhattiprolu

Re: [PATCH 5/7] ibmvnic: use a lock to serialize remove/reset

2021-01-11 Thread Sukadev Bhattiprolu
Jakub Kicinski [k...@kernel.org] wrote: > On Sun, 10 Jan 2021 19:52:25 -0800 Sukadev Bhattiprolu wrote: > > Jakub Kicinski [k...@kernel.org] wrote: > > > On Thu, 7 Jan 2021 23:12:34 -0800 Sukadev Bhattiprolu wrote: > > > > Use a separate lock to serialze ibmv

Re: [PATCH 2/7] ibmvnic: update reset function prototypes

2021-01-11 Thread Sukadev Bhattiprolu
Jakub Kicinski [k...@kernel.org] wrote: > On Sun, 10 Jan 2021 19:12:21 -0800 Sukadev Bhattiprolu wrote: > > Jakub Kicinski [k...@kernel.org] wrote: > > > On Thu, 7 Jan 2021 23:12:31 -0800 Sukadev Bhattiprolu wrote: > > > > The reset functions need just the &#

Re: [PATCH 5/7] ibmvnic: use a lock to serialize remove/reset

2021-01-10 Thread Sukadev Bhattiprolu
Jakub Kicinski [k...@kernel.org] wrote: > On Thu, 7 Jan 2021 23:12:34 -0800 Sukadev Bhattiprolu wrote: > > Use a separate lock to serialze ibmvnic_reset() and ibmvnic_remove() > > functions. ibmvnic_reset() schedules work for the worker thread and > > ibmvnic_remove() fl

Re: [PATCH 2/7] ibmvnic: update reset function prototypes

2021-01-10 Thread Sukadev Bhattiprolu
Jakub Kicinski [k...@kernel.org] wrote: > On Thu, 7 Jan 2021 23:12:31 -0800 Sukadev Bhattiprolu wrote: > > The reset functions need just the 'reset reason' parameter and not > > the ibmvnic_rwi list element. Update the functions so we can simplify > > the handling o

[PATCH 1/7] ibmvnic: restore state in change-param reset

2021-01-07 Thread Sukadev Bhattiprolu
Restore adapter state before returning from change-param reset. In case of errors, caller will try a hard-reset anyway. Fixes: 0cb4bc66ba5e ("ibmvnic: restore adapter state on failed reset") Signed-off-by: Sukadev Bhattiprolu --- drivers/net/ethernet/ibm/ibmvnic.c | 2 +- 1 file

[PATCH 4/7] ibmvnic: switch order of checks in ibmvnic_reset

2021-01-07 Thread Sukadev Bhattiprolu
We check separately for REMOVING and PROBING in ibmvnic_reset(). Switch the order of checks to facilitate better locking when checking for REMOVING/REMOVED state. Fixes: 6a2fb0e99f9c ("ibmvnic: driver initialization for kdump/kexec") Signed-off-by: Sukadev Bhattiprolu --- drivers/ne

[PATCH 2/7] ibmvnic: update reset function prototypes

2021-01-07 Thread Sukadev Bhattiprolu
The reset functions need just the 'reset reason' parameter and not the ibmvnic_rwi list element. Update the functions so we can simplify the handling of the ->rwi_list in a follow-on patch. Fixes: 2770a7984db5 ("ibmvnic: Introduce hard reset recovery") Signed-off-

[PATCH 6/7] ibmvnic: check adapter->state under state_lock

2021-01-07 Thread Sukadev Bhattiprolu
side open/close/reset. Thanks to a lot of input from Dany Madden, Lijun Pan and Rick Lindsley. Fixes: 7d7195a026ba ("ibmvnic: Do not process device remove during device reset") Signed-off-by: Sukadev Bhattiprolu --- --- drivers/net/ethernet/ibm/ibmvnic.c | 1

[PATCH 7/7] ibmvnic: add comments about adapter->state_lock

2021-01-07 Thread Sukadev Bhattiprolu
Add some comments, notes and TODOs about ->state_lock and RTNL. Signed-off-by: Sukadev Bhattiprolu --- Note: This is fixing lot of comments so not identifying fixes. It "seems" to fit this patch set but can send to net-next if necessary. drivers/net/ethernet/

[PATCH 5/7] ibmvnic: use a lock to serialize remove/reset

2021-01-07 Thread Sukadev Bhattiprolu
items before device removal") Signed-off-by: Sukadev Bhattiprolu --- drivers/net/ethernet/ibm/ibmvnic.c | 16 +++- drivers/net/ethernet/ibm/ibmvnic.h | 2 ++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/ibm/ibmvnic.c b/driver

[PATCH 0/7] ibmvnic: Use more consistent locking

2021-01-07 Thread Sukadev Bhattiprolu
lly require manual intervention in bringing up applications that depend on the network. Sukadev Bhattiprolu (7): ibmvnic: restore state in change-param reset ibmvnic: update reset function prototypes ibmvnic: avoid allocating rwi entries ibmvnic: switch order of checks in ibmvnic_reset ibmv

[PATCH 3/7] ibmvnic: avoid allocating rwi entries

2021-01-07 Thread Sukadev Bhattiprolu
) but ignore any rwi entries that remain on the list. Fixes: 2770a7984db58 ("Introduce hard reset recovery") Fixes: 36f1031c51a2 ("ibmvnic: Do not process reset during or after device removal") Signed-off-by: Sukadev Bhattiprolu --- drivers/net/eth

[PATCH net-next v3 1/1] ibmvnic: add some debugs

2020-12-04 Thread Sukadev Bhattiprolu
with debug patches. Signed-off-by: Sukadev Bhattiprolu --- Changelog[v2] [Jakub Kacinski] Change an netdev_err() to netdev_info()? Changed to netdev_dbg() instead. Also sending to net rather than net-next. --- drivers/net/ethernet/ibm/ibmvnic.c | 25 ++--- 1

Re: [PATCH net-next v2 1/1] ibmvnic: add some debugs

2020-12-02 Thread Sukadev Bhattiprolu
Jakub Kicinski [k...@kernel.org] wrote: > On Mon, 23 Nov 2020 20:34:07 -0800 Sukadev Bhattiprolu wrote: > > We sometimes run into situations where a soft/hard reset of the adapter > > takes a long time or fails to complete. Having additional messages that > > include importa

[PATCH net-next v2 1/1] ibmvnic: add some debugs

2020-11-23 Thread Sukadev Bhattiprolu
with debug patches. Signed-off-by: Sukadev Bhattiprolu --- Changelog[v2] [Jakub Kacinski] Change an netdev_err() to netdev_info()? Changed to netdev_dbg() instead. Also sending to net rather than net-next. Note: this debug patch is based on following bug fixes and a

Re: [PATCH net 15/15] ibmvnic: add some debugs

2020-11-23 Thread Sukadev Bhattiprolu
Jakub Kicinski [k...@kernel.org] wrote: > On Fri, 20 Nov 2020 16:40:49 -0600 Lijun Pan wrote: > > From: Sukadev Bhattiprolu > > > > We sometimes run into situations where a soft/hard reset of the adapter > > takes a long time or fails to complete. Having additiona

[RFC PATCH] powerpc/vnic: Add some debugs

2020-11-06 Thread Sukadev Bhattiprolu
with debug patches. Sending this as an RFC for now, while we continue testing/optimizing the messages. Signed-off-by: Sukadev Bhattiprolu --- drivers/net/ethernet/ibm/ibmvnic.c | 48 +++--- 1 file changed, 37 insertions(+), 11 deletions(-) diff --git a/drivers/net

[PATCH v3 1/1] powerpc/vnic: Extend "failover pending" window

2020-10-30 Thread Sukadev Bhattiprolu
etends" that failover occurred "just after" open succeeded, so marks the open successful and lets the failover complete the open. So, mark the open successful even if the transport event occurs before we actually start the open. Signed-off-by: Sukadev Bhattiprolu --- Changelog [v3]:

Re: [PATCH v2 1/1] powerpc/vnic: Extend "failover pending" window

2020-10-23 Thread Sukadev Bhattiprolu
Lijun Pan [l...@linux.vnet.ibm.com] wrote: >On Oct 19, 2020, at 2:52 PM, Sukadev Bhattiprolu ><[1]suka...@linux.ibm.com> wrote: > >From 67f8977f636e462a1cd1eadb28edd98ef4f2b756 Mon Sep 17 00:00:00 2001 >From: Sukadev Bhattiprolu <[2]suka...@linux.vnet.ibm

[PATCH 1/1] powerpc/vnic: Extend "failover pending" window

2020-10-20 Thread Sukadev Bhattiprolu
at we either finish the open or if the open() fails due to the failover pending window, we can again pretend that open is done and let the failover complete it. Signed-off-by: Sukadev Bhattiprolu --- Changelog [v2]: [Brian King] Ensure we clear failover_pending during hard reset -

[PATCH v2 1/1] powerpc/vnic: Extend "failover pending" window

2020-10-19 Thread Sukadev Bhattiprolu
>From 67f8977f636e462a1cd1eadb28edd98ef4f2b756 Mon Sep 17 00:00:00 2001 From: Sukadev Bhattiprolu Date: Thu, 10 Sep 2020 11:18:41 -0700 Subject: [PATCH 1/1] powerpc/vnic: Extend "failover pending" window Commit 5a18e1e0c193b introduced the 'failover_pending' state to trac

Re: [PATCH 1/1] powerpc/vnic: Extend "failover pending" window

2020-09-23 Thread Sukadev Bhattiprolu
Lijun Pan [l...@linux.vnet.ibm.com] wrote: > > > > On Sep 22, 2020, at 11:53 PM, Sukadev Bhattiprolu > > wrote: > > > > > > From 547fa5627b63102f3ef80ed3a032d62c88c5 Mon Sep 17 00:00:00 2001 > > From: Sukadev Bhattiprolu > > Date: Thu, 10

[PATCH 1/1] powerpc/vnic: Extend "failover pending" window

2020-09-22 Thread Sukadev Bhattiprolu
>From 547fa5627b63102f3ef80ed3a032d62c88c5 Mon Sep 17 00:00:00 2001 From: Sukadev Bhattiprolu Date: Thu, 10 Sep 2020 11:18:41 -0700 Subject: [PATCH 1/1] powerpc/vnic: Extend "failover pending" window Commit 5a18e1e0c193b introduced the 'failover_pending' state

Re: [PATCH net-next 4/5] ibmvnic: Reporting device ACL settings through sysfs

2020-09-02 Thread Sukadev Bhattiprolu
Thomas Falcon [tlfal...@linux.ibm.com] wrote: > Access Control Lists can be defined for each IBM VNIC > adapter at time of creation. MAC address and VLAN ID's > may be specified, as well as a Port VLAN ID (PVID). > These may all be requested though read-only sysfs files: > mac_acl, vlan_acl, and pv

Re: [PATCH] Use task_pid_nr() in ip_vs_sync.c

2007-08-29 Thread sukadev
ked-by: Sukadev Bhattiprolu <[EMAIL PROTECTED]> | | --- | | diff --git a/net/ipv4/ipvs/ip_vs_sync.c b/net/ipv4/ipvs/ip_vs_sync.c | index 959c08d..d0798a5 100644 | --- a/net/ipv4/ipvs/ip_vs_sync.c | +++ b/net/ipv4/ipvs/ip_vs_sync.c | @@ -794,7 +794,7 @@ static int sync_thread(v

Re: [PATCH] Remove write-only variable from pktgen_thread

2007-08-29 Thread sukadev
eing used :-) Acked-by: Sukadev Bhattiprolu <[EMAIL PROTECTED]> | | --- | | diff --git a/net/core/pktgen.c b/net/core/pktgen.c | index 3a3154e..93695c2 100644 | --- a/net/core/pktgen.c | +++ b/net/core/pktgen.c | @@ -380,7 +380,6 @@ struct pktgen_thread { | /* Field for thread to

Re: [BUG] 2.6.20-rc4-mm1: Panic in e1000_write_vfta_82543()

2007-01-18 Thread Sukadev Bhattiprolu
Auke Kok [EMAIL PROTECTED] wrote: | Sukadev Bhattiprolu wrote: | >I get following panic on 2.6.20-rc4-mm1 on a 2-cpu AMD Opteron system. | > | >Same basic config file seems to work with 2.6.20-rc2-mm1 on this same | >system. Have not tried -rc3-mm1 yet. | > | >Attached are conf

[BUG] 2.6.20-rc4-mm1: Panic in e1000_write_vfta_82543()

2007-01-18 Thread Sukadev Bhattiprolu
I get following panic on 2.6.20-rc4-mm1 on a 2-cpu AMD Opteron system. Same basic config file seems to work with 2.6.20-rc2-mm1 on this same system. Have not tried -rc3-mm1 yet. Attached are config file and "lspci -vv" output. Let me know if you need more info. Suka --- [ 168.925840] Freeing

Re: Network problem with 2.6.18-mm1 ?

2006-09-28 Thread Sukadev Bhattiprolu
Jesse Brandeburg [EMAIL PROTECTED] wrote: | On 9/28/06, Sukadev Bhattiprolu <[EMAIL PROTECTED]> wrote: | >Thanks. See below for additional info | > | >Auke Kok [EMAIL PROTECTED] wrote: | >| Sukadev Bhattiprolu wrote: | >| > | >| >I am unable to get networking to wor

Re: Network problem with 2.6.18-mm1 ?

2006-09-28 Thread Sukadev Bhattiprolu
Thanks. See below for additional info Auke Kok [EMAIL PROTECTED] wrote: | Sukadev Bhattiprolu wrote: | > | >I am unable to get networking to work with 2.6.18-mm1 on my system. | > | >But 2.6.18 kernel on same system works fine. Here is some info about | >the system/debug attempt

Network problem with 2.6.18-mm1 ?

2006-09-27 Thread Sukadev Bhattiprolu
I am unable to get networking to work with 2.6.18-mm1 on my system. But 2.6.18 kernel on same system works fine. Here is some info about the system/debug attempts. Attached are the lspci output and config. Appreciate any help. Please let me know if you need more info. Suka System info:

Re: [PATCH] kthread: airo.c

2006-07-24 Thread Sukadev Bhattiprolu
Sukadev Bhattiprolu [EMAIL PROTECTED] wrote: | Andrew, | | Javier Achirica, one of the major contributors to drivers/net/wireless/airo.c | took a look at this patch, and doesn't have any problems with it. It doesn't | fix any bugs and is just a cleanup, so it certainly isn't a