Lines Matching full:formatted

1577 	tunnel = !!(input.formatted.flow_type & IXGBE_ATR_L4TYPE_TUNNEL_MASK);  in ixgbe_fdir_add_signature_filter_82599()
1578 flow_type = input.formatted.flow_type & in ixgbe_fdir_add_signature_filter_82599()
1679 input->formatted.bkt_hash = bucket_hash & 0x1FFF; in ixgbe_atr_compute_perfect_hash_82599()
1693 u32 mask = IXGBE_NTOHS(input_mask->formatted.dst_port); in ixgbe_get_fdirtcpm_82599()
1695 mask |= (u32)IXGBE_NTOHS(input_mask->formatted.src_port); in ixgbe_get_fdirtcpm_82599()
1740 if (input_mask->formatted.bkt_hash) in ixgbe_fdir_set_input_mask_82599()
1744 switch (input_mask->formatted.vm_pool & 0x7F) { in ixgbe_fdir_set_input_mask_82599()
1754 switch (input_mask->formatted.flow_type & IXGBE_ATR_L4TYPE_MASK) { in ixgbe_fdir_set_input_mask_82599()
1757 if (input_mask->formatted.dst_port || in ixgbe_fdir_set_input_mask_82599()
1758 input_mask->formatted.src_port) { in ixgbe_fdir_set_input_mask_82599()
1769 switch (IXGBE_NTOHS(input_mask->formatted.vlan_id) & 0xEFFF) { in ixgbe_fdir_set_input_mask_82599()
1792 switch (input_mask->formatted.flex_bytes & 0xFFFF) { in ixgbe_fdir_set_input_mask_82599()
1809 switch (input_mask->formatted.inner_mac[0] & 0xFF) { in ixgbe_fdir_set_input_mask_82599()
1820 switch (input_mask->formatted.tni_vni & 0xFFFFFFFF) { in ixgbe_fdir_set_input_mask_82599()
1835 switch (input_mask->formatted.tunnel_type & 0xFFFF) { in ixgbe_fdir_set_input_mask_82599()
1890 ~input_mask->formatted.src_ip[0]); in ixgbe_fdir_set_input_mask_82599()
1892 ~input_mask->formatted.dst_ip[0]); in ixgbe_fdir_set_input_mask_82599()
1912 input->formatted.src_ip[0]); in ixgbe_fdir_write_perfect_filter_82599()
1914 input->formatted.src_ip[1]); in ixgbe_fdir_write_perfect_filter_82599()
1916 input->formatted.src_ip[2]); in ixgbe_fdir_write_perfect_filter_82599()
1920 input->formatted.src_ip[0]); in ixgbe_fdir_write_perfect_filter_82599()
1925 input->formatted.dst_ip[0]); in ixgbe_fdir_write_perfect_filter_82599()
1928 fdirport = IXGBE_NTOHS(input->formatted.dst_port); in ixgbe_fdir_write_perfect_filter_82599()
1930 fdirport |= (u32)IXGBE_NTOHS(input->formatted.src_port); in ixgbe_fdir_write_perfect_filter_82599()
1935 fdirvlan = IXGBE_STORE_AS_BE16(input->formatted.flex_bytes); in ixgbe_fdir_write_perfect_filter_82599()
1937 fdirvlan |= (u32)IXGBE_NTOHS(input->formatted.vlan_id); in ixgbe_fdir_write_perfect_filter_82599()
1941 if (input->formatted.tunnel_type != 0) in ixgbe_fdir_write_perfect_filter_82599()
1944 addr_low = ((u32)input->formatted.inner_mac[0] | in ixgbe_fdir_write_perfect_filter_82599()
1945 ((u32)input->formatted.inner_mac[1] << 8) | in ixgbe_fdir_write_perfect_filter_82599()
1946 ((u32)input->formatted.inner_mac[2] << 16) | in ixgbe_fdir_write_perfect_filter_82599()
1947 ((u32)input->formatted.inner_mac[3] << 24)); in ixgbe_fdir_write_perfect_filter_82599()
1948 addr_high = ((u32)input->formatted.inner_mac[4] | in ixgbe_fdir_write_perfect_filter_82599()
1949 ((u32)input->formatted.inner_mac[5] << 8)); in ixgbe_fdir_write_perfect_filter_82599()
1953 IXGBE_WRITE_REG_BE32(hw, IXGBE_FDIRSIPv6(2), input->formatted.tni_vni); in ixgbe_fdir_write_perfect_filter_82599()
1957 fdirhash = input->formatted.bkt_hash; in ixgbe_fdir_write_perfect_filter_82599()
1972 if (input->formatted.flow_type & IXGBE_ATR_L4TYPE_TUNNEL_MASK) in ixgbe_fdir_write_perfect_filter_82599()
1974 fdircmd |= input->formatted.flow_type << IXGBE_FDIRCMD_FLOW_TYPE_SHIFT; in ixgbe_fdir_write_perfect_filter_82599()
1976 fdircmd |= (u32)input->formatted.vm_pool << IXGBE_FDIRCMD_VT_POOL_SHIFT; in ixgbe_fdir_write_perfect_filter_82599()
1997 fdirhash = input->formatted.bkt_hash; in ixgbe_fdir_erase_perfect_filter_82599()
2050 switch (input->formatted.flow_type) { in ixgbe_fdir_add_perfect_filter_82599()
2053 input_mask->formatted.flow_type = IXGBE_ATR_L4TYPE_IPV6_MASK; in ixgbe_fdir_add_perfect_filter_82599()
2054 if (input->formatted.dst_port || input->formatted.src_port) { in ixgbe_fdir_add_perfect_filter_82599()
2061 if (input->formatted.dst_port || input->formatted.src_port) { in ixgbe_fdir_add_perfect_filter_82599()
2065 input_mask->formatted.flow_type = IXGBE_ATR_L4TYPE_IPV6_MASK | in ixgbe_fdir_add_perfect_filter_82599()
2072 input_mask->formatted.flow_type = IXGBE_ATR_L4TYPE_IPV6_MASK | in ixgbe_fdir_add_perfect_filter_82599()