[ewg] [GIT PULL compat-rdma] Add backport patches for vmw_pvrdma

Sternberg, Jay E jay.e.sternberg at intel.com
Tue Aug 7 15:09:37 PDT 2018


With daily build OFED-4.17-20180806-1531 on a 4.17 kernel, I see errors building compat-rdma (modules mlx4_en and bnxt_re). Excerpt of errors below, log file attached.

Disabling these as well as mlx4 allows install.pl to complete successfully.

js

======

/var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/drivers/net/ethernet/broadcom/bnxt/bnxt.c:8262:28: error: 'bnxt_setup_tc' undeclared here (not in a function)
  .ndo_setup_tc           = bnxt_setup_tc,
                            ^

/var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/drivers/net/ethernet/mellanox/mlx4/en_netdev.c: In function 'mlx4_en_try_alloc_resources':
/var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/drivers/net/ethernet/mellanox/mlx4/en_netdev.c:2398:3: error: implicit declaration of function 'bpf_prog_add' [-Werror=implicit-function-declaration]
   xdp_prog = bpf_prog_add(xdp_prog, tmp->rx_ring_num);
   ^
/var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/drivers/net/ethernet/mellanox/mlx4/en_netdev.c:2398:12: warning: assignment makes pointer from integer without a cast [enabled by default]
   xdp_prog = bpf_prog_add(xdp_prog, tmp->rx_ring_num);
            ^
/var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/drivers/net/ethernet/mellanox/mlx4/en_netdev.c: In function 'mlx4_xdp_set':
/var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/drivers/net/ethernet/mellanox/mlx4/en_netdev.c:2988:9: warning: assignment makes pointer from integer without a cast [enabled by default]
    prog = bpf_prog_add(prog, priv->rx_ring_num - 1);
         ^
/var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/drivers/net/ethernet/mellanox/mlx4/en_netdev.c:2999:5: error: implicit declaration of function 'bpf_prog_put' [-Werror=implicit-function-declaration]
     bpf_prog_put(old_prog);
     ^
/var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/drivers/net/ethernet/mellanox/mlx4/en_netdev.c:3013:8: warning: assignment makes pointer from integer without a cast [enabled by default]
   prog = bpf_prog_add(prog, priv->rx_ring_num - 1);
        ^
/var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/drivers/net/ethernet/mellanox/mlx4/en_netdev.c:3038:4: error: implicit declaration of function 'bpf_prog_sub' [-Werror=implicit-function-declaration]
    bpf_prog_sub(prog, priv->rx_ring_num - 1);
    ^
/var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/drivers/net/ethernet/mellanox/mlx4/en_netdev.c: In function 'mlx4_xdp_query':
/var/tmp/OFED_topdir/BUILD/compat-rdma-4.17/drivers/net/ethernet/mellanox/mlx4/en_netdev.c:3092:26: error: dereferencing pointer to incomplete type
   prog_id = xdp_prog->aux->id;
                          ^

From: ewg [mailto:ewg-bounces at lists.openfabrics.org] On Behalf Of Vladimir Sokolovsky
Sent: Monday, August 6, 2018 15:32
To: Adit Ranadive <aditr at vmware.com>
Cc: 'ewg at lists.openfabrics.org' <ewg at lists.openfabrics.org>
Subject: Re: [ewg] [GIT PULL compat-rdma] Add backport patches for vmw_pvrdma

On 08/06/2018 08:54 AM, Adit Ranadive wrote:
Hi Vlad,

This is the first pull request for the VMware Paravirtual RDMA driver for OFED 4.17.

Thanks,
Adit
---

The following changes since commit 87740fd9e9c4b3747ccdd1326aff48c701345a52:

  mlx5: Fixed compilation on RHEL7.5 (2018-08-03 10:39:44 -0500)

are available in the Git repository at:

  git://git.openfabrics.org/~aditr/compat-rdma.git for-vlad

for you to fetch changes up to f61268ba02ea03bff48d6fb54c28d29b04a6c0e5:

  Add backport patches for vmw_pvrdma (2018-08-05 22:37:48 -0700)

----------------------------------------------------------------
Adit Ranadive (1):
      Add backport patches for vmw_pvrdma

...Release-netdev-when-vmxnet3-module-is-rem.patch | 135 +++++++++
patches/0019-BACKPORT-vmw_pvrdma-irq.patch         | 323 +++++++++++++++++++++
2 files changed, 458 insertions(+)
create mode 100644 linux-next-cherry-picks/0001-vmw_pvrdma-Release-netdev-when-vmxnet3-module-is-rem.patch
create mode 100644 patches/0019-BACKPORT-vmw_pvrdma-irq.patch
Hi Adit,
Merged + build: OFED-4.17-20180806-1531

Regards,
Vladimir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ewg/attachments/20180807/03fc59e0/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compat-rdma.rpmbuild.log
Type: application/octet-stream
Size: 242890 bytes
Desc: compat-rdma.rpmbuild.log
URL: <http://lists.openfabrics.org/pipermail/ewg/attachments/20180807/03fc59e0/attachment-0001.obj>


More information about the ewg mailing list