Home
last modified time | relevance | path

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

/freebsd/sys/dev/mlx4/mlx4_core/
H A Dmlx4_fw.c2389 static int mlx4_CONFIG_DEV_set(struct mlx4_dev *dev, struct mlx4_config_dev *config_dev) in mlx4_CONFIG_DEV_set() argument
2398 memcpy(mailbox->buf, config_dev, sizeof(*config_dev)); in mlx4_CONFIG_DEV_set()
2407 static int mlx4_CONFIG_DEV_get(struct mlx4_dev *dev, struct mlx4_config_dev *config_dev) in mlx4_CONFIG_DEV_get() argument
2420 memcpy(config_dev, mailbox->buf, sizeof(*config_dev)); in mlx4_CONFIG_DEV_get()
2443 struct mlx4_config_dev config_dev = {0}; in mlx4_config_dev_retrieval() local
2454 err = mlx4_CONFIG_DEV_get(dev, &config_dev); in mlx4_config_dev_retrieval()
2458 csum_mask = (config_dev.rx_checksum_val >> CONFIG_DEV_RX_CSUM_MODE_PORT1_BIT_OFFSET) & in mlx4_config_dev_retrieval()
2465 csum_mask = (config_dev.rx_checksum_val >> CONFIG_DEV_RX_CSUM_MODE_PORT2_BIT_OFFSET) & in mlx4_config_dev_retrieval()
2472 params->vxlan_udp_dport = be16_to_cpu(config_dev.vxlan_udp_dport); in mlx4_config_dev_retrieval()
2480 struct mlx4_config_dev config_dev; in mlx4_config_vxlan_port() local
[all …]