mbox series

[net-next,0/3,pull,request] Intel Wired LAN ver Updates 2019-07-03

Message ID 20190704021252.15534-1-jeffrey.t.kirsher@intel.com (mailing list archive)
Headers show
Series Intel Wired LAN ver Updates 2019-07-03 | expand

Message

Kirsher, Jeffrey T July 4, 2019, 2:12 a.m. UTC
This series contains updates to i40e an ice drivers only and is required
for a series of changes being submitted to the RDMA maintainer/tree.
Vice Versa, the Intel RDMA driver patches could not be applied to
net-next due to dependencies to the changes currently in the for-next
branch of the rdma git tree.  The Intel RDMA driver patches are
available in the following git repository:
  git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/rdma for-next
  (reference only)

Dave initializes the ice driver to support RDMA by creating and
registering a platform device for the RDMA driver to register to on a
virtual bus by utilizing the platform bus to provide this access.
Followed up by operations for the peer device/driver to communicate with
each other to request resources and manage event notification.

Shiraz does the similar work in the i40e driver, while retaining the
old global register/unregister calls exported for i40iw until that
driver is removed from the kernel.

The following are changes since commit a51df9f8da43e8bf9e508143630849b7d696e053:
  gve: fix -ENOMEM null check on a page allocation
and are available in the git repository at:
  git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue 100GbE

Shiraz Saleem (1):
  i40e: Register RDMA client devices to the virtual platform bus

Tony Nguyen (2):
  ice: Initialize and register platform device to provide RDMA
  ice: Implement peer communications

 drivers/net/ethernet/intel/i40e/i40e_client.c |  116 +-
 drivers/net/ethernet/intel/i40e/i40e_client.h |    8 +
 drivers/net/ethernet/intel/ice/Makefile       |    1 +
 drivers/net/ethernet/intel/ice/ice.h          |   15 +
 .../net/ethernet/intel/ice/ice_adminq_cmd.h   |   33 +
 drivers/net/ethernet/intel/ice/ice_common.c   |  194 +++
 drivers/net/ethernet/intel/ice/ice_common.h   |    9 +
 drivers/net/ethernet/intel/ice/ice_dcb_lib.c  |   64 +
 drivers/net/ethernet/intel/ice/ice_dcb_lib.h  |    2 +
 .../net/ethernet/intel/ice/ice_hw_autogen.h   |    1 +
 drivers/net/ethernet/intel/ice/ice_idc.c      | 1354 +++++++++++++++++
 drivers/net/ethernet/intel/ice/ice_idc.h      |  377 +++++
 drivers/net/ethernet/intel/ice/ice_idc_int.h  |   82 +
 drivers/net/ethernet/intel/ice/ice_lib.c      |   35 +-
 drivers/net/ethernet/intel/ice/ice_lib.h      |    2 +
 drivers/net/ethernet/intel/ice/ice_main.c     |   94 +-
 drivers/net/ethernet/intel/ice/ice_sched.c    |   69 +-
 drivers/net/ethernet/intel/ice/ice_switch.c   |   27 +
 drivers/net/ethernet/intel/ice/ice_switch.h   |    4 +
 drivers/net/ethernet/intel/ice/ice_type.h     |    4 +
 .../net/ethernet/intel/ice/ice_virtchnl_pf.c  |   25 -
 21 files changed, 2462 insertions(+), 54 deletions(-)
 create mode 100644 drivers/net/ethernet/intel/ice/ice_idc.c
 create mode 100644 drivers/net/ethernet/intel/ice/ice_idc.h
 create mode 100644 drivers/net/ethernet/intel/ice/ice_idc_int.h

Comments

Jason Gunthorpe July 4, 2019, 12:15 p.m. UTC | #1
On Wed, Jul 03, 2019 at 07:12:49PM -0700, Jeff Kirsher wrote:
> This series contains updates to i40e an ice drivers only and is required
> for a series of changes being submitted to the RDMA maintainer/tree.
> Vice Versa, the Intel RDMA driver patches could not be applied to
> net-next due to dependencies to the changes currently in the for-next
> branch of the rdma git tree.

RDMA driver code is not to be applied to the net-next tree. We've
learned this causes too many work flow problems. 

You must co-ordinate your driver with a shared git tree as Mellanox is
doing, or wait for alternating kernel releases.

I'm not sure what to do with this PR, it is far too late in the cycle
to submit a new driver so most likely net should not go ahead with
this prep work until this new driver model scheme is properly
reviewed.

> The following are changes since commit a51df9f8da43e8bf9e508143630849b7d696e053:
>   gve: fix -ENOMEM null check on a page allocation
> and are available in the git repository at:
>   git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue 100GbE

And if you expect anything to be shared with rdma you need to produce
pull requests that are based on some sensible -rc tag.

Jason