Lines Matching refs:bnum_flag
485 static void get_v2rx_desc_bnum(u32 bnum_flag, int *out_bnum) in get_v2rx_desc_bnum() argument
487 *out_bnum = hnae_get_field(bnum_flag, in get_v2rx_desc_bnum()
491 static void get_rx_desc_bnum(u32 bnum_flag, int *out_bnum) in get_rx_desc_bnum() argument
493 *out_bnum = hnae_get_field(bnum_flag, in get_rx_desc_bnum()
574 u32 bnum_flag; in hns_nic_poll_rx_skb() local
595 bnum_flag = le32_to_cpu(desc->rx.ipoff_bnum_pid_flag); in hns_nic_poll_rx_skb()
596 priv->ops.get_rxd_bnum(bnum_flag, &bnum); in hns_nic_poll_rx_skb()
650 bnum_flag = le32_to_cpu(desc->rx.ipoff_bnum_pid_flag); in hns_nic_poll_rx_skb()
652 if (unlikely(!hnae_get_bit(bnum_flag, HNS_RXD_VLD_B))) { in hns_nic_poll_rx_skb()
661 hnae_get_bit(bnum_flag, HNS_RXD_DROP_B))) { in hns_nic_poll_rx_skb()
667 if (unlikely(hnae_get_bit(bnum_flag, HNS_RXD_L2E_B))) { in hns_nic_poll_rx_skb()
679 hns_nic_rx_checksum(ring_data, skb, bnum_flag); in hns_nic_poll_rx_skb()