Lines Matching refs:prefix
34 bool ef100_rx_buf_hash_valid(const u8 *prefix) in ef100_rx_buf_hash_valid() argument
36 return PREFIX_FIELD(prefix, RSS_HASH_VALID); in ef100_rx_buf_hash_valid()
39 static bool ef100_has_fcs_error(struct efx_channel *channel, u32 *prefix) in ef100_has_fcs_error() argument
44 rxclass = le16_to_cpu((__force __le16)PREFIX_FIELD(prefix, CLASS)); in ef100_has_fcs_error()
66 u32 *prefix; in __ef100_rx_packet() local
68 prefix = (u32 *)(eh - ESE_GZ_RX_PKT_PREFIX_LEN); in __ef100_rx_packet()
71 u32 mark = PREFIX_FIELD(prefix, USER_MARK); in __ef100_rx_packet()
77 if (ef100_has_fcs_error(channel, prefix) && in __ef100_rx_packet()
81 rx_buf->len = le16_to_cpu((__force __le16)PREFIX_FIELD(prefix, LENGTH)); in __ef100_rx_packet()
90 ing_port = le16_to_cpu((__force __le16) PREFIX_FIELD(prefix, INGRESS_MPORT)); in __ef100_rx_packet()
122 if (PREFIX_FIELD(prefix, NT_OR_INNER_L3_CLASS) == 1) { in __ef100_rx_packet()
125 u16 sum = be16_to_cpu((__force __be16)PREFIX_FIELD(prefix, CSUM_FRAME)); in __ef100_rx_packet()