Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/
Dfw.c2459 u8 csum_mask; in mlx4_config_dev_retrieval() local
2472 csum_mask = (config_dev.rx_checksum_val >> CONFIG_DEV_RX_CSUM_MODE_PORT1_BIT_OFFSET) & in mlx4_config_dev_retrieval()
2475 if (csum_mask >= ARRAY_SIZE(config_dev_csum_flags)) in mlx4_config_dev_retrieval()
2477 params->rx_csum_flags_port_1 = config_dev_csum_flags[csum_mask]; in mlx4_config_dev_retrieval()
2479 csum_mask = (config_dev.rx_checksum_val >> CONFIG_DEV_RX_CSUM_MODE_PORT2_BIT_OFFSET) & in mlx4_config_dev_retrieval()
2482 if (csum_mask >= ARRAY_SIZE(config_dev_csum_flags)) in mlx4_config_dev_retrieval()
2484 params->rx_csum_flags_port_2 = config_dev_csum_flags[csum_mask]; in mlx4_config_dev_retrieval()