Re: [PATCH net-next] cxgb4: Synchronize access to mailbox

2017-01-05 Thread Hariprasad S
> On 05-Jan-2017, at 9:35 PM, David Miller wrote: > > From: Hariprasad Shenai > Date: Thu, 5 Jan 2017 11:23:10 +0530 > >> @@ -844,6 +848,10 @@ struct adapter { >>struct work_struct db_drop_task; >>bool tid_release_task_busy; >> >> +/* lock for mailbox cmd list */ >> +spinlo

Re: [PATCH net-next 3/5] cxgb4: add dcb info node in debugfs

2015-12-22 Thread Hariprasad S
On Mon, Dec 21, 2015 at 09:33:22 +0200, Or Gerlitz wrote: > On Mon, Dec 21, 2015 at 9:16 AM, Hariprasad Shenai > wrote: > > Add new /sys/kernel/debug/cxgb4/*/dcb_info node to dump out > > various Data Center Bridging information. > > why? what's wrong with using the lldp tool for that purpose? T

Re: [net-next] cxgb4: Enhance driver to update FW, when FW is too old

2015-10-07 Thread Hariprasad S
On Wed, Oct 07, 2015 at 15:09:57 -0400, Neil Horman wrote: > On Wed, Oct 07, 2015 at 09:21:40AM +0530, Hariprasad Shenai wrote: > > t4_check_fw_version() can return several error codes (-EINVAL, -EBUSY, > > -EAGAIN). The present code sets the adapter state to UNINIT only if its > > an EFAULT. In al

Re: [PATCHv2 net] cxgb4vf: support for single-threading access to adapter mailbox registers

2015-09-15 Thread Hariprasad S
On Mon, Sep 14, 2015 at 19:08:34 +0530, Hariprasad Shenai wrote: > The issue is the for the Virtual Function Driver, the only way to get the > Virtual Interface statistics is to issue mailbox commands to ask the > firmware for the VI Stats. And, because the VI Stats command can only > retrieve a sm

Re: [PATCH for-next] cxgb4: add device ID for few T5 adapters

2015-09-15 Thread Hariprasad S
On Tue, Sep 15, 2015 at 11:55:19 -0700, David Miller wrote: > From: Hariprasad Shenai > Date: Tue, 15 Sep 2015 17:20:09 +0530 > > > Signed-off-by: Hariprasad Shenai > > Adding just some new device IDs is definitely 'net' material, mind > if I apply it there instead? No issues. Thanks. -- To un

Re: [PATCH net-next] cxgb4: continue in debug mode, if probe fails

2015-08-27 Thread Hariprasad S
On Thu, Aug 27, 2015 at 16:14:34 -0300, Thadeu Lima de Souza Cascardo wrote: > On Wed, Aug 26, 2015 at 10:30:35PM +0530, Hariprasad Shenai wrote: > > If adapter is flashed with incorrect firmware, probe can fail. > > If probe fails, continue in debug mode, so one can also use the debug > > interfac

RE: [PATCH net-next] cxgb4: Add debugfs entry to enable/disable backdoor access

2015-07-20 Thread Hariprasad S
From: Sergei Shtylyov [sergei.shtyl...@cogentembedded.com] Sent: Monday, July 20, 2015 5:43 PM To: Hariprasad S; netdev@vger.kernel.org Cc: da...@davemloft.net; Casey Leedom; Nirranjan Kirubaharan Subject: Re: [PATCH net-next] cxgb4: Add debugfs entry to

Re: [PATCH net-next 0/3] cxgb4/cxgb4vf: Adds support for Chelsio T6 adapter

2015-06-01 Thread Hariprasad S
On Mon, Jun 01, 2015 at 17:04:29 -0700, David Miller wrote: > From: David Miller > Date: Mon, 01 Jun 2015 17:03:21 -0700 (PDT) > > > From: Hariprasad Shenai > > Date: Tue, 2 Jun 2015 06:32:02 +0530 > > > >> This patch series adds the following: > >> Adds NIC driver support for T6 adapter > >>

RE: [PATCH net-next] cxgb4: replace ntoh{s,l} and hton{s,l} calls with the generic byteorder

2015-05-18 Thread Hariprasad S
...@davemloft.net; Casey Leedom; Nirranjan Kirubaharan; Hariprasad S Subject: [PATCH net-next] cxgb4: replace ntoh{s,l} and hton{s,l} calls with the generic byteorder replace ntoh{s,l} and hton{s,l} calls with the generic byteorder in cxgb4/t4_hw.c file Signed-off-by: Hariprasad Shenai --- drivers/net