Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/ice/ice_adminq_cmd.h
/* SPDX-License-Identifier: BSD-3-Clause */ | /* SPDX-License-Identifier: BSD-3-Clause */ | ||||
/* Copyright (c) 2022, Intel Corporation | /* Copyright (c) 2023, Intel Corporation | ||||
* All rights reserved. | * All rights reserved. | ||||
* | * | ||||
* Redistribution and use in source and binary forms, with or without | * Redistribution and use in source and binary forms, with or without | ||||
* modification, are permitted provided that the following conditions are met: | * modification, are permitted provided that the following conditions are met: | ||||
* | * | ||||
* 1. Redistributions of source code must retain the above copyright notice, | * 1. Redistributions of source code must retain the above copyright notice, | ||||
* this list of conditions and the following disclaimer. | * this list of conditions and the following disclaimer. | ||||
* | * | ||||
▲ Show 20 Lines • Show All 1,971 Lines • ▼ Show 20 Lines | |||||
/* Get Port Options (indirect, 0x06EA) */ | /* Get Port Options (indirect, 0x06EA) */ | ||||
struct ice_aqc_get_port_options { | struct ice_aqc_get_port_options { | ||||
u8 lport_num; | u8 lport_num; | ||||
u8 lport_num_valid; | u8 lport_num_valid; | ||||
#define ICE_AQC_PORT_OPT_PORT_NUM_VALID BIT(0) | #define ICE_AQC_PORT_OPT_PORT_NUM_VALID BIT(0) | ||||
u8 port_options_count; | u8 port_options_count; | ||||
#define ICE_AQC_PORT_OPT_COUNT_S 0 | #define ICE_AQC_PORT_OPT_COUNT_S 0 | ||||
#define ICE_AQC_PORT_OPT_COUNT_M (0xF << ICE_AQC_PORT_OPT_COUNT_S) | #define ICE_AQC_PORT_OPT_COUNT_M (0xF << ICE_AQC_PORT_OPT_COUNT_S) | ||||
#define ICE_AQC_PORT_OPT_MAX 16 | |||||
u8 innermost_phy_index; | u8 innermost_phy_index; | ||||
u8 port_options; | u8 port_options; | ||||
#define ICE_AQC_PORT_OPT_ACTIVE_S 0 | #define ICE_AQC_PORT_OPT_ACTIVE_S 0 | ||||
#define ICE_AQC_PORT_OPT_ACTIVE_M (0xF << ICE_AQC_PORT_OPT_ACTIVE_S) | #define ICE_AQC_PORT_OPT_ACTIVE_M (0xF << ICE_AQC_PORT_OPT_ACTIVE_S) | ||||
#define ICE_AQC_PORT_OPT_FORCED BIT(6) | #define ICE_AQC_PORT_OPT_FORCED BIT(6) | ||||
#define ICE_AQC_PORT_OPT_VALID BIT(7) | #define ICE_AQC_PORT_OPT_VALID BIT(7) | ||||
u8 pending_port_option_status; | u8 pending_port_option_status; | ||||
#define ICE_AQC_PENDING_PORT_OPT_IDX_S 0 | #define ICE_AQC_PENDING_PORT_OPT_IDX_S 0 | ||||
▲ Show 20 Lines • Show All 1,352 Lines • Show Last 20 Lines |