Lines Matching defs:version
47 * Set the selected protocol version
49 static void rds_ib_set_protocol(struct rds_connection *conn, unsigned int version)
51 conn->c_version = version;
114 pr_notice("RDS/IB: Connection <%pI6c,%pI6c> version %u.%u no longer supported\n",
123 pr_notice("RDS/IB: %s conn connected <%pI6c,%pI6c,%d> version %u.%u%s\n",
697 u32 version = 0;
706 * If the protocol version fields aren't set, this is a connection attempt
707 * from an older version. This could be 3.0 or 2.0 - we can't tell.
736 version = RDS_PROTOCOL_4_0;
738 version++;
741 version = RDS_PROTOCOL_COMPAT_VERSION;
744 printk_ratelimited(KERN_NOTICE "RDS: Connection from %pI6c using incompatible protocol version %u.%u\n",
747 printk_ratelimited(KERN_NOTICE "RDS: Connection from %pI4 using incompatible protocol version %u.%u\n",
750 return version;
799 u32 version;
802 /* Check whether the remote protocol version matches ours. */
803 version = rds_ib_protocol_compatible(event, isv6);
804 if (!version) {
849 saddr6, daddr6, RDS_PROTOCOL_MAJOR(version),
850 RDS_PROTOCOL_MINOR(version),
887 rds_ib_set_protocol(conn, version);
912 rds_ib_cm_fill_conn_param(conn, &conn_param, &dp_rep, version,