diff options
author | yongari <yongari@FreeBSD.org> | 2010-02-20 22:47:20 +0000 |
---|---|---|
committer | yongari <yongari@FreeBSD.org> | 2010-02-20 22:47:20 +0000 |
commit | 453676a091f9cfbbcbb1bae93154f6b75893d5c0 (patch) | |
tree | c4b9d0e694a7a33948e8a9870ca49973869188d8 /sys/net/if.h | |
parent | 7772630fb3afe62bfc6b65e13accda35f5633446 (diff) | |
download | FreeBSD-src-453676a091f9cfbbcbb1bae93154f6b75893d5c0.zip FreeBSD-src-453676a091f9cfbbcbb1bae93154f6b75893d5c0.tar.gz |
Add TSO support on VLANs. Intentionally separated IFCAP_VLAN_HWTSO
from IFCAP_VLAN_HWTAGGING. I think some hardwares may be able to
TSO over VLAN without VLAN hardware tagging.
Driver changes and userland support will follow.
Reviewed by: thompsa
Diffstat (limited to 'sys/net/if.h')
-rw-r--r-- | sys/net/if.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/net/if.h b/sys/net/if.h index aff0d76..e226654 100644 --- a/sys/net/if.h +++ b/sys/net/if.h @@ -218,6 +218,7 @@ struct if_data { #define IFCAP_TOE6 0x08000 /* interface can offload TCP6 */ #define IFCAP_VLAN_HWFILTER 0x10000 /* interface hw can filter vlan tag */ #define IFCAP_POLLING_NOCOUNT 0x20000 /* polling ticks cannot be fragmented */ +#define IFCAP_VLAN_HWTSO 0x40000 /* can do IFCAP_TSO on VLANs */ #define IFCAP_HWCSUM (IFCAP_RXCSUM | IFCAP_TXCSUM) #define IFCAP_TSO (IFCAP_TSO4 | IFCAP_TSO6) |