Lines Matching refs:l234info
3814 static int hns3_gro_complete(struct sk_buff *skb, u32 l234info) in hns3_gro_complete() argument
3860 if (l234info & BIT(HNS3_RXD_GRO_FIXID_B)) in hns3_gro_complete()
3884 static void hns3_rx_handle_csum(struct sk_buff *skb, u32 l234info, in hns3_rx_handle_csum() argument
3905 l3_type = hnae3_get_field(l234info, HNS3_RXD_L3ID_M, in hns3_rx_handle_csum()
3907 l4_type = hnae3_get_field(l234info, HNS3_RXD_L4ID_M, in hns3_rx_handle_csum()
3923 u32 l234info, u32 bd_base_info, u32 ol_info, in hns3_rx_checksum() argument
3947 if (unlikely(l234info & (BIT(HNS3_RXD_L3E_B) | BIT(HNS3_RXD_L4E_B) | in hns3_rx_checksum()
3956 hns3_rx_handle_csum(skb, l234info, ol_info, ptype); in hns3_rx_checksum()
3968 struct hns3_desc *desc, u32 l234info, in hns3_parse_vlan_tag() argument
3991 switch (hnae3_get_field(l234info, HNS3_RXD_STRP_TAGP_M, in hns3_parse_vlan_tag()
4146 struct sk_buff *skb, u32 l234info, in hns3_set_gro_and_checksum() argument
4158 hns3_rx_checksum(ring, skb, l234info, bd_base_info, ol_info, in hns3_set_gro_and_checksum()
4163 NAPI_GRO_CB(skb)->count = hnae3_get_field(l234info, in hns3_set_gro_and_checksum()
4173 l3_type = hnae3_get_field(l234info, HNS3_RXD_L3ID_M, in hns3_set_gro_and_checksum()
4184 return hns3_gro_complete(skb, l234info); in hns3_set_gro_and_checksum()
4189 u32 l234info, u32 ol_info) in hns3_set_rx_skb_rss_type() argument
4201 int l3_type = hnae3_get_field(l234info, HNS3_RXD_L3ID_M, in hns3_set_rx_skb_rss_type()
4203 int l4_type = hnae3_get_field(l234info, HNS3_RXD_L4ID_M, in hns3_set_rx_skb_rss_type()
4237 u32 l234info) in hns3_handle_rx_vlan_tag() argument
4248 if (hns3_parse_vlan_tag(ring, desc, l234info, &vlan_tag)) in hns3_handle_rx_vlan_tag()
4258 u32 bd_base_info, l234info, ol_info; in hns3_handle_bdinfo() local
4272 l234info = le32_to_cpu(desc->rx.l234_info); in hns3_handle_bdinfo()
4278 hns3_handle_rx_vlan_tag(ring, desc, skb, l234info); in hns3_handle_bdinfo()
4280 if (unlikely(!desc->rx.pkt_len || (l234info & (BIT(HNS3_RXD_TRUNCAT_B) | in hns3_handle_bdinfo()
4283 if (l234info & BIT(HNS3_RXD_L2E_B)) in hns3_handle_bdinfo()
4298 ret = hns3_set_gro_and_checksum(ring, skb, l234info, in hns3_handle_bdinfo()
4305 l2_frame_type = hnae3_get_field(l234info, HNS3_RXD_DMAC_M, in hns3_handle_bdinfo()
4320 l234info, ol_info); in hns3_handle_bdinfo()