Searched refs:macidx (Results 1 – 5 of 5) sorted by relevance
/freebsd/sys/dev/cxgb/common/ |
H A D | cxgb_xgmac.c | 38 static inline int macidx(const struct cmac *mac) in macidx() function 76 t3_write_reg(adap, ctrl, adap->params.vpd.xauicfg[macidx(mac)] | in xaui_serdes_reset() 179 macidx(mac)); in t3_mac_init() 224 int idx = macidx(mac); in t3_mac_reset() 479 unsigned port_type = adap->params.vpd.port_type[macidx(mac)]; in t3_mac_set_mtu() 496 int err = t3_vsc8211_fifo_depth(adap,orig_mtu,macidx(mac)); in t3_mac_set_mtu() 648 int idx = macidx(mac); in t3_mac_enable() 742 active = macidx(mac) ? cfg & F_PORT1ACTIVE : cfg & F_PORT0ACTIVE; in t3b2_mac_watchdog_task() 746 A_TP_TX_DROP_CNT_CH0 + macidx(mac)); in t3b2_mac_watchdog_task()
|
/freebsd/sys/dev/cxgbe/ |
H A D | t4_filter.c | 241 if (fs1->mask.macidx && fs1->val.macidx != fs2->val.macidx) in filter_eq() 398 if (fs->val.macidx || fs->mask.macidx) in check_fspec_against_fconf_iconf() 749 htobe32(V_FW_FILTER_WR_MACI(f->fs.val.macidx) | in set_tcamfilter() 750 V_FW_FILTER_WR_MACIM(f->fs.mask.macidx) | in set_tcamfilter() 855 if (tp->macmatch_shift >= 0 && fs->mask.macidx) { in hashfilter_ntuple() 856 *ftuple |= (uint64_t)(fs->val.macidx) << tp->macmatch_shift; in hashfilter_ntuple()
|
H A D | t4_ioctl.h | 198 uint32_t macidx:9; /* exact match MAC index */ member
|
/freebsd/usr.sbin/cxgbetool/ |
H A D | cxgbetool.c | 842 printf(" %03x/%03x", t->fs.val.macidx, in do_show_one_filter_info() 843 t->fs.mask.macidx); in do_show_one_filter_info() 1181 t.fs.val.macidx = val; in set_filter() 1182 t.fs.mask.macidx = mask; in set_filter()
|
/freebsd/sys/contrib/dev/iwlwifi/mvm/ |
H A D | sta.c | 2231 static int iwl_mvm_add_int_sta_with_queue(struct iwl_mvm *mvm, int macidx, in iwl_mvm_add_int_sta_with_queue() 2242 ret = iwl_mvm_add_int_sta_common(mvm, sta, addr, macidx, maccolor); in iwl_mvm_add_aux_sta() 2203 iwl_mvm_add_int_sta_with_queue(struct iwl_mvm * mvm,int macidx,int maccolor,u8 * addr,struct iwl_mvm_int_sta * sta,u16 * queue,int fifo) iwl_mvm_add_int_sta_with_queue() argument
|