Searched refs:ifrh (Results 1 – 4 of 4) sorted by relevance
1438 struct ifrsshash ifrh; in hn_vf_rss_fixup() local1485 memset(&ifrh, 0, sizeof(ifrh)); in hn_vf_rss_fixup()1486 strlcpy(ifrh.ifrh_name, if_name(vf_ifp), sizeof(ifrh.ifrh_name)); in hn_vf_rss_fixup()1487 error = ifhwioctl(SIOCGIFRSSHASH, vf_ifp, (caddr_t)&ifrh, curthread); in hn_vf_rss_fixup()1493 if (ifrh.ifrh_func != RSS_FUNC_TOEPLITZ) { in hn_vf_rss_fixup()1495 if_name(vf_ifp), ifrh.ifrh_func); in hn_vf_rss_fixup()1500 if ((ifrh.ifrh_types & my_types) == 0) { in hn_vf_rss_fixup()1504 ifrh.ifrh_types, my_types); in hn_vf_rss_fixup()1508 diff_types = my_types ^ ifrh.ifrh_types; in hn_vf_rss_fixup()1509 my_types &= ifrh.ifrh_types; in hn_vf_rss_fixup()[all …]
1957 struct ifrsshash *ifrh; in mlx4_en_ioctl() local2108 ifrh = (struct ifrsshash *)data; in mlx4_en_ioctl()2109 ifrh->ifrh_func = RSS_FUNC_TOEPLITZ; in mlx4_en_ioctl()2110 ifrh->ifrh_types = 0; in mlx4_en_ioctl()2112 ifrh->ifrh_types |= RSS_TYPE_IPV4; in mlx4_en_ioctl()2114 ifrh->ifrh_types |= RSS_TYPE_TCP_IPV4; in mlx4_en_ioctl()2116 ifrh->ifrh_types |= RSS_TYPE_IPV6; in mlx4_en_ioctl()2118 ifrh->ifrh_types |= RSS_TYPE_TCP_IPV6; in mlx4_en_ioctl()2120 ifrh->ifrh_types |= RSS_TYPE_UDP_IPV4; in mlx4_en_ioctl()2122 ifrh->ifrh_types |= RSS_TYPE_UDP_IPV6; in mlx4_en_ioctl()
173 struct ifrsshash *ifrh; in mana_ioctl() local312 ifrh = (struct ifrsshash *)data; in mana_ioctl()313 ifrh->ifrh_func = RSS_FUNC_TOEPLITZ; in mana_ioctl()314 ifrh->ifrh_types = in mana_ioctl()
3481 struct ifrsshash *ifrh; in mlx5e_ioctl() local3830 ifrh = (struct ifrsshash *)data; in mlx5e_ioctl()3831 ifrh->ifrh_func = RSS_FUNC_TOEPLITZ; in mlx5e_ioctl()3832 ifrh->ifrh_types = in mlx5e_ioctl()