Searched refs:ifrh (Results 1 – 4 of 4) sorted by relevance
1451 struct ifrsshash ifrh; in hn_vf_rss_fixup() local1498 memset(&ifrh, 0, sizeof(ifrh)); in hn_vf_rss_fixup()1499 strlcpy(ifrh.ifrh_name, if_name(vf_ifp), sizeof(ifrh.ifrh_name)); in hn_vf_rss_fixup()1500 error = ifhwioctl(SIOCGIFRSSHASH, vf_ifp, (caddr_t)&ifrh, curthread); in hn_vf_rss_fixup()1506 if (ifrh.ifrh_func != RSS_FUNC_TOEPLITZ) { in hn_vf_rss_fixup()1508 if_name(vf_ifp), ifrh.ifrh_func); in hn_vf_rss_fixup()1513 if ((ifrh.ifrh_types & my_types) == 0) { in hn_vf_rss_fixup()1517 ifrh.ifrh_types, my_types); in hn_vf_rss_fixup()1521 diff_types = my_types ^ ifrh.ifrh_types; in hn_vf_rss_fixup()1522 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() local311 ifrh = (struct ifrsshash *)data; in mana_ioctl()312 ifrh->ifrh_func = RSS_FUNC_TOEPLITZ; in mana_ioctl()313 ifrh->ifrh_types = in mana_ioctl()
3503 struct ifrsshash *ifrh; in mlx5e_ioctl() local3852 ifrh = (struct ifrsshash *)data; in mlx5e_ioctl()3853 ifrh->ifrh_func = RSS_FUNC_TOEPLITZ; in mlx5e_ioctl()3854 ifrh->ifrh_types = in mlx5e_ioctl()