fec_type
enum ice_fec_stats_types fec_type, u32 *output)
reg_offset = fec_reg[pcs_port][fec_type];
enum ice_fec_stats_types fec_type, u32 *output);
void ionic_dev_cmd_port_fec(struct ionic_dev *idev, u8 fec_type)
.port_setattr.fec_type = fec_type,
void ionic_dev_cmd_port_fec(struct ionic_dev *idev, u8 fec_type);
if (idev->port_info->config.fec_type == IONIC_PORT_FEC_TYPE_FC)
else if (idev->port_info->config.fec_type == IONIC_PORT_FEC_TYPE_RS)
switch (lif->ionic->idev.port_info->config.fec_type) {
u8 fec_type;
fec_type = IONIC_PORT_FEC_TYPE_NONE;
fec_type = IONIC_PORT_FEC_TYPE_NONE;
fec_type = IONIC_PORT_FEC_TYPE_RS;
fec_type = IONIC_PORT_FEC_TYPE_FC;
if (fec_type != lif->ionic->idev.port_info->config.fec_type) {
ionic_dev_cmd_port_fec(&lif->ionic->idev, fec_type);
u8 fec_type;
u8 fec_type;
u8 fec_type;
u8 fec_type;
u8 fec_type[4];