summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/io/overlay/plugins
diff options
context:
space:
mode:
authorRobert Mustacchi <rm@joyent.com>2018-03-28 23:20:07 +0000
committerRobert Mustacchi <rm@joyent.com>2018-04-02 16:52:13 +0000
commit9dc0f5536a83ce4ef09e0009beec208ac83f0a75 (patch)
treee27546e6376142b460df5081c90a7ebd09859472 /usr/src/uts/common/io/overlay/plugins
parent51e13f4784dca9f0e910f3d0fb85b659ad68ceb2 (diff)
downloadillumos-joyent-netperf.tar.gz
OS-XXXX wip vxlan lsonetperf
Diffstat (limited to 'usr/src/uts/common/io/overlay/plugins')
-rw-r--r--usr/src/uts/common/io/overlay/plugins/overlay_vxlan.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/usr/src/uts/common/io/overlay/plugins/overlay_vxlan.c b/usr/src/uts/common/io/overlay/plugins/overlay_vxlan.c
index 60659ade8c..30568873a5 100644
--- a/usr/src/uts/common/io/overlay/plugins/overlay_vxlan.c
+++ b/usr/src/uts/common/io/overlay/plugins/overlay_vxlan.c
@@ -385,10 +385,6 @@ vxlan_o_mac_capab(void *arg, mac_capab_t capab, void *cap_data, ksocket_t ksock)
switch (capab) {
case MAC_CAPAB_HCKSUM:
- /*
- * XXX Almost certainly some things are going to need the right
- * psuedo-header on transmit.
- */
if ((vxl->vxl_utunnel.uto_cksum_flags & (HCKSUM_VXLAN_FULL |
HCKSUM_VXLAN_PSEUDO | HCKSUM_VXLAN_PSEUDO_NO_OL4)) != 0) {
uint32_t *hck = cap_data;
@@ -404,18 +400,15 @@ vxlan_o_mac_capab(void *arg, mac_capab_t capab, void *cap_data, ksocket_t ksock)
hcapab = B_TRUE;
}
break;
-#if 0
case MAC_CAPAB_LSO:
if ((vxl->vxl_utunnel.uto_lso_flags & DLD_LSO_VXLAN_TCP_IPV4) != 0) {
mac_capab_lso_t *lso = cap_data;
lso->lso_flags = LSO_TX_BASIC_TCP_IPV4;
- /* XXX Check value */
lso->lso_basic_tcp_ipv4.lso_max =
- vxl->vxl_utunnel.uto_lso_max - 100;
+ vxl->vxl_utunnel.uto_lso_tcp_max - 1024;
hcapab = B_TRUE;
}
break;
-#endif
default:
hcapab = B_FALSE;
break;