Home
last modified time | relevance | path

Searched refs:mrg_info (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/sys/
H A Dmac_impl.h264 ((g)->mrg_info.mgi_addvlan != NULL) && \
265 ((g)->mrg_info.mgi_remvlan != NULL))
282 mac_group_info_t mrg_info; /* driver supplied info */ member
285 #define mrg_driver mrg_info.mgi_driver
286 #define mrg_start mrg_info.mgi_start
287 #define mrg_stop mrg_info.mgi_stop
289 #define GROUP_INTR_HANDLE(g) (g)->mrg_info.mgi_intr.mi_handle
290 #define GROUP_INTR_ENABLE_FUNC(g) (g)->mrg_info.mgi_intr.mi_enable
291 #define GROUP_INTR_DISABLE_FUNC(g) (g)->mrg_info.mgi_intr.mi_disable
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac.c4232 ring->mr_index = group->mrg_index * group->mrg_info.mgi_count + index; in mac_init_ring()
4502 group->mrg_info = group_info; in mac_init_rings()
4741 VERIFY3P(group->mrg_info.mgi_addvlan, !=, NULL); in mac_group_addvlan()
4747 return (group->mrg_info.mgi_addvlan(group->mrg_info.mgi_driver, vlan)); in mac_group_addvlan()
4757 VERIFY3P(group->mrg_info.mgi_remvlan, !=, NULL); in mac_group_remvlan()
4763 return (group->mrg_info.mgi_remvlan(group->mrg_info.mgi_driver, vlan)); in mac_group_remvlan()
4783 VERIFY3P(group->mrg_info.mgi_addmac, !=, NULL); in mac_group_addmac()
4785 return (group->mrg_info.mgi_addmac(group->mrg_info.mgi_driver, addr)); in mac_group_addmac()
4795 VERIFY3P(group->mrg_info.mgi_remmac, !=, NULL); in mac_group_remmac()
4797 return (group->mrg_info.mgi_remmac(group->mrg_info.mgi_driver, addr)); in mac_group_remmac()