ERROR: Remove Gerrit Change-Id's before submitting upstream #17: Change-Id: Idf1ed1e5c540a5285cc709426e27d464da0396da WARNING: line length of 82 exceeds 80 columns #80: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_core.h:25: +#define NBL_ADAPTER_TO_RES_OPS_TBL(adapter) ((adapter)->intf.resource_ops_tbl) WARNING: line length of 97 exceeds 80 columns #83: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_core.h:28: +#define NBL_ADAPTER_TO_RES_PT_OPS(adapter) (&(NBL_ADAPTER_TO_SERV_OPS_TBL(adapter)->pt_ops)) WARNING: line length of 96 exceeds 80 columns #253: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_adminq.h:40: +#define SFF_8472_DIAGNOSTIC 0x5C /* digital diagnostic monitoring, relates to A2 */ WARNING: line length of 86 exceeds 80 columns #254: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_adminq.h:41: +#define SFF_8472_COMPLIANCE 0x5E /* the specification revision version */ WARNING: line length of 91 exceeds 80 columns #256: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_adminq.h:43: +#define SFF_8472_VENDOR_NAME_LEN 16 /* 16 bytes, from offset 0x14 to offset 0x23 */ WARNING: line length of 84 exceeds 80 columns #259: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_adminq.h:46: +#define SFF_8472_VENDOR_OUI 0x25 /* name and oui cannot all be empty */ WARNING: line length of 92 exceeds 80 columns #316: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_adminq.h:103: + (((_s) >> 8) & 0xF) * 100 + (((_s) >> 12) & 0xF) * 1000); }) WARNING: line length of 86 exceeds 80 columns #319: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_adminq.h:106: +#define NBL_VSI_PF_LEGAL_QUEUE_NUM(num) ((num) + NBL_DEFAULT_REP_HW_QUEUE_NUM) WARNING: line length of 92 exceeds 80 columns #320: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_adminq.h:107: +#define NBL_VSI_PF_MAX_QUEUE_NUM(num) (((num) * 2) + NBL_DEFAULT_REP_HW_QUEUE_NUM) WARNING: line length of 87 exceeds 80 columns #388: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_adminq.h:175: +#define NBL_PORT_KEY_LOOPBACK 0x5 /* 0: disable eth loopback, 1: enable eth loopback */ WARNING: line length of 93 exceeds 80 columns #443: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis.c:120: + nbl_hw_read_regs(hw_mgt, NBL_PCIE_HOST_K_PF_FID(func_id), (u8 *)&data, sizeof(data)); WARNING: line length of 88 exceeds 80 columns #467: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis.c:144: + val = nbl_hw_rd32(hw_mgt, NBL_LB_PF_CONFIGSPACE_BASE_ADDR + PCI_BASE_ADDRESS_0); WARNING: line length of 92 exceeds 80 columns #470: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis.c:147: + val = nbl_hw_rd32(hw_mgt, NBL_LB_PF_CONFIGSPACE_BASE_ADDR + PCI_BASE_ADDRESS_0 + 4); WARNING: line length of 88 exceeds 80 columns #518: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis.c:295: + nbl_hw_write_mbx_regs(hw_mgt, NBL_FW_HEARTBEAT_PING, (u8 *)&ping, sizeof(ping)); WARNING: line length of 83 exceeds 80 columns #526: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis.c:303: + nbl_hw_read_regs(hw_mgt, NBL_FW_HEARTBEAT_PONG, (u8 *)&pong, sizeof(pong)); WARNING: line length of 84 exceeds 80 columns #535: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis.c:312: + nbl_hw_write_regs(hw_mgt, NBL_FW_HEARTBEAT_PONG, (u8 *)&pong, sizeof(pong)); WARNING: line length of 91 exceeds 80 columns #538: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis.c:315: +static int nbl_hw_process_abnormal_queue(struct nbl_hw_mgt *hw_mgt, u16 queue_id, int type, WARNING: line length of 86 exceeds 80 columns #543: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis.c:320: + u32 qinfo_id = type == NBL_ABNORMAL_EVENT_DVN ? NBL_PAIR_ID_GET_TX(queue_id) : WARNING: line length of 85 exceeds 80 columns #544: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis.c:321: + NBL_PAIR_ID_GET_RX(queue_id); WARNING: line length of 98 exceeds 80 columns #565: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis.c:342: +static int nbl_hw_process_abnormal_event(void *priv, struct nbl_abnormal_event_info *abnomal_info) WARNING: line length of 85 exceeds 80 columns #579: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis.c:356: + nbl_hw_read_regs(hw_mgt, NBL_DVN_INT_STATUS, (u8 *)&int_status, sizeof(u32)); WARNING: line length of 91 exceeds 80 columns #591: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis.c:368: + int_status, desc_dif_err_cnt, desc_dif_err_info.queue_id); WARNING: line length of 89 exceeds 80 columns #593: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis.c:370: + nbl_hw_process_abnormal_queue(hw_mgt, desc_dif_err_info.queue_id, WARNING: line length of 86 exceeds 80 columns #594: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis.c:371: + NBL_ABNORMAL_EVENT_DVN, detail); WARNING: line length of 89 exceeds 80 columns #606: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis.c:383: + int_status, pkt_dif_err_cnt, pkt_dif_err_info.queue_id); WARNING: line length of 85 exceeds 80 columns #617: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis.c:394: + (u8 *)&err_queue_id_get, sizeof(err_queue_id_get)); WARNING: line length of 85 exceeds 80 columns #621: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis.c:398: + nbl_hw_read_regs(hw_mgt, NBL_UVN_INT_STATUS, (u8 *)&int_status, sizeof(u32)); WARNING: line length of 91 exceeds 80 columns #628: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis.c:405: + (u8 *)&queue_err_info, sizeof(struct uvn_queue_err_info)); WARNING: line length of 86 exceeds 80 columns #634: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis.c:411: + nbl_hw_process_abnormal_queue(hw_mgt, queue_err_info.queue_id, WARNING: line length of 86 exceeds 80 columns #635: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis.c:412: + NBL_ABNORMAL_EVENT_UVN, detail); WARNING: line length of 86 exceeds 80 columns #646: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis.c:423: + nbl_hw_read_regs(hw_mgt, NBL_DSCH_INT_STATUS, (u8 *)&int_status, sizeof(u32)); WARNING: line length of 94 exceeds 80 columns #647: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis.c:424: + nbl_hw_read_regs(hw_mgt, NBL_DSCH_RDMA_OTHER_ABN, (u8 *)&rdma_other_abn, sizeof(u32)); WARNING: line length of 92 exceeds 80 columns #661: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis.c:438: + nbl_hw_read_regs(hw_mgt, NBL_PCOMPLETER_INT_STATUS, (u8 *)&int_status, sizeof(u32)); WARNING: line length of 85 exceeds 80 columns #678: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis.c:455: +static void nbl_hw_get_board_info(void *priv, struct nbl_board_port_info *board_info) WARNING: line length of 87 exceeds 80 columns #683: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis.c:460: + nbl_hw_read_mbx_regs(hw_mgt, NBL_FW_BOARD_DW3_OFFSET, (u8 *)&dw3, sizeof(dw3)); WARNING: line length of 87 exceeds 80 columns #694: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis.c:471: + nbl_hw_read_mbx_regs(hw_mgt, NBL_FW_BOARD_DW3_OFFSET, (u8 *)&dw3, sizeof(dw3)); WARNING: line length of 87 exceeds 80 columns #703: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_hw_leonis.c:480: + nbl_hw_read_mbx_regs(hw_mgt, NBL_FW_BOARD_DW6_OFFSET, (u8 *)&dw6, sizeof(dw6)); WARNING: line length of 96 exceeds 80 columns #750: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:8: +static int nbl_res_get_queue_num(void *priv, u16 func_id, u16 *tx_queue_num, u16 *rx_queue_num); WARNING: line length of 91 exceeds 80 columns #767: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:25: +static u32 nbl_res_get_pfvf_queue_num(struct nbl_resource_mgt *res_mgt, int pfid, int vfid) WARNING: line length of 94 exceeds 80 columns #788: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:46: + "Invalid queue num %u for func %d, use default", queue_num, func_id); WARNING: line length of 98 exceeds 80 columns #789: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:47: + queue_num = vfid >= 0 ? NBL_DEFAULT_VF_HW_QUEUE_NUM : NBL_DEFAULT_PF_HW_QUEUE_NUM; WARNING: line length of 83 exceeds 80 columns #795: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:53: +static void nbl_res_get_rep_queue_info(void *priv, u16 *queue_num, u16 *queue_size) WARNING: line length of 96 exceeds 80 columns #801: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:59: +static void nbl_res_get_user_queue_info(void *priv, u16 *queue_num, u16 *queue_size, u16 vsi_id) WARNING: line length of 96 exceeds 80 columns #814: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:72: + *queue_num = min_t(u16, default_queue, NBL_VSI_PF_LEGACY_QUEUE_NUM_MAX - default_queue); WARNING: line length of 100 exceeds 80 columns #819: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:77: + "Invalid user queue num %d for func %d, use default", *queue_num, func_id); WARNING: line length of 95 exceeds 80 columns #824: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:82: +static int nbl_res_get_queue_num(void *priv, u16 func_id, u16 *tx_queue_num, u16 *rx_queue_num) WARNING: line length of 95 exceeds 80 columns #838: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:96: + u16 func_id, struct nbl_register_net_param *register_param) WARNING: line length of 89 exceeds 80 columns #842: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:100: + struct nbl_sriov_info *sriov_info = &NBL_RES_MGT_TO_SRIOV_INFO(res_mgt)[func_id]; WARNING: line length of 97 exceeds 80 columns #852: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:110: + pf_bar_start = hw_ops->get_pf_bar_addr(NBL_RES_MGT_TO_HW_PRIV(res_mgt), func_id); WARNING: line length of 91 exceeds 80 columns #854: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:112: + dev_info(dev, "sriov_info, pf_bar_start:%llx\n", sriov_info->pf_bar_start); WARNING: line length of 97 exceeds 80 columns #866: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:124: + vf_bar_start = hw_ops->get_vf_bar_addr(NBL_RES_MGT_TO_HW_PRIV(res_mgt), func_id); WARNING: line length of 95 exceeds 80 columns #871: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:129: + PCI_BUS_NUM(pf_bdf), PCI_SLOT(pf_bdf & 0xff), PCI_FUNC(pf_bdf & 0xff), WARNING: line length of 94 exceeds 80 columns #881: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:139: + u16 func_id, struct nbl_register_net_param *register_param) WARNING: line length of 89 exceeds 80 columns #884: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:142: + struct nbl_sriov_info *sriov_info = &NBL_RES_MGT_TO_SRIOV_INFO(res_mgt)[func_id]; WARNING: line length of 83 exceeds 80 columns #910: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:168: + bus = pf_bus + ((pf_devfn + offset + stride * vf_id) >> 8); WARNING: line length of 82 exceeds 80 columns #915: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:173: + hw_ops->cfg_mailbox_qinfo(NBL_RES_MGT_TO_HW_PRIV(res_mgt), WARNING: line length of 85 exceeds 80 columns #916: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:174: + vf_func_id, bus, devid, function); WARNING: line length of 86 exceeds 80 columns #923: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:181: +static int nbl_res_update_active_vf_num(struct nbl_resource_mgt *res_mgt, u16 func_id, WARNING: line length of 90 exceeds 80 columns #981: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:239: + nbl_res_get_eth_mac(res_mgt, mac, nbl_res_pf_to_eth_id(res_mgt, func_id)); WARNING: line length of 98 exceeds 80 columns #1072: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:330: +static void nbl_res_get_eth_id(void *priv, u16 vsi_id, u8 *eth_mode, u8 *eth_id, u8 *logic_eth_id) WARNING: line length of 88 exceeds 80 columns #1104: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:362: +static void nbl_res_get_real_bdf(void *priv, u16 vsi_id, u8 *bus, u8 *dev, u8 *function) WARNING: line length of 99 exceeds 80 columns #1112: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:370: +static int nbl_res_process_abnormal_event(void *priv, struct nbl_abnormal_event_info *abnomal_info) WARNING: line length of 93 exceeds 80 columns #1117: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:375: + return hw_ops->process_abnormal_event(NBL_RES_MGT_TO_HW_PRIV(res_mgt), abnomal_info); WARNING: line length of 86 exceeds 80 columns #1120: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:378: +static void nbl_res_get_board_info(void *priv, struct nbl_board_port_info *board_info) WARNING: line length of 85 exceeds 80 columns #1124: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:382: + memcpy(board_info, &res_mgt->resource_info->board_info, sizeof(*board_info)); WARNING: line length of 85 exceeds 80 columns #1132: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:390: + vsi_id = nbl_res_func_id_to_vsi_id(priv, func_id, NBL_VSI_SERV_VF_DATA_TYPE); WARNING: line length of 86 exceeds 80 columns #1143: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:401: + return nbl_res_func_id_to_vsi_id(res_mgt, func_id, NBL_VSI_SERV_VF_DATA_TYPE); WARNING: line length of 85 exceeds 80 columns #1158: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:416: + struct nbl_ustore_stats *ustore_stats = NBL_RES_MGT_TO_USTORE_STATS(res_mgt); WARNING: line length of 82 exceeds 80 columns #1165: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:423: + hw_ops->get_ustore_pkt_drop_stats(NBL_RES_MGT_TO_HW_PRIV(res_mgt), WARNING: line length of 90 exceeds 80 columns #1167: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:425: + ustore_stats[eth_id].rx_drop_packets += ustore_stats_temp.rx_drop_packets; WARNING: line length of 90 exceeds 80 columns #1168: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:426: + ustore_stats[eth_id].rx_trun_packets += ustore_stats_temp.rx_trun_packets; WARNING: line length of 93 exceeds 80 columns #1175: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:433: + struct nbl_ustore_stats *nbl_ustore_stats) WARNING: line length of 85 exceeds 80 columns #1178: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:436: + struct nbl_ustore_stats *ustore_stats = NBL_RES_MGT_TO_USTORE_STATS(res_mgt); WARNING: line length of 81 exceeds 80 columns #1180: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:438: + nbl_ustore_stats->rx_drop_packets = ustore_stats[eth_id].rx_drop_packets; WARNING: line length of 81 exceeds 80 columns #1181: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:439: + nbl_ustore_stats->rx_trun_packets = ustore_stats[eth_id].rx_trun_packets; WARNING: line length of 83 exceeds 80 columns #1196: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:454: + struct nbl_resource_info *resource_info = NBL_RES_MGT_TO_RES_INFO(res_mgt); WARNING: line length of 83 exceeds 80 columns #1209: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:467: + struct nbl_resource_info *resource_info = NBL_RES_MGT_TO_RES_INFO(res_mgt); WARNING: line length of 96 exceeds 80 columns #1217: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:475: + name_len = snprintf(name, IFNAMSIZ, "%sv%d", resource_info->pf_name_list[pf_id], vf_id); WARNING: line length of 86 exceeds 80 columns #1220: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:478: + "vsi:%u-pf%uvf%u get name over length", vsi_id, pf_id, vf_id); WARNING: line length of 83 exceeds 80 columns #1223: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:481: + "vsi:%u-pf%uvf%u get a pf_name->%s", vsi_id, pf_id, vf_id, name); WARNING: line length of 83 exceeds 80 columns #1246: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:504: + .get_ustore_total_pkt_drop_stats = nbl_res_get_ustore_total_pkt_drop_stats, WARNING: line length of 81 exceeds 80 columns #1261: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:519: + struct nbl_resource_mgt_leonis **res_mgt_leonis) WARNING: line length of 96 exceeds 80 columns #1267: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:525: + *res_mgt_leonis = devm_kzalloc(dev, sizeof(struct nbl_resource_mgt_leonis), GFP_KERNEL); WARNING: line length of 88 exceeds 80 columns #1272: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:530: + resource_info = devm_kzalloc(dev, sizeof(struct nbl_resource_info), GFP_KERNEL); WARNING: line length of 83 exceeds 80 columns #1281: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:539: + struct nbl_resource_mgt_leonis **res_mgt_leonis) WARNING: line length of 93 exceeds 80 columns #1291: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:549: +static void nbl_res_remove_ops(struct device *dev, struct nbl_resource_ops_tbl **res_ops_tbl) WARNING: line length of 91 exceeds 80 columns #1297: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:555: +static int nbl_res_setup_ops(struct device *dev, struct nbl_resource_ops_tbl **res_ops_tbl, WARNING: line length of 90 exceeds 80 columns #1300: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:558: + *res_ops_tbl = devm_kzalloc(dev, sizeof(struct nbl_resource_ops_tbl), GFP_KERNEL); WARNING: line length of 88 exceeds 80 columns #1325: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:583: + eth_info->eth_num = (u8)hw_ops->get_fw_eth_num(NBL_RES_MGT_TO_HW_PRIV(res_mgt)); WARNING: line length of 91 exceeds 80 columns #1384: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:642: + common->hw_bus = (u8)hw_ops->get_real_bus(NBL_RES_MGT_TO_HW_PRIV(res_mgt)); WARNING: line length of 91 exceeds 80 columns #1387: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:645: + vf_fid = hw_ops->get_host_pf_fid(NBL_RES_MGT_TO_HW_PRIV(res_mgt), func_id); WARNING: line length of 81 exceeds 80 columns #1401: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:659: + struct nbl_sriov_info **sriov_info = &NBL_RES_MGT_TO_SRIOV_INFO(res_mgt); WARNING: line length of 92 exceeds 80 columns #1468: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:726: + vsi_info->serv_info[i][NBL_VSI_SERV_VF_DATA_TYPE].num = sriov_info->num_vfs; WARNING: line length of 83 exceeds 80 columns #1495: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:753: + struct nbl_resource_info *resource_info = NBL_RES_MGT_TO_RES_INFO(res_mgt); WARNING: line length of 83 exceeds 80 columns #1496: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:754: + struct nbl_net_ring_num_info *num_info = &resource_info->net_ring_num_info; WARNING: line length of 81 exceeds 80 columns #1511: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:769: + sizeof(struct nbl_ustore_stats), GFP_KERNEL); WARNING: line length of 82 exceeds 80 columns #1520: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:778: +static void nbl_res_ctrl_dev_ustore_stats_remove(struct nbl_resource_mgt *res_mgt) WARNING: line length of 87 exceeds 80 columns #1522: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:780: + struct nbl_ustore_stats **ustore_stats = &NBL_RES_MGT_TO_USTORE_STATS(res_mgt); WARNING: line length of 82 exceeds 80 columns #1543: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:801: + hw_ops->set_fw_pong(NBL_RES_MGT_TO_HW_PRIV(res_mgt), seconds_current - 1); WARNING: line length of 87 exceeds 80 columns #1550: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:808: + fw_pong_current = hw_ops->get_fw_pong(NBL_RES_MGT_TO_HW_PRIV(res_mgt)); WARNING: line length of 95 exceeds 80 columns #1554: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:812: + fw_pong_current = hw_ops->get_fw_pong(NBL_RES_MGT_TO_HW_PRIV(res_mgt)); WARNING: line length of 90 exceeds 80 columns #1673: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:931: + nbl_res_set_fix_capability(res_mgt, NBL_RECOVERY_ABNORMAL_STATUS); WARNING: line length of 93 exceeds 80 columns #1696: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:954: + res_mgt_leonis = (struct nbl_resource_mgt_leonis **)&NBL_ADAPTER_TO_RES_MGT(adapter); WARNING: line length of 86 exceeds 80 columns #1739: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_hw_leonis/nbl_resource_leonis.c:997: + res_mgt = (struct nbl_resource_mgt_leonis **)&NBL_ADAPTER_TO_RES_MGT(adapter); WARNING: line length of 91 exceeds 80 columns #1787: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.c:17: + diff = nbl_common_pf_id_subtraction_mgtpf_id(NBL_RES_MGT_TO_COMMON(res_mgt), pfid); WARNING: line length of 91 exceeds 80 columns #1793: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.c:23: + vsi_id = vsi_info->serv_info[0][NBL_VSI_SERV_PF_EXTRA_TYPE].base_id WARNING: line length of 93 exceeds 80 columns #1797: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.c:27: + vsi_id = vsi_info->serv_info[diff][NBL_VSI_SERV_VF_DATA_TYPE].base_id + vfid; WARNING: line length of 92 exceeds 80 columns #1801: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.c:31: + pr_err("convert pfid-vfid %d-%d to vsi_id(%d) failed!\n", pfid, vfid, type); WARNING: line length of 85 exceeds 80 columns #1841: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.c:71: + if (j >= NBL_VSI_SERV_PF_DATA_TYPE && j <= NBL_VSI_SERV_PF_USER_TYPE) WARNING: line length of 95 exceeds 80 columns #1847: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.c:77: + + (vsi_id - vsi_info->serv_info[i][NBL_VSI_SERV_VF_DATA_TYPE].base_id); WARNING: line length of 96 exceeds 80 columns #1851: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.c:81: + + (vsi_id - vsi_info->serv_info[i][NBL_VSI_SERV_PF_EXTRA_TYPE].base_id); WARNING: line length of 85 exceeds 80 columns #1885: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.c:115: + if (j >= NBL_VSI_SERV_PF_DATA_TYPE && j <= NBL_VSI_SERV_VF_DATA_TYPE) WARNING: line length of 96 exceeds 80 columns #1890: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.c:120: + + (vsi_id - vsi_info->serv_info[i][NBL_VSI_SERV_PF_EXTRA_TYPE].base_id); WARNING: line length of 87 exceeds 80 columns #1910: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.c:140: + for (pf_id_tmp = 0; pf_id_tmp < NBL_RES_MGT_TO_PF_NUM(res_mgt); pf_id_tmp++) { WARNING: line length of 83 exceeds 80 columns #1914: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.c:144: + func_id < sriov_info->start_vf_func_id + sriov_info->num_vfs) { WARNING: line length of 99 exceeds 80 columns #1943: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.c:173: + *bus = pf_bus + ((pf_devfn + sriov_info->offset + sriov_info->stride * vfid) >> 8); WARNING: line length of 91 exceeds 80 columns #1944: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.c:174: + devfn = (pf_devfn + sriov_info->offset + sriov_info->stride * vfid) & 0xff; WARNING: line length of 85 exceeds 80 columns #1996: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.c:226: + base_addr = sriov_info->vf_bar_start + sriov_info->vf_bar_len * vfid; WARNING: line length of 82 exceeds 80 columns #2009: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.c:239: + return eth_info->eth_id[nbl_res_vsi_id_to_pf_id(res_mgt, vsi_id)]; WARNING: line length of 98 exceeds 80 columns #2031: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.c:261: +int nbl_res_func_id_to_pfvfid(struct nbl_resource_mgt *res_mgt, u16 func_id, int *pfid, int *vfid) WARNING: line length of 83 exceeds 80 columns #2036: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.c:266: + return res_mgt->common_ops.func_id_to_pfvfid(res_mgt, func_id, pfid, vfid); WARNING: line length of 83 exceeds 80 columns #2039: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.c:269: +u16 nbl_res_pfvfid_to_func_id(struct nbl_resource_mgt *res_mgt, int pfid, int vfid) WARNING: line length of 92 exceeds 80 columns #2047: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.c:277: +u16 nbl_res_pfvfid_to_vsi_id(struct nbl_resource_mgt *res_mgt, int pfid, int vfid, u16 type) WARNING: line length of 82 exceeds 80 columns #2055: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.c:285: +int nbl_res_func_id_to_bdf(struct nbl_resource_mgt *res_mgt, u16 func_id, u8 *bus, WARNING: line length of 88 exceeds 80 columns #2061: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.c:291: + return res_mgt->common_ops.func_id_to_bdf(res_mgt, func_id, bus, dev, function); WARNING: line length of 86 exceeds 80 columns #2080: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.c:310: +u16 nbl_res_func_id_to_vsi_id(struct nbl_resource_mgt *res_mgt, u16 func_id, u16 type) WARNING: line length of 81 exceeds 80 columns #2088: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.c:318: +u64 nbl_res_get_func_bar_base_addr(struct nbl_resource_mgt *res_mgt, u16 func_id) WARNING: line length of 97 exceeds 80 columns #2119: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.c:349: +void nbl_res_set_fix_capability(struct nbl_resource_mgt *res_mgt, enum nbl_fix_cap_type cap_type) WARNING: line length of 91 exceeds 80 columns #2124: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.c:354: +void nbl_res_pf_dev_vsi_type_to_hw_vsi_type(u16 src_type, enum nbl_vsi_serv_type *dst_type) WARNING: line length of 97 exceeds 80 columns #2184: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.h:15: +#define NBL_RES_MGT_TO_DEV(res_mgt) NBL_COMMON_TO_DEV(NBL_RES_MGT_TO_COMMON(res_mgt)) WARNING: line length of 94 exceeds 80 columns #2196: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.h:27: +#define NBL_RES_MGT_TO_SRIOV_INFO(res_mgt) (NBL_RES_MGT_TO_RES_INFO(res_mgt)->sriov_info) WARNING: line length of 92 exceeds 80 columns #2197: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.h:28: +#define NBL_RES_MGT_TO_ETH_INFO(res_mgt) (NBL_RES_MGT_TO_RES_INFO(res_mgt)->eth_info) WARNING: line length of 92 exceeds 80 columns #2198: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.h:29: +#define NBL_RES_MGT_TO_VSI_INFO(res_mgt) (NBL_RES_MGT_TO_RES_INFO(res_mgt)->vsi_info) WARNING: line length of 90 exceeds 80 columns #2199: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.h:30: +#define NBL_RES_MGT_TO_PF_NUM(res_mgt) (NBL_RES_MGT_TO_RES_INFO(res_mgt)->max_pf) WARNING: line length of 96 exceeds 80 columns #2200: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.h:31: +#define NBL_RES_MGT_TO_USTORE_STATS(res_mgt) (NBL_RES_MGT_TO_RES_INFO(res_mgt)->ustore_stats) WARNING: line length of 89 exceeds 80 columns #2203: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.h:34: +#define NBL_RES_MGT_TO_HW_OPS(res_mgt) (NBL_RES_MGT_TO_HW_OPS_TBL(res_mgt)->ops) WARNING: line length of 82 exceeds 80 columns #2204: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.h:35: +#define NBL_RES_MGT_TO_HW_PRIV(res_mgt) (NBL_RES_MGT_TO_HW_OPS_TBL(res_mgt)->priv) WARNING: line length of 91 exceeds 80 columns #2206: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.h:37: +#define NBL_RES_MGT_TO_CHAN_OPS(res_mgt) (NBL_RES_MGT_TO_CHAN_OPS_TBL(res_mgt)->ops) WARNING: line length of 92 exceeds 80 columns #2207: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.h:38: +#define NBL_RES_MGT_TO_CHAN_PRIV(res_mgt) (NBL_RES_MGT_TO_CHAN_OPS_TBL(res_mgt)->priv) WARNING: line length of 90 exceeds 80 columns #2215: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.h:46: +#define NBL_RES_BASE_QID(res_mgt) NBL_RES_MGT_TO_RES_INFO(res_mgt)->base_qid WARNING: line length of 93 exceeds 80 columns #2216: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.h:47: +#define NBL_RES_NOFITY_QID(res_mgt, local_qid) (NBL_RES_BASE_QID(res_mgt) * 2 + (local_qid)) WARNING: line length of 90 exceeds 80 columns #2220: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.h:51: +#define NBL_PKT_HDR_PAD (ETH_HLEN + ETH_FCS_LEN + (VLAN_HLEN * 2)) WARNING: line length of 85 exceeds 80 columns #2250: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.h:81: + u16 curr_qps_static; /* This will not be reset when netdev down */ WARNING: line length of 85 exceeds 80 columns #2661: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.h:492: +#define NBL_FEM_HT_PP2_DEPTH (0) /* 16K, treat as zero */ WARNING: line length of 83 exceeds 80 columns #2709: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.h:540: +#define NBL_MAX_VF (NBL_MAX_FUNC - NBL_MAX_PF) WARNING: line length of 84 exceeds 80 columns #2771: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.h:602: + struct nbl_vsi_serv_info serv_info[NBL_MAX_ETHERNET][NBL_VSI_SERV_MAX_TYPE]; WARNING: line length of 83 exceeds 80 columns #2926: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.h:757: + int (*func_id_to_pfvfid)(void *res_mgt, u16 func_id, int *pfid, int *vfid); WARNING: line length of 90 exceeds 80 columns #2927: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.h:758: + int (*func_id_to_bdf)(void *res_mgt, u16 func_id, u8 *bus, u8 *dev, u8 *function); WARNING: line length of 95 exceeds 80 columns #2933: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.h:764: + int (*get_queue_num)(void *res_mgt, u16 func_id, u16 *tx_queue_num, u16 *rx_queue_num); WARNING: line length of 99 exceeds 80 columns #2939: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.h:770: + int (*setup_qid_map_table)(struct nbl_resource_mgt *res_mgt, u16 func_id, u64 notify_addr); WARNING: line length of 84 exceeds 80 columns #2940: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.h:771: + void (*remove_qid_map_table)(struct nbl_resource_mgt *res_mgt, u16 func_id); WARNING: line length of 94 exceeds 80 columns #2942: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.h:773: + struct nbl_queue_mgt *queue_mgt, struct nbl_hw_ops *hw_ops); WARNING: line length of 93 exceeds 80 columns #2965: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.h:796: + * Every indivisual mgt must have the common mgt as its first member, and contains its unique WARNING: line length of 99 exceeds 80 columns #2975: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.h:806: + int (*out)(struct nbl_resource_mgt *res_mgt, void *in, u16 in_len, void *out, u16 out_len); WARNING: line length of 84 exceeds 80 columns #2980: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.h:811: +u16 nbl_res_pfvfid_to_func_id(struct nbl_resource_mgt *res_mgt, int pfid, int vfid); WARNING: line length of 93 exceeds 80 columns #2981: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.h:812: +u16 nbl_res_pfvfid_to_vsi_id(struct nbl_resource_mgt *res_mgt, int pfid, int vfid, u16 type); WARNING: line length of 87 exceeds 80 columns #2982: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.h:813: +u16 nbl_res_func_id_to_vsi_id(struct nbl_resource_mgt *res_mgt, u16 func_id, u16 type); WARNING: line length of 99 exceeds 80 columns #2983: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.h:814: +int nbl_res_func_id_to_pfvfid(struct nbl_resource_mgt *res_mgt, u16 func_id, int *pfid, int *vfid); WARNING: line length of 82 exceeds 80 columns #2986: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.h:817: +int nbl_res_func_id_to_bdf(struct nbl_resource_mgt *res_mgt, u16 func_id, u8 *bus, WARNING: line length of 82 exceeds 80 columns #2988: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.h:819: +u64 nbl_res_get_func_bar_base_addr(struct nbl_resource_mgt *res_mgt, u16 func_id); WARNING: line length of 98 exceeds 80 columns #2995: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.h:826: +void nbl_res_set_fix_capability(struct nbl_resource_mgt *res_mgt, enum nbl_fix_cap_type cap_type); WARNING: line length of 92 exceeds 80 columns #2999: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_hw/nbl_resource.h:830: +void nbl_res_pf_dev_vsi_type_to_hw_vsi_type(u16 src_type, enum nbl_vsi_serv_type *dst_type); WARNING: line length of 95 exceeds 80 columns #3024: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_def_common.h:222: + (_m == NBL_TWO_ETHERNET_PORT ? NBL_TWO_ETHERNET_VSI_ID_GAP : NBL_DEFAULT_VSI_ID_GAP); \ WARNING: line length of 96 exceeds 80 columns #3061: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_def_hw.h:43: + int (*process_abnormal_event)(void *priv, struct nbl_abnormal_event_info *abnomal_info); WARNING: line length of 82 exceeds 80 columns #3094: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_def_resource.h:16: + netdev_tx_t (*start_xmit)(struct sk_buff *skb, struct net_device *netdev); WARNING: line length of 84 exceeds 80 columns #3101: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_def_resource.h:23: + void (*get_resource_pt_ops)(void *priv, struct nbl_resource_pt_ops *pt_ops); WARNING: line length of 97 exceeds 80 columns #3105: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_def_resource.h:27: + int (*configure_msix_map)(void *priv, u16 func_id, u16 num_net_msix, u16 num_others_msix, WARNING: line length of 92 exceeds 80 columns #3108: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_def_resource.h:30: + int (*enable_mailbox_irq)(void *priv, u16 func_id, u16 vector_id, bool enable_msix); WARNING: line length of 96 exceeds 80 columns #3117: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_def_resource.h:39: + int (*alloc_rings)(void *priv, struct net_device *netdev, struct nbl_ring_param *param); WARNING: line length of 92 exceeds 80 columns #3128: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_def_resource.h:50: + void (*register_vsi_ring)(void *priv, u16 vsi_index, u16 ring_offset, u16 ring_num); WARNING: line length of 87 exceeds 80 columns #3141: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_def_resource.h:63: + int (*setup_queue)(void *priv, struct nbl_txrx_queue_param *param, bool is_tx); WARNING: line length of 83 exceeds 80 columns #3144: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_def_resource.h:66: + int (*setup_cqs)(void *priv, u16 vsi_id, u16 real_qps, bool rss_indir_set); WARNING: line length of 89 exceeds 80 columns #3151: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_def_resource.h:73: + u8* (*get_msix_irq_enable_info)(void *priv, u16 global_vector_id, u32 *irq_data); WARNING: line length of 95 exceeds 80 columns #3170: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_def_resource.h:92: + void (*get_eth_id)(void *priv, u16 vsi_id, u8 *eth_mode, u8 *eth_id, u8 *logic_eth_id); WARNING: line length of 93 exceeds 80 columns #3175: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_def_resource.h:97: + void (*get_user_queue_info)(void *priv, u16 *queue_num, u16 *queue_size, u16 vsi_id); WARNING: line length of 87 exceeds 80 columns #3180: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_def_resource.h:102: + void (*get_private_stat_data)(void *priv, u32 eth_id, u64 *data, u32 data_len); WARNING: line length of 82 exceeds 80 columns #3181: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_def_resource.h:103: + void (*get_rxfh_indir_size)(void *priv, u16 vsi_id, u32 *rxfh_indir_size); WARNING: line length of 88 exceeds 80 columns #3182: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_def_resource.h:104: + int (*set_rxfh_indir)(void *priv, u16 vsi_id, const u32 *indir, u32 indir_size); WARNING: line length of 86 exceeds 80 columns #3183: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_def_resource.h:105: + void (*cfg_txrx_vlan)(void *priv, u16 vlan_tci, u16 vlan_proto, u8 vsi_index); WARNING: line length of 85 exceeds 80 columns #3187: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_def_resource.h:109: + void (*get_real_bdf)(void *priv, u16 vsi_id, u8 *bus, u8 *dev, u8 *function); WARNING: line length of 85 exceeds 80 columns #3192: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_def_resource.h:114: + int (*set_ring_num)(void *priv, struct nbl_fw_cmd_net_ring_num_param *param); WARNING: line length of 94 exceeds 80 columns #3198: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_def_resource.h:120: + int (*get_link_state)(void *priv, u8 eth_id, struct nbl_eth_link_info *eth_link_info); WARNING: line length of 96 exceeds 80 columns #3200: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_def_resource.h:122: + int (*process_abnormal_event)(void *priv, struct nbl_abnormal_event_info *abnomal_info); WARNING: line length of 86 exceeds 80 columns #3218: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_def_resource.h:140: + struct nbl_ustore_stats *ustore_stats); WARNING: line length of 89 exceeds 80 columns #3223: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_def_resource.h:145: + int (*passthrough_fw_cmd)(void *priv, struct nbl_passthrough_fw_cmd_param *param, WARNING: line length of 82 exceeds 80 columns #3229: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_def_resource.h:151: + dma_addr_t (*restore_abnormal_ring)(void *priv, int ring_index, int type); WARNING: line length of 92 exceeds 80 columns #3232: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_def_resource.h:154: + int (*stop_abnormal_hw_queue)(void *priv, u16 vsi_id, u16 local_queue_id, int type); WARNING: line length of 81 exceeds 80 columns #3235: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_def_resource.h:157: + int (*register_func_link_forced)(void *priv, u16 func_id, u8 link_forced, WARNING: line length of 85 exceeds 80 columns #3240: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_def_resource.h:162: + u16 vlan_tci, u16 vlan_proto, bool *should_notify); WARNING: line length of 83 exceeds 80 columns #3247: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_def_resource.h:169: + void (*get_board_info)(void *priv, struct nbl_board_port_info *board_info); WARNING: line length of 89 exceeds 80 columns #3250: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_def_resource.h:172: + void (*get_active_func_bitmaps)(void *priv, unsigned long *bitmap, int max_func); WARNING: line length of 99 exceeds 80 columns #3255: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_def_resource.h:177: + int (*check_flow_table_spec)(void *priv, u16 vlan_cnt, u16 unicast_cnt, u16 multicast_cnt); WARNING: line length of 85 exceeds 80 columns #3429: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_include.h:317: + NBL_NETIF_F_IP_CSUM_BIT, /* Can checksum TCP/UDP over IPv4. */ WARNING: line length of 83 exceeds 80 columns #3430: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_include.h:318: + NBL_NETIF_F_HW_CSUM_BIT, /* Can checksum all the packets. */ WARNING: line length of 84 exceeds 80 columns #3431: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_include.h:319: + NBL_NETIF_F_IPV6_CSUM_BIT, /* Can checksum TCP/UDP over IPV6 */ WARNING: line length of 88 exceeds 80 columns #3433: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_include.h:321: + NBL_NETIF_F_HW_VLAN_CTAG_TX_BIT, /* Transmit VLAN CTAG HW acceleration */ WARNING: line length of 87 exceeds 80 columns #3434: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_include.h:322: + NBL_NETIF_F_HW_VLAN_CTAG_RX_BIT, /* Receive VLAN CTAG HW acceleration */ WARNING: line length of 85 exceeds 80 columns #3435: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_include.h:323: + NBL_NETIF_F_HW_VLAN_CTAG_FILTER_BIT, /* Receive filtering on VLAN CTAGs */ WARNING: line length of 84 exceeds 80 columns #3442: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_include.h:330: + NBL_NETIF_F_GSO_UDP_TUNNEL_CSUM_BIT, /* ... UDP TUNNEL with TSO & CSUM */ WARNING: line length of 81 exceeds 80 columns #3443: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_include.h:331: + NBL_NETIF_F_GSO_PARTIAL_BIT, /* ... Only segment inner-most L4 WARNING: line length of 83 exceeds 80 columns #3447: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_include.h:335: + NBL_NETIF_F_GSO_UDP_L4_BIT, /* ... UDP payload GSO (not UFO) */ WARNING: line length of 82 exceeds 80 columns #3451: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_include.h:339: + NBL_NETIF_F_RXCSUM_BIT, /* Receive checksumming offload */ WARNING: line length of 88 exceeds 80 columns #3452: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_include.h:340: + NBL_NETIF_F_HW_VLAN_STAG_TX_BIT, /* Transmit VLAN STAG HW acceleration */ WARNING: line length of 87 exceeds 80 columns #3453: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_include.h:341: + NBL_NETIF_F_HW_VLAN_STAG_RX_BIT, /* Receive VLAN STAG HW acceleration */ WARNING: line length of 85 exceeds 80 columns #3454: FILE: drivers/net/ethernet/nebula-matrix/nbl/nbl_include/nbl_include.h:342: + NBL_NETIF_F_HW_VLAN_STAG_FILTER_BIT, /* Receive filtering on VLAN STAGs */ total: 1 errors, 205 warnings, 0 checks, 3417 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. Commit 6520523663f8 ("net/nebula-matrix: add Resource layer definitions and implementation") has style problems, please review. NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT BAD_REPORTED_BY_LINK CAMELCASE COMMIT_LOG_LONG_LINE FILE_PATH_CHANGES GIT_COMMIT_ID MACRO_ARG_REUSE NO_AUTHOR_SIGN_OFF NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS.