Lines Matching refs:key_mask
4929 tp->key_mask[1] = TCAM_V4KEY1_NOPORT;
4932 err = tcam_write(np, index, tp->key, tp->key_mask);
6996 fsp->m_u.tcp_ip4_spec.ip4src = (tp->key_mask[3] & TCAM_V4KEY3_SADDR) >>
6998 fsp->m_u.tcp_ip4_spec.ip4dst = (tp->key_mask[3] & TCAM_V4KEY3_DADDR) >>
7012 fsp->m_u.tcp_ip4_spec.tos = (tp->key_mask[2] & TCAM_V4KEY2_TOS) >>
7026 ((tp->key_mask[2] & TCAM_V4KEY2_PORT_SPI) >>
7029 ((tp->key_mask[2] & TCAM_V4KEY2_PORT_SPI) >>
7047 (tp->key_mask[2] & TCAM_V4KEY2_PORT_SPI) >>
7060 (tp->key_mask[2] & TCAM_V4KEY2_PORT_SPI) >>
7072 (tp->key_mask[2] & TCAM_V4KEY2_PROTO) >>
7287 tp->key_mask[0] = TCAM_V4KEY0_CLASS_CODE;
7289 tp->key_mask[1] = TCAM_V4KEY1_L2RDCNUM;
7294 tp->key_mask[3] = (u64)sipm << TCAM_V4KEY3_SADDR_SHIFT;
7295 tp->key_mask[3] |= dipm;
7299 tp->key_mask[2] |= ((u64)fsp->m_u.tcp_ip4_spec.tos <<
7311 tp->key_mask[2] |= (((u64)spm << 16) | dpm);
7320 tp->key_mask[2] |= spim;
7328 tp->key_mask[2] |= spim;
7337 tp->key_mask[2] |= TCAM_V4KEY2_PROTO;
7488 err = tcam_write(np, idx, tp->key, tp->key_mask);