Home
last modified time | relevance | path

Searched refs:csum_mask (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/
Dfw.c2482 u8 csum_mask; in mlx4_config_dev_retrieval() local
2495 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()
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7921/
Dmac.c224 u32 csum_mask = MT_RXD0_NORMAL_IP_SUM | MT_RXD0_NORMAL_UDP_TCP_SUM; in mt7921_mac_fill_rx() local
294 if (mt76_is_mmio(&dev->mt76) && (rxd0 & csum_mask) == csum_mask && in mt7921_mac_fill_rx()
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7915/
Dmac.c231 u32 csum_mask = MT_RXD0_NORMAL_IP_SUM | MT_RXD0_NORMAL_UDP_TCP_SUM; in mt7915_mac_fill_rx() local
292 if ((rxd0 & csum_mask) == csum_mask && in mt7915_mac_fill_rx()
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7615/
Dmac.c347 u32 csum_mask = MT_RXD0_NORMAL_IP_SUM | MT_RXD0_NORMAL_UDP_TCP_SUM; in mt7615_mac_fill_rx() local
398 if (mt76_is_mmio(&dev->mt76) && (rxd0 & csum_mask) == csum_mask && in mt7615_mac_fill_rx()