diff options
author | Robert Mustacchi <rm@joyent.com> | 2018-03-28 23:20:07 +0000 |
---|---|---|
committer | Robert Mustacchi <rm@joyent.com> | 2018-04-02 16:52:13 +0000 |
commit | 9dc0f5536a83ce4ef09e0009beec208ac83f0a75 (patch) | |
tree | e27546e6376142b460df5081c90a7ebd09859472 /usr/src/uts/common/io/i40e/i40e_gld.c | |
parent | 51e13f4784dca9f0e910f3d0fb85b659ad68ceb2 (diff) | |
download | illumos-joyent-netperf.tar.gz |
OS-XXXX wip vxlan lsonetperf
Diffstat (limited to 'usr/src/uts/common/io/i40e/i40e_gld.c')
-rw-r--r-- | usr/src/uts/common/io/i40e/i40e_gld.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/usr/src/uts/common/io/i40e/i40e_gld.c b/usr/src/uts/common/io/i40e/i40e_gld.c index 5e488c4606..c59988601e 100644 --- a/usr/src/uts/common/io/i40e/i40e_gld.c +++ b/usr/src/uts/common/io/i40e/i40e_gld.c @@ -747,8 +747,13 @@ i40e_m_getcapab(void *arg, mac_capab_t cap, void *cap_data) mac_capab_lso_t *cap_lso = cap_data; if (i40e->i40e_tx_lso_enable == B_TRUE) { - cap_lso->lso_flags = LSO_TX_BASIC_TCP_IPV4; + cap_lso->lso_flags = LSO_TX_BASIC_TCP_IPV4 | + LSO_TX_VXLAN_TCP; cap_lso->lso_basic_tcp_ipv4.lso_max = I40E_LSO_MAXLEN; + /* XXX This is not the case for the X722 */ + cap_lso->lso_vxlan_tcp.lso_oudp_cksum = + LSO_VXLAN_OUDP_CSUM_NONE; + cap_lso->lso_vxlan_tcp.lso_tcp_max = I40E_LSO_MAXLEN; } else { return (B_FALSE); } |