Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/sys/
H A Dmac_flow.h240 #define MAC_COPY_CPUS(mrp, fmrp) { \ argument
242 (fmrp)->mrp_ncpus = (mrp)->mrp_ncpus; \
243 (fmrp)->mrp_rx_fanout_cnt = (mrp)->mrp_rx_fanout_cnt; \
244 (fmrp)->mrp_rx_intr_cpu = (mrp)->mrp_rx_intr_cpu; \
245 (fmrp)->mrp_fanout_mode = (mrp)->mrp_fanout_mode; \
247 (fmrp)->mrp_mask &= ~MRP_CPUS; \
248 (fmrp)->mrp_mask &= ~MRP_CPUS_USERSPEC; \
250 for (ncpus = 0; ncpus < (fmrp)->mrp_ncpus; ncpus++) \
251 (fmrp)->mrp_cpu[ncpus] = (mrp)->mrp_cpu[ncpus];\
252 (fmrp)->mrp_mask |= MRP_CPUS; \
[all …]
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_flow.c662 mac_resource_props_t *fmrp = &flent->fe_effective_props; in mac_flow_modify_props() local
666 (!(fmrp->mrp_mask & MRP_MAXBW) || in mac_flow_modify_props()
667 (fmrp->mrp_maxbw != mrp->mrp_maxbw))) { in mac_flow_modify_props()
670 fmrp->mrp_mask &= ~MRP_MAXBW; in mac_flow_modify_props()
671 fmrp->mrp_maxbw = 0; in mac_flow_modify_props()
673 fmrp->mrp_mask |= MRP_MAXBW; in mac_flow_modify_props()
674 fmrp->mrp_maxbw = mrp->mrp_maxbw; in mac_flow_modify_props()
679 if (fmrp->mrp_priority != mrp->mrp_priority) in mac_flow_modify_props()
682 fmrp->mrp_priority = MPL_SUBFLOW_DEFAULT; in mac_flow_modify_props()
683 fmrp->mrp_mask &= ~MRP_PRIORITY; in mac_flow_modify_props()
[all …]