Lines Matching refs:ifrh
1480 struct ifrsshash ifrh;
1527 memset(&ifrh, 0, sizeof(ifrh));
1528 strlcpy(ifrh.ifrh_name, vf_ifp->if_xname, sizeof(ifrh.ifrh_name));
1529 error = vf_ifp->if_ioctl(vf_ifp, SIOCGIFRSSHASH, (caddr_t)&ifrh);
1535 if (ifrh.ifrh_func != RSS_FUNC_TOEPLITZ) {
1537 vf_ifp->if_xname, ifrh.ifrh_func);
1542 if ((ifrh.ifrh_types & my_types) == 0) {
1546 ifrh.ifrh_types, my_types);
1550 diff_types = my_types ^ ifrh.ifrh_types;
1551 my_types &= ifrh.ifrh_types;
1569 (diff_types & ifrh.ifrh_types &
1576 (diff_types & ifrh.ifrh_types &
1585 (diff_types & ifrh.ifrh_types &
1594 (diff_types & ifrh.ifrh_types & RSS_TYPE_TCP_IPV6_EX)) {
1600 (diff_types & ifrh.ifrh_types & RSS_TYPE_TCP_IPV6)) {
1606 (diff_types & ifrh.ifrh_types & RSS_TYPE_UDP_IPV6_EX)) {
1612 (diff_types & ifrh.ifrh_types & RSS_TYPE_UDP_IPV6)) {
3698 struct ifrsshash *ifrh;
3970 ifrh = (struct ifrsshash *)data;
3974 ifrh->ifrh_func = RSS_FUNC_NONE;
3975 ifrh->ifrh_types = 0;
3980 ifrh->ifrh_func = RSS_FUNC_TOEPLITZ;
3982 ifrh->ifrh_func = RSS_FUNC_PRIVATE;
3983 ifrh->ifrh_types = hn_rss_type_fromndis(sc->hn_rss_hash);