cxgbe/tom: List IFCAP_TOE6 as supported now that all the required pieces

are in place.  You still have to enable it explicitly, after loading the
t4_tom KLD.
This commit is contained in:
Navdeep Parhar 2013-01-26 01:06:27 +00:00
parent 20be068c8a
commit 7ca5c8632d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=245933

View File

@ -875,7 +875,7 @@ cxgbe_attach(device_t dev)
ifp->if_capabilities = T4_CAP;
#ifdef TCP_OFFLOAD
if (is_offload(pi->adapter))
ifp->if_capabilities |= IFCAP_TOE4;
ifp->if_capabilities |= IFCAP_TOE;
#endif
ifp->if_capenable = T4_CAP_ENABLE;
ifp->if_hwassist = CSUM_TCP | CSUM_UDP | CSUM_IP | CSUM_TSO |