main.c (57904291176fa16a981cefca5cbe1a0b50196792) | main.c (4ce59074d53ca12dfefd7221149401d426b31994) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB 2/* 3 * Copyright (c) 2013-2020, Mellanox Technologies inc. All rights reserved. 4 * Copyright (c) 2020, Intel Corporation. All rights reserved. 5 */ 6 7#include <linux/debugfs.h> 8#include <linux/highmem.h> --- 430 unchanged lines hidden (view full) --- 439 case MLX5E_PROT_MASK(MLX5E_200GAUI_4_200GBASE_CR4_KR4): 440 *active_width = IB_WIDTH_4X; 441 *active_speed = IB_SPEED_HDR; 442 break; 443 case MLX5E_PROT_MASK(MLX5E_200GAUI_2_200GBASE_CR2_KR2): 444 *active_width = IB_WIDTH_2X; 445 *active_speed = IB_SPEED_NDR; 446 break; | 1// SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB 2/* 3 * Copyright (c) 2013-2020, Mellanox Technologies inc. All rights reserved. 4 * Copyright (c) 2020, Intel Corporation. All rights reserved. 5 */ 6 7#include <linux/debugfs.h> 8#include <linux/highmem.h> --- 430 unchanged lines hidden (view full) --- 439 case MLX5E_PROT_MASK(MLX5E_200GAUI_4_200GBASE_CR4_KR4): 440 *active_width = IB_WIDTH_4X; 441 *active_speed = IB_SPEED_HDR; 442 break; 443 case MLX5E_PROT_MASK(MLX5E_200GAUI_2_200GBASE_CR2_KR2): 444 *active_width = IB_WIDTH_2X; 445 *active_speed = IB_SPEED_NDR; 446 break; |
447 case MLX5E_PROT_MASK(MLX5E_400GAUI_8): | 447 case MLX5E_PROT_MASK(MLX5E_400GAUI_8_400GBASE_CR8): |
448 *active_width = IB_WIDTH_8X; 449 *active_speed = IB_SPEED_HDR; 450 break; 451 case MLX5E_PROT_MASK(MLX5E_400GAUI_4_400GBASE_CR4_KR4): 452 *active_width = IB_WIDTH_4X; 453 *active_speed = IB_SPEED_NDR; 454 break; 455 default: --- 4061 unchanged lines hidden --- | 448 *active_width = IB_WIDTH_8X; 449 *active_speed = IB_SPEED_HDR; 450 break; 451 case MLX5E_PROT_MASK(MLX5E_400GAUI_4_400GBASE_CR4_KR4): 452 *active_width = IB_WIDTH_4X; 453 *active_speed = IB_SPEED_NDR; 454 break; 455 default: --- 4061 unchanged lines hidden --- |