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()
224 u32 csum_mask = MT_RXD0_NORMAL_IP_SUM | MT_RXD0_NORMAL_UDP_TCP_SUM; in mt7921_mac_fill_rx() local294 if (mt76_is_mmio(&dev->mt76) && (rxd0 & csum_mask) == csum_mask && in mt7921_mac_fill_rx()
347 u32 csum_mask = MT_RXD0_NORMAL_IP_SUM | MT_RXD0_NORMAL_UDP_TCP_SUM; in mt7615_mac_fill_rx() local398 if (mt76_is_mmio(&dev->mt76) && (rxd0 & csum_mask) == csum_mask && in mt7615_mac_fill_rx()
231 u32 csum_mask = MT_RXD0_NORMAL_IP_SUM | MT_RXD0_NORMAL_UDP_TCP_SUM; in mt7915_mac_fill_rx() local292 if ((rxd0 & csum_mask) == csum_mask && in mt7915_mac_fill_rx()