diff options
author | Marius Strobl <marius@FreeBSD.org> | 2018-07-16 19:47:57 +0000 |
---|---|---|
committer | Marius Strobl <marius@FreeBSD.org> | 2018-07-16 19:47:57 +0000 |
commit | c1176e63e821c69576ac8de3f1be9c04db419fb2 (patch) | |
tree | 2f1d22deef690f002a1098713e597567995ec63c | |
parent | 7f0df9ac2b4df2765dea5670d43a4034c6f41bd2 (diff) | |
download | src-c1176e63e821c69576ac8de3f1be9c04db419fb2.tar.gz src-c1176e63e821c69576ac8de3f1be9c04db419fb2.zip |
Update igb_sctx_init for r336313, missed when incorporating shurd@'s
feedback on the initial D15720.
Reported by: kib
Notes
Notes:
svn path=/head/; revision=336356
-rw-r--r-- | sys/dev/e1000/if_em.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/e1000/if_em.c b/sys/dev/e1000/if_em.c index 9aa17979c316..42f8f1db9dc9 100644 --- a/sys/dev/e1000/if_em.c +++ b/sys/dev/e1000/if_em.c @@ -507,12 +507,13 @@ static struct if_shared_ctx em_sctx_init = { if_shared_ctx_t em_sctx = &em_sctx_init; - static struct if_shared_ctx igb_sctx_init = { .isc_magic = IFLIB_MAGIC, .isc_q_align = PAGE_SIZE, - .isc_tx_maxsize = EM_TSO_SIZE, + .isc_tx_maxsize = EM_TSO_SIZE + sizeof(struct ether_vlan_header), .isc_tx_maxsegsize = PAGE_SIZE, + .isc_tso_maxsize = EM_TSO_SIZE + sizeof(struct ether_vlan_header), + .isc_tso_maxsegsize = EM_TSO_SEG_SIZE, .isc_rx_maxsize = MJUM9BYTES, .isc_rx_nsegments = 1, .isc_rx_maxsegsize = MJUM9BYTES, |