summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Mustacchi <rm@joyent.com>2017-07-05 20:53:50 +0000
committerRobert Mustacchi <rm@joyent.com>2017-07-15 15:54:31 +0000
commit274a266ca462d677679a34325bba15e90b7f1ef1 (patch)
treed3c32a4e342483aa4c7a07ae7b06e81f787792ab
parent025a07bd032a6e16dc76469db0b562434bc48cb8 (diff)
downloadillumos-joyent-274a266ca462d677679a34325bba15e90b7f1ef1.tar.gz
Fix ring enablement
-rw-r--r--usr/src/uts/common/io/qede/qede_gld.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr/src/uts/common/io/qede/qede_gld.c b/usr/src/uts/common/io/qede/qede_gld.c
index d33cda9ffe..8691d9bd05 100644
--- a/usr/src/uts/common/io/qede/qede_gld.c
+++ b/usr/src/uts/common/io/qede/qede_gld.c
@@ -1932,7 +1932,7 @@ qede_mac_get_capability(void *arg,
cap_rings->mr_group_type = MAC_GROUP_TYPE_STATIC;
//cap_rings->mr_rnum = 1;
cap_rings->mr_rnum = qede->num_fp;
- cap_rings->mr_gnum = 1;
+ cap_rings->mr_gnum = 0;
cap_rings->mr_rget = qede_fill_ring;
cap_rings->mr_gget = qede_fill_group;
cap_rings->mr_gaddring = NULL;
@@ -2286,6 +2286,9 @@ qede_gld_init(qede_t * qede)
macp->m_min_sdu = 0;
macp->m_max_sdu = qede->mtu;
macp->m_margin = VLAN_TAGSZ;
+#ifdef ILLUMOS
+ macp->m_v12n = MAC_VIRT_LEVEL1;
+#endif
status = mac_register(macp, &qede->mac_handle);
if (status != 0)