Searched refs:csum_mask (Results 1 – 4 of 4) sorted by relevance
2482 u8 csum_mask; in mlx4_config_dev_retrieval() local2495 csum_mask = (config_dev.rx_checksum_val >> CONFIG_DEV_RX_CSUM_MODE_PORT1_BIT_OFFSET) & in mlx4_config_dev_retrieval()2498 if (csum_mask >= ARRAY_SIZE(config_dev_csum_flags)) in mlx4_config_dev_retrieval()2500 params->rx_csum_flags_port_1 = config_dev_csum_flags[csum_mask]; in mlx4_config_dev_retrieval()2502 csum_mask = (config_dev.rx_checksum_val >> CONFIG_DEV_RX_CSUM_MODE_PORT2_BIT_OFFSET) & in mlx4_config_dev_retrieval()2505 if (csum_mask >= ARRAY_SIZE(config_dev_csum_flags)) in mlx4_config_dev_retrieval()2507 params->rx_csum_flags_port_2 = config_dev_csum_flags[csum_mask]; in mlx4_config_dev_retrieval()
356 u32 csum_mask = MT_RXD0_NORMAL_IP_SUM | MT_RXD0_NORMAL_UDP_TCP_SUM; in mt7921_mac_fill_rx() local419 if ((rxd0 & csum_mask) == csum_mask) in mt7921_mac_fill_rx()
326 u32 csum_mask = MT_RXD0_NORMAL_IP_SUM | MT_RXD0_NORMAL_UDP_TCP_SUM; in mt7915_mac_fill_rx() local384 if ((rxd0 & csum_mask) == csum_mask) in mt7915_mac_fill_rx()
264 u32 csum_mask = MT_RXD0_NORMAL_IP_SUM | MT_RXD0_NORMAL_UDP_TCP_SUM; in mt7615_mac_fill_rx() local311 if ((rxd0 & csum_mask) == csum_mask) in mt7615_mac_fill_rx()