Lines Matching refs:fg

523 	mlxcx_flow_group_t *fg;  in mlxcx_teardown_rx_group()  local
540 fg = g->mlg_port->mlp_bcast; in mlxcx_teardown_rx_group()
541 fe = list_head(&fg->mlfg_entries); in mlxcx_teardown_rx_group()
547 fg = g->mlg_port->mlp_promisc; in mlxcx_teardown_rx_group()
548 fe = list_head(&fg->mlfg_entries); in mlxcx_teardown_rx_group()
560 fg = g->mlg_rx_vlan_def_fg; in mlxcx_teardown_rx_group()
561 if (fg != NULL) { in mlxcx_teardown_rx_group()
562 fe = list_head(&fg->mlfg_entries); in mlxcx_teardown_rx_group()
569 fg = g->mlg_rx_vlan_promisc_fg; in mlxcx_teardown_rx_group()
570 if (fg != NULL) { in mlxcx_teardown_rx_group()
571 fe = list_head(&fg->mlfg_entries); in mlxcx_teardown_rx_group()
747 mlxcx_flow_group_t *fg; in mlxcx_rx_group_setup() local
929 fg = kmem_zalloc(sizeof (mlxcx_flow_group_t), KM_SLEEP); in mlxcx_rx_group_setup()
930 list_insert_tail(&ft->mlft_groups, fg); in mlxcx_rx_group_setup()
931 fg->mlfg_table = ft; in mlxcx_rx_group_setup()
932 fg->mlfg_size = 1; in mlxcx_rx_group_setup()
933 fg->mlfg_mask |= MLXCX_FLOW_MATCH_IP_VER | MLXCX_FLOW_MATCH_IP_PROTO; in mlxcx_rx_group_setup()
934 if (!mlxcx_setup_flow_group(mlxp, ft, fg)) { in mlxcx_rx_group_setup()
939 fe = list_head(&fg->mlfg_entries); in mlxcx_rx_group_setup()
951 fg = kmem_zalloc(sizeof (mlxcx_flow_group_t), KM_SLEEP); in mlxcx_rx_group_setup()
952 list_insert_tail(&ft->mlft_groups, fg); in mlxcx_rx_group_setup()
953 fg->mlfg_table = ft; in mlxcx_rx_group_setup()
954 fg->mlfg_size = 1; in mlxcx_rx_group_setup()
955 fg->mlfg_mask |= MLXCX_FLOW_MATCH_IP_VER | MLXCX_FLOW_MATCH_IP_PROTO; in mlxcx_rx_group_setup()
956 if (!mlxcx_setup_flow_group(mlxp, ft, fg)) { in mlxcx_rx_group_setup()
961 fe = list_head(&fg->mlfg_entries); in mlxcx_rx_group_setup()
973 fg = kmem_zalloc(sizeof (mlxcx_flow_group_t), KM_SLEEP); in mlxcx_rx_group_setup()
974 list_insert_tail(&ft->mlft_groups, fg); in mlxcx_rx_group_setup()
975 fg->mlfg_table = ft; in mlxcx_rx_group_setup()
976 fg->mlfg_size = 1; in mlxcx_rx_group_setup()
977 fg->mlfg_mask |= MLXCX_FLOW_MATCH_IP_VER | MLXCX_FLOW_MATCH_IP_PROTO; in mlxcx_rx_group_setup()
978 if (!mlxcx_setup_flow_group(mlxp, ft, fg)) { in mlxcx_rx_group_setup()
983 fe = list_head(&fg->mlfg_entries); in mlxcx_rx_group_setup()
995 fg = kmem_zalloc(sizeof (mlxcx_flow_group_t), KM_SLEEP); in mlxcx_rx_group_setup()
996 list_insert_tail(&ft->mlft_groups, fg); in mlxcx_rx_group_setup()
997 fg->mlfg_table = ft; in mlxcx_rx_group_setup()
998 fg->mlfg_size = 1; in mlxcx_rx_group_setup()
999 fg->mlfg_mask |= MLXCX_FLOW_MATCH_IP_VER | MLXCX_FLOW_MATCH_IP_PROTO; in mlxcx_rx_group_setup()
1000 if (!mlxcx_setup_flow_group(mlxp, ft, fg)) { in mlxcx_rx_group_setup()
1005 fe = list_head(&fg->mlfg_entries); in mlxcx_rx_group_setup()
1017 fg = kmem_zalloc(sizeof (mlxcx_flow_group_t), KM_SLEEP); in mlxcx_rx_group_setup()
1018 list_insert_tail(&ft->mlft_groups, fg); in mlxcx_rx_group_setup()
1019 fg->mlfg_table = ft; in mlxcx_rx_group_setup()
1020 fg->mlfg_size = 1; in mlxcx_rx_group_setup()
1021 fg->mlfg_mask |= MLXCX_FLOW_MATCH_IP_VER; in mlxcx_rx_group_setup()
1022 if (!mlxcx_setup_flow_group(mlxp, ft, fg)) { in mlxcx_rx_group_setup()
1027 fe = list_head(&fg->mlfg_entries); in mlxcx_rx_group_setup()
1038 fg = kmem_zalloc(sizeof (mlxcx_flow_group_t), KM_SLEEP); in mlxcx_rx_group_setup()
1039 list_insert_tail(&ft->mlft_groups, fg); in mlxcx_rx_group_setup()
1040 fg->mlfg_table = ft; in mlxcx_rx_group_setup()
1041 fg->mlfg_size = 1; in mlxcx_rx_group_setup()
1042 fg->mlfg_mask |= MLXCX_FLOW_MATCH_IP_VER; in mlxcx_rx_group_setup()
1043 if (!mlxcx_setup_flow_group(mlxp, ft, fg)) { in mlxcx_rx_group_setup()
1048 fe = list_head(&fg->mlfg_entries); in mlxcx_rx_group_setup()
1059 fg = kmem_zalloc(sizeof (mlxcx_flow_group_t), KM_SLEEP); in mlxcx_rx_group_setup()
1060 list_insert_tail(&ft->mlft_groups, fg); in mlxcx_rx_group_setup()
1061 fg->mlfg_table = ft; in mlxcx_rx_group_setup()
1062 fg->mlfg_size = 1; in mlxcx_rx_group_setup()
1063 if (!mlxcx_setup_flow_group(mlxp, ft, fg)) { in mlxcx_rx_group_setup()
1068 fe = list_head(&fg->mlfg_entries); in mlxcx_rx_group_setup()
1119 fg = kmem_zalloc(sizeof (mlxcx_flow_group_t), KM_SLEEP); in mlxcx_rx_group_setup()
1120 g->mlg_rx_vlan_fg = fg; in mlxcx_rx_group_setup()
1121 list_insert_tail(&ft->mlft_groups, fg); in mlxcx_rx_group_setup()
1122 fg->mlfg_table = ft; in mlxcx_rx_group_setup()
1123 fg->mlfg_size = ft->mlft_nents - 2; in mlxcx_rx_group_setup()
1124 fg->mlfg_mask |= MLXCX_FLOW_MATCH_VLAN; in mlxcx_rx_group_setup()
1125 fg->mlfg_mask |= MLXCX_FLOW_MATCH_VID; in mlxcx_rx_group_setup()
1126 if (!mlxcx_setup_flow_group(mlxp, ft, fg)) { in mlxcx_rx_group_setup()
1136 fg = kmem_zalloc(sizeof (mlxcx_flow_group_t), KM_SLEEP); in mlxcx_rx_group_setup()
1137 g->mlg_rx_vlan_def_fg = fg; in mlxcx_rx_group_setup()
1138 list_insert_tail(&ft->mlft_groups, fg); in mlxcx_rx_group_setup()
1139 fg->mlfg_table = ft; in mlxcx_rx_group_setup()
1140 fg->mlfg_size = 1; in mlxcx_rx_group_setup()
1141 if (!mlxcx_setup_flow_group(mlxp, ft, fg)) { in mlxcx_rx_group_setup()
1146 fe = list_head(&fg->mlfg_entries); in mlxcx_rx_group_setup()
1157 fg = kmem_zalloc(sizeof (mlxcx_flow_group_t), KM_SLEEP); in mlxcx_rx_group_setup()
1158 g->mlg_rx_vlan_promisc_fg = fg; in mlxcx_rx_group_setup()
1159 list_insert_tail(&ft->mlft_groups, fg); in mlxcx_rx_group_setup()
1160 fg->mlfg_table = ft; in mlxcx_rx_group_setup()
1161 fg->mlfg_size = 1; in mlxcx_rx_group_setup()
1162 if (!mlxcx_setup_flow_group(mlxp, ft, fg)) { in mlxcx_rx_group_setup()
1167 fe = list_head(&fg->mlfg_entries); in mlxcx_rx_group_setup()
1253 mlxcx_flow_group_t *fg; in mlxcx_rx_group_start() local
1293 fg = g->mlg_port->mlp_bcast; in mlxcx_rx_group_start()
1294 fe = list_head(&fg->mlfg_entries); in mlxcx_rx_group_start()
1304 fg = g->mlg_port->mlp_promisc; in mlxcx_rx_group_start()
1305 fe = list_head(&fg->mlfg_entries); in mlxcx_rx_group_start()