Searched refs:macidx (Results 1 - 4 of 4) sorted by relevance

/freebsd-12-stable/sys/dev/cxgb/common/
H A Dcxgb_xgmac.c40 static inline int macidx(const struct cmac *mac) function
78 t3_write_reg(adap, ctrl, adap->params.vpd.xauicfg[macidx(mac)] |
181 macidx(mac));
226 int idx = macidx(mac);
470 unsigned port_type = adap->params.vpd.port_type[macidx(mac)];
487 int err = t3_vsc8211_fifo_depth(adap,orig_mtu,macidx(mac));
639 int idx = macidx(mac);
733 active = macidx(mac) ? cfg & F_PORT1ACTIVE : cfg & F_PORT0ACTIVE;
737 A_TP_TX_DROP_CNT_CH0 + macidx(mac));
/freebsd-12-stable/sys/dev/cxgbe/
H A Dt4_ioctl.h197 uint32_t macidx:9; /* exact match MAC index */ member in struct:t4_filter_tuple
H A Dt4_filter.c244 if (fs1->mask.macidx && fs1->val.macidx != fs2->val.macidx)
388 if (fs->val.macidx || fs->mask.macidx)
658 htobe32(V_FW_FILTER_WR_MACI(f->fs.val.macidx) |
659 V_FW_FILTER_WR_MACIM(f->fs.mask.macidx) |
760 if (tp->macmatch_shift >= 0 && fs->mask.macidx) {
761 *ftuple |= (uint64_t)(fs->val.macidx) << tp->macmatch_shift;
/freebsd-12-stable/usr.sbin/cxgbetool/
H A Dcxgbetool.c865 printf(" %03x/%03x", t->fs.val.macidx,
866 t->fs.mask.macidx);
1032 printf("macidx ");
1077 if (!strcmp(argv[0], "macidx"))
1208 } else if (!parse_val_mask("macidx", args, &val, &mask, hash)) {
1209 t.fs.val.macidx = val;
1210 t.fs.mask.macidx = mask;

Completed in 129 milliseconds