Lines Matching full:formatted
155 input->formatted.bkt_hash = (__force __be16)(bucket_hash & 0x1FFF); in txgbe_atr_compute_perfect_hash()
190 flow_type = input.formatted.flow_type; in txgbe_fdir_add_signature_filter()
274 input.formatted.vlan_id = htons((u16)ptype); in txgbe_atr()
288 input.formatted.flow_type = TXGBE_ATR_FLOW_TYPE_TCPV6; in txgbe_atr()
298 input.formatted.flow_type = TXGBE_ATR_FLOW_TYPE_TCPV4; in txgbe_atr()
321 if (input_mask->formatted.bkt_hash) in txgbe_fdir_set_input_mask()
325 switch (input_mask->formatted.vm_pool & 0x7F) { in txgbe_fdir_set_input_mask()
336 switch (input_mask->formatted.flow_type & TXGBE_ATR_L4TYPE_MASK) { in txgbe_fdir_set_input_mask()
339 if (input_mask->formatted.dst_port || in txgbe_fdir_set_input_mask()
340 input_mask->formatted.src_port) { in txgbe_fdir_set_input_mask()
360 switch ((__force u16)input_mask->formatted.flex_bytes & 0xFFFF) { in txgbe_fdir_set_input_mask()
374 fdirtcpm = ntohs(input_mask->formatted.dst_port); in txgbe_fdir_set_input_mask()
376 fdirtcpm |= ntohs(input_mask->formatted.src_port); in txgbe_fdir_set_input_mask()
385 ntohl(~input_mask->formatted.src_ip[0])); in txgbe_fdir_set_input_mask()
387 ntohl(~input_mask->formatted.dst_ip[0])); in txgbe_fdir_set_input_mask()
400 wr32(wx, TXGBE_RDB_FDIR_IP6(2), ntohl(input->formatted.src_ip[0])); in txgbe_fdir_write_perfect_filter()
401 wr32(wx, TXGBE_RDB_FDIR_IP6(1), ntohl(input->formatted.src_ip[1])); in txgbe_fdir_write_perfect_filter()
402 wr32(wx, TXGBE_RDB_FDIR_IP6(0), ntohl(input->formatted.src_ip[2])); in txgbe_fdir_write_perfect_filter()
405 wr32(wx, TXGBE_RDB_FDIR_SA, ntohl(input->formatted.src_ip[0])); in txgbe_fdir_write_perfect_filter()
410 wr32(wx, TXGBE_RDB_FDIR_DA, ntohl(input->formatted.dst_ip[0])); in txgbe_fdir_write_perfect_filter()
413 fdirport = ntohs(input->formatted.dst_port); in txgbe_fdir_write_perfect_filter()
415 fdirport |= ntohs(input->formatted.src_port); in txgbe_fdir_write_perfect_filter()
419 fdirvlan = ntohs(input->formatted.flex_bytes); in txgbe_fdir_write_perfect_filter()
421 fdirvlan |= ntohs(input->formatted.vlan_id); in txgbe_fdir_write_perfect_filter()
425 fdirhash = (__force u32)input->formatted.bkt_hash | in txgbe_fdir_write_perfect_filter()
441 fdircmd |= TXGBE_RDB_FDIR_CMD_FLOW_TYPE(input->formatted.flow_type); in txgbe_fdir_write_perfect_filter()
443 fdircmd |= TXGBE_RDB_FDIR_CMD_VT_POOL(input->formatted.vm_pool); in txgbe_fdir_write_perfect_filter()
461 fdirhash = (__force u32)input->formatted.bkt_hash; in txgbe_fdir_erase_perfect_filter()