Project

General

Profile

Bug #3667 » ixgbe.patch

Sašo Kiselkov, 2013-04-01 09:17 PM

View differences:

usr/src/uts/common/io/ixgbe/ixgbe_main.c
3172 3172
	 */
3173 3173
	if (hw->mac.type == ixgbe_mac_82599EB || hw->mac.type == ixgbe_mac_X540)
3174 3174
		ixgbe->intr_throttling[0] = ixgbe->intr_throttling[0] & 0xFF8;
3175

  
3176
	hw->allow_unsupported_sfp = ixgbe_get_prop(ixgbe,
3177
	    PROP_ALLOW_UNSUPPORTED_SFP, 0, 1, DEFAULT_ALLOW_UNSUPPORTED_SFP);
3175 3178
}
3176 3179

  
3177 3180
static void
usr/src/uts/common/io/ixgbe/ixgbe_phy.c
1214 1214
					      "untested modules.\n", status);
1215 1215
					status = IXGBE_SUCCESS;
1216 1216
				} else {
1217
					DEBUGOUT("SFP+ module not supported\n");
1217
					EWARN(hw, "SFP+ module not supported\n",
1218
					      status);
1218 1219
					hw->phy.type =
1219 1220
						ixgbe_phy_sfp_unsupported;
1220 1221
					status = IXGBE_ERR_SFP_NOT_SUPPORTED;
usr/src/uts/common/io/ixgbe/ixgbe_sw.h
166 166
#define	DEFAULT_MR_ENABLE		B_TRUE
167 167
#define	DEFAULT_TX_HEAD_WB_ENABLE	B_TRUE
168 168
#define	DEFAULT_RELAX_ORDER_ENABLE	B_TRUE
169
#define	DEFAULT_ALLOW_UNSUPPORTED_SFP	B_FALSE
169 170

  
170 171
#define	IXGBE_LSO_MAXLEN		65535
171 172

  
......
232 233
#define	PROP_RX_LIMIT_PER_INTR		"rx_limit_per_intr"
233 234
#define	PROP_INTR_THROTTLING		"intr_throttling"
234 235
#define	PROP_FM_CAPABLE			"fm_capable"
236
#define	PROP_ALLOW_UNSUPPORTED_SFP	"allow_unsupported_sfp"
235 237

  
236 238
#define	IXGBE_LB_NONE			0
237 239
#define	IXGBE_LB_EXTERNAL		1
(1-1/2)