svn commit: r325797 - in projects/bsd_rdma_4_9/sys/dev/cxgbe: common iw_cxgbe

Navdeep Parhar np at FreeBSD.org
Tue Nov 14 07:04:07 UTC 2017


Author: np
Date: Tue Nov 14 07:04:06 2017
New Revision: 325797
URL: https://svnweb.freebsd.org/changeset/base/325797

Log:
  Fix iw_cxgbe build in the projects branch.
  
  Submitted by:	Krishnamraju Eraparaju @ Chelsio

Modified:
  projects/bsd_rdma_4_9/sys/dev/cxgbe/common/common.h
  projects/bsd_rdma_4_9/sys/dev/cxgbe/iw_cxgbe/provider.c

Modified: projects/bsd_rdma_4_9/sys/dev/cxgbe/common/common.h
==============================================================================
--- projects/bsd_rdma_4_9/sys/dev/cxgbe/common/common.h	Tue Nov 14 05:05:26 2017	(r325796)
+++ projects/bsd_rdma_4_9/sys/dev/cxgbe/common/common.h	Tue Nov 14 07:04:06 2017	(r325797)
@@ -373,6 +373,9 @@ struct adapter_params {
 	unsigned int max_ird_adapter;
 
 	uint32_t mps_bg_map;	/* rx buffer group map for all ports (upto 4) */
+
+	bool ulptx_memwrite_dsgl;        /* use of T5 DSGL allowed */
+	bool fr_nsmr_tpte_wr_support;    /* FW support for FR_NSMR_TPTE_WR */
 };
 
 #define CHELSIO_T4		0x4

Modified: projects/bsd_rdma_4_9/sys/dev/cxgbe/iw_cxgbe/provider.c
==============================================================================
--- projects/bsd_rdma_4_9/sys/dev/cxgbe/iw_cxgbe/provider.c	Tue Nov 14 05:05:26 2017	(r325796)
+++ projects/bsd_rdma_4_9/sys/dev/cxgbe/iw_cxgbe/provider.c	Tue Nov 14 07:04:06 2017	(r325797)
@@ -417,22 +417,6 @@ static int c4iw_port_immutable(struct ib_device *ibdev
 
 	return 0;
 }
-static int c4iw_port_immutable(struct ib_device *ibdev, u8 port_num,
-			struct ib_port_immutable *immutable)
-{
-	struct ib_port_attr attr;
-	int err;
-
-	err = c4iw_query_port(ibdev, port_num, &attr);
-	if (err)
-		return err;
-
-	immutable->pkey_tbl_len = attr.pkey_tbl_len;
-	immutable->gid_tbl_len = attr.gid_tbl_len;
-	immutable->core_cap_flags = RDMA_CORE_PORT_IWARP;
-
-	return 0;
-}
 
 /*
  * Returns -errno on error.


More information about the svn-src-projects mailing list