sfxge: added setting TSO-related parameters
Submitted by: Artem V. Andreev <Artem.Andreev at oktetlabs.ru> Sponsored by: Solarflare Communications, Inc. MFC after: 2 days Differential Revision: https://reviews.freebsd.org/D4308
This commit is contained in:
parent
3e797e1088
commit
7e07b1024d
@ -538,6 +538,9 @@ sfxge_ifnet_init(struct ifnet *ifp, struct sfxge_softc *sc)
|
||||
|
||||
ifp->if_capabilities = SFXGE_CAP;
|
||||
ifp->if_capenable = SFXGE_CAP_ENABLE;
|
||||
ifp->if_hw_tsomax = SFXGE_TSO_MAX_SIZE;
|
||||
ifp->if_hw_tsomaxsegcount = SFXGE_TX_MAPPING_MAX_SEG;
|
||||
ifp->if_hw_tsomaxsegsize = PAGE_SIZE;
|
||||
|
||||
#ifdef SFXGE_LRO
|
||||
ifp->if_capabilities |= IFCAP_LRO;
|
||||
|
Loading…
x
Reference in New Issue
Block a user