src/dpdk/drivers/net/ice/base/ice_vlan_mode.c
static enum ice_status
ice_aq_get_vlan_mode(struct ice_hw *hw,
		     struct ice_aqc_get_vlan_mode *get_params)
{
	struct ice_aq_desc desc;

	if (!get_params)
		return ICE_ERR_PARAM;

	ice_fill_dflt_direct_cmd_desc(&desc,
				      ice_aqc_opc_get_vlan_mode_parameters);

	return ice_aq_send_cmd(hw, &desc, get_params, sizeof(*get_params),
			       NULL);
}
/**
 * ice_aq_get_vlan_mode - get the VLAN mode of the device
 * @hw: pointer to the HW structure
 * @get_params: structure FW fills in based on the current VLAN mode config
 *
 * Get VLAN Mode Parameters (0x020D)
 */
get the VLAN mode of the device
@hw: pointer to the HW structure
@get_params: structure FW fills in based on the current VLAN mode config

Get VLAN Mode Parameters (0x020D)
get the VLAN mode of the device @hw : pointer to the HW structure @get_params : structure FW fills in based on the current VLAN mode config Get VLAN Mode Parameters ( 0x020D )
static enum ice_status
ice_aq_get_vlan_mode(struct ice_hw *hw,
		     struct ice_aqc_get_vlan_mode *get_params)
{
	struct ice_aq_desc desc;
	if (!get_params)
		return ICE_ERR_PARAM;
	ice_fill_dflt_direct_cmd_desc(&desc,
				      ice_aqc_opc_get_vlan_mode_parameters);
	return ice_aq_send_cmd(hw, &desc, get_params, sizeof(*get_params),
			       NULL);
}
static enum ice_status ice_aq_get_vlan_mode ( struct ice_hw * hw , struct ice_aqc_get_vlan_mode * get_params ) { struct ice_aq_desc desc ; if ( ! get_params ) return ICE_ERR_PARAM ; ice_fill_dflt_direct_cmd_desc ( & desc , ice_aqc_opc_get_vlan_mode_parameters ) ; return ice_aq_send_cmd ( hw , & desc , get_params , sizeof ( * get_params ) , NULL ) ; }
ice_aq_get_vlan_mode - get the VLAN mode of the device
 @hw: pointer to the HW structure
 @get_params: structure FW fills in based on the current VLAN mode config
ice_aq_get_vlan_mode - get the VLAN mode of the device @hw : pointer to the HW structure @get_params : structure FW fills in based on the current VLAN mode config