mbox series

[for-next,0/9] Clean ups, refactror, additions

Message ID 20200106133845.119356.20115.stgit@awfm-01.aw.intel.com (mailing list archive)
Headers show
Series Clean ups, refactror, additions | expand

Message

Dennis Dalessandro Jan. 6, 2020, 1:41 p.m. UTC
These patches add some recactoring and code clean ups to make things more
organized. There is a performance optimization and new counter/debugging stats
added as well. The new "API" that is added is a driver internal API not an
actual "API" that is exposed to the outside.

---

Grzegorz Andrejczuk (3):
      IB/hfi1: Move common receive IRQ code to function
      IB/hfi1: Decouple IRQ name from type
      IB/hfi1: Return void in packet receiving functions

Mike Marciniszyn (6):
      IB/hfi1: Move chip specific functions to chip.c
      IB/hfi1: Add fast and slow handlers for receive context
      IB/hfi1: IB/hfi1: Add an API to handle special case drop
      IB/hfi1: Create API for auto activate
      IB/hfi1: Add software counter for ctxt0 seq drop
      IB/hfi1: Add RcvShortLengthErrCnt to hfi1stats


 drivers/infiniband/hw/hfi1/chip.c           |  171 ++++++++++++++++++++++-----
 drivers/infiniband/hw/hfi1/chip.h           |    8 +
 drivers/infiniband/hw/hfi1/chip_registers.h |    1 
 drivers/infiniband/hw/hfi1/driver.c         |  151 +++++++++---------------
 drivers/infiniband/hw/hfi1/hfi.h            |   66 ++++++++++
 drivers/infiniband/hw/hfi1/init.c           |   81 ++-----------
 drivers/infiniband/hw/hfi1/msix.c           |  106 +++++++++--------
 drivers/infiniband/hw/hfi1/msix.h           |    1 
 drivers/infiniband/hw/hfi1/trace_rx.h       |    6 -
 9 files changed, 337 insertions(+), 254 deletions(-)

--
-Denny

Comments

Dennis Dalessandro Jan. 6, 2020, 1:44 p.m. UTC | #1
On 1/6/2020 8:41 AM, Dennis Dalessandro wrote:
> These patches add some recactoring and code clean ups to make things more
> organized. There is a performance optimization and new counter/debugging stats
> added as well. The new "API" that is added is a driver internal API not an
> actual "API" that is exposed to the outside.
> 
> ---
> 
> Grzegorz Andrejczuk (3):
>        IB/hfi1: Move common receive IRQ code to function
>        IB/hfi1: Decouple IRQ name from type
>        IB/hfi1: Return void in packet receiving functions
> 
> Mike Marciniszyn (6):
>        IB/hfi1: Move chip specific functions to chip.c
>        IB/hfi1: Add fast and slow handlers for receive context
>        IB/hfi1: IB/hfi1: Add an API to handle special case drop
>        IB/hfi1: Create API for auto activate
>        IB/hfi1: Add software counter for ctxt0 seq drop
>        IB/hfi1: Add RcvShortLengthErrCnt to hfi1stats
> 
> 
>   drivers/infiniband/hw/hfi1/chip.c           |  171 ++++++++++++++++++++++-----
>   drivers/infiniband/hw/hfi1/chip.h           |    8 +
>   drivers/infiniband/hw/hfi1/chip_registers.h |    1
>   drivers/infiniband/hw/hfi1/driver.c         |  151 +++++++++---------------
>   drivers/infiniband/hw/hfi1/hfi.h            |   66 ++++++++++
>   drivers/infiniband/hw/hfi1/init.c           |   81 ++-----------
>   drivers/infiniband/hw/hfi1/msix.c           |  106 +++++++++--------
>   drivers/infiniband/hw/hfi1/msix.h           |    1
>   drivers/infiniband/hw/hfi1/trace_rx.h       |    6 -
>   9 files changed, 337 insertions(+), 254 deletions(-)
> 
> --
> -Denny
> 

Forgot to mention these apply on top of the: wip/jgg-for-next branch.

-Denny
Jason Gunthorpe Jan. 10, 2020, 3:15 p.m. UTC | #2
On Mon, Jan 06, 2020 at 08:41:37AM -0500, Dennis Dalessandro wrote:
> These patches add some recactoring and code clean ups to make things more
> organized. There is a performance optimization and new counter/debugging stats
> added as well. The new "API" that is added is a driver internal API not an
> actual "API" that is exposed to the outside.
> 
> 
> Grzegorz Andrejczuk (3):
>       IB/hfi1: Move common receive IRQ code to function
>       IB/hfi1: Decouple IRQ name from type
>       IB/hfi1: Return void in packet receiving functions
> 
> Mike Marciniszyn (6):
>       IB/hfi1: Move chip specific functions to chip.c
>       IB/hfi1: Add fast and slow handlers for receive context
>       IB/hfi1: IB/hfi1: Add an API to handle special case drop
>       IB/hfi1: Create API for auto activate
>       IB/hfi1: Add software counter for ctxt0 seq drop
>       IB/hfi1: Add RcvShortLengthErrCnt to hfi1stats

Applied to for-next, thanks

Jason