Home
last modified time | relevance | path

Searched refs:ifrh (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/dev/hyperv/netvsc/
H A Dif_hn.c1451 struct ifrsshash ifrh; in hn_vf_rss_fixup() local
1498 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 …]
/freebsd/sys/dev/mlx4/mlx4_en/
H A Dmlx4_en_netdev.c1957 struct ifrsshash *ifrh; in mlx4_en_ioctl() local
2108 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()
/freebsd/sys/dev/mana/
H A Dmana_en.c173 struct ifrsshash *ifrh; in mana_ioctl() local
311 ifrh = (struct ifrsshash *)data; in mana_ioctl()
312 ifrh->ifrh_func = RSS_FUNC_TOEPLITZ; in mana_ioctl()
313 ifrh->ifrh_types = in mana_ioctl()
/freebsd/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_main.c3503 struct ifrsshash *ifrh; in mlx5e_ioctl() local
3852 ifrh = (struct ifrsshash *)data; in mlx5e_ioctl()
3853 ifrh->ifrh_func = RSS_FUNC_TOEPLITZ; in mlx5e_ioctl()
3854 ifrh->ifrh_types = in mlx5e_ioctl()