Searched refs:csum_mask (Results 1 – 6 of 6) sorted by relevance
170 u32 csum_mask = MT_RXD0_NORMAL_IP_SUM | MT_RXD0_NORMAL_UDP_TCP_SUM; in mt7921_mac_fill_rx() local243 if (mt76_is_mmio(&dev->mt76) && (rxd0 & csum_mask) == csum_mask && in mt7921_mac_fill_rx()
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()
355 u32 csum_mask = MT_RXD3_NORMAL_IP_SUM | MT_RXD3_NORMAL_UDP_TCP_SUM; in mt7925_mac_fill_rx() local422 if (mt76_is_mmio(&dev->mt76) && (rxd3 & csum_mask) == csum_mask && in mt7925_mac_fill_rx()
345 u32 csum_mask = MT_RXD0_NORMAL_IP_SUM | MT_RXD0_NORMAL_UDP_TCP_SUM; in mt7615_mac_fill_rx() local397 if (mt76_is_mmio(&dev->mt76) && (rxd0 & csum_mask) == csum_mask && in mt7615_mac_fill_rx()
293 u32 csum_mask = MT_RXD0_NORMAL_IP_SUM | MT_RXD0_NORMAL_UDP_TCP_SUM; in mt7915_mac_fill_rx() local355 if ((rxd0 & csum_mask) == csum_mask && in mt7915_mac_fill_rx()
438 u32 csum_mask = MT_RXD3_NORMAL_IP_SUM | MT_RXD3_NORMAL_UDP_TCP_SUM; in mt7996_mac_fill_rx() local500 if ((rxd3 & csum_mask) == csum_mask && in mt7996_mac_fill_rx()