WARNING: line length of 100 exceeds 80 columns #169: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:40: + /* It could be that the port was shutdown by 'ip link set down' and there is no need WARNING: line length of 99 exceeds 80 columns #171: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:42: + * Since we mark the ports as in reset even if they are disabled, we clear the flag WARNING: line length of 95 exceeds 80 columns #208: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:79: + snprintf(wq_name, sizeof(wq_name) - 1, "hbl%u-port%d-rx-wq", hdev->core_dev_id, WARNING: line length of 97 exceeds 80 columns #241: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:112: + /* Unless link events are getting through the EQ, no need to print about link down events WARNING: line length of 92 exceeds 80 columns #245: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:116: + netdev_info(port->ndev, "link %s, port %d\n", up ? "up" : "down", port_idx); WARNING: line length of 86 exceeds 80 columns #248: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:119: +static void hbl_en_set_port_status(struct hbl_aux_dev *aux_dev, u32 port_idx, bool up) WARNING: line length of 84 exceeds 80 columns #263: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:134: +static int hbl_en_get_src_ip(struct hbl_aux_dev *aux_dev, u32 port_idx, u32 *src_ip) WARNING: line length of 93 exceeds 80 columns #274: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:145: + /* rtnl lock should be acquired in relevant flows before taking configuration lock */ WARNING: line length of 87 exceeds 80 columns #342: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:213: +static void hbl_en_set_dev_lpbk(struct hbl_aux_dev *aux_dev, u32 port_idx, bool enable) WARNING: line length of 84 exceeds 80 columns #406: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:277: + /* no need to revert the MTU change, it will be updated on next port open */ WARNING: line length of 88 exceeds 80 columns #479: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:350: + /* disable the PHY here so no link changes will occur from this point forward */ WARNING: line length of 92 exceeds 80 columns #500: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:371: + /* Explicitly count the port close operations as we don't get a link event for this. WARNING: line length of 87 exceeds 80 columns #501: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:372: + * Upon port open we receive a link event, hence no additional action required. WARNING: line length of 92 exceeds 80 columns #541: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:412: + /* Sleep in order to let obsolete events to be dropped before re-opening the port */ WARNING: line length of 95 exceeds 80 columns #553: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:424: + /* Looks like the return value of this function is not checked, so we can't just return WARNING: line length of 97 exceeds 80 columns #554: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:425: + * EBUSY if the port is under reset. We need to wait until the reset is finished and then WARNING: line length of 97 exceeds 80 columns #555: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:426: + * close the port. Otherwise the netdev will set the port as closed although port_close() WARNING: line length of 100 exceeds 80 columns #556: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:427: + * wasn't called. Only if we waited long enough and the reset hasn't finished, we can return WARNING: line length of 83 exceeds 80 columns #557: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:428: + * an error without actually closing the port as it is a fatal flow anyway. WARNING: line length of 98 exceeds 80 columns #561: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:432: + /* If this is called from unregister_netdev() then the port was already closed and WARNING: line length of 98 exceeds 80 columns #563: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:434: + * We could have just check the port_open boolean, but that might hide some future WARNING: line length of 91 exceeds 80 columns #586: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:457: + * hbl_en_ports_stop_prepare() - stop the Rx and Tx and synchronize with other reset flows. WARNING: line length of 87 exceeds 80 columns #589: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:460: + * This function makes sure that during the reset no packets will be processed and that WARNING: line length of 91 exceeds 80 columns #591: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:462: + * A hard reset might occur right after the driver was loaded, which means before the ports WARNING: line length of 95 exceeds 80 columns #592: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:463: + * initialization was finished. Therefore, even if the ports are not yet open, we mark it as in WARNING: line length of 95 exceeds 80 columns #593: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:464: + * reset in order to avoid races. We clear the in reset flag later on when reopening the ports. WARNING: line length of 99 exceeds 80 columns #602: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:473: + /* Check if the ports where initialized. If not, we shouldn't mark them as in reset because WARNING: line length of 92 exceeds 80 columns #614: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:485: + /* This function is competing with reset from ethtool/ip, so try to take the WARNING: line length of 95 exceeds 80 columns #615: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:486: + * in_reset atomic and if we are already in a middle of reset, wait until reset WARNING: line length of 97 exceeds 80 columns #617: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:488: + * Reset function is designed to always finish (could take up to a few seconds in WARNING: line length of 98 exceeds 80 columns #619: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:490: + * We mark also closed ports as in reset so they won't be able to get opened while WARNING: line length of 100 exceeds 80 columns #668: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:539: + /* Sleep in order to let obsolete events to be dropped before re-opening the port */ WARNING: line length of 96 exceeds 80 columns #675: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:546: + netdev_err(netdev, "Failed to reinit port for MTU change, rc %d\n", rc); WARNING: line length of 100 exceeds 80 columns #724: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:595: + port_idx, swab16(tmp_buff[0]), swab16(tmp_buff[1]), swab16(tmp_buff[2]), WARNING: line length of 90 exceeds 80 columns #725: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:596: + swab16(tmp_buff[3]), swab16(tmp_buff[4]), swab16(tmp_buff[5]), WARNING: line length of 83 exceeds 80 columns #728: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:599: + /* Before submit it to HW, in case this is ipv4 pkt, swap eth/ip addresses. WARNING: line length of 86 exceeds 80 columns #757: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:628: + return aux_ops->get_mac_lpbk(aux_dev, port_idx) && !is_pkt_swap_enabled(hdev); WARNING: line length of 82 exceeds 80 columns #760: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:631: +static netdev_tx_t hbl_en_handle_tx(struct hbl_en_port *port, struct sk_buff *skb) WARNING: line length of 92 exceeds 80 columns #769: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:640: + netdev_err(port->ndev, "Tx pkt size %uB exceeds maximum of %uB\n", skb->len, WARNING: line length of 90 exceeds 80 columns #777: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:648: + /* Pad the ethernet packets to the minimum frame size as the NIC hw doesn't do it. WARNING: line length of 95 exceeds 80 columns #778: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:649: + * eth_skb_pad() frees the packet on failure, so just increment the dropped counter and WARNING: line length of 84 exceeds 80 columns #800: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:671: +static netdev_tx_t hbl_en_start_xmit(struct sk_buff *skb, struct net_device *netdev) WARNING: line length of 91 exceeds 80 columns #832: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:703: + netdev_err(ndev, "Failed to reset port %u, rc %d\n", port_idx, rc); WARNING: line length of 85 exceeds 80 columns #840: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:711: +static int hbl_en_set_features(struct net_device *netdev, netdev_features_t features) WARNING: line length of 92 exceeds 80 columns #847: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:718: + netdev_err(netdev, "port %d is in reset, can't update settings", port->idx); WARNING: line length of 89 exceeds 80 columns #854: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:725: + rc = hbl_en_set_port_mac_loopback(port, !!(features & NETIF_F_LOOPBACK)); WARNING: line length of 85 exceeds 80 columns #861: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:732: +static void hbl_en_handle_tx_timeout(struct net_device *netdev, unsigned int txqueue) WARNING: line length of 87 exceeds 80 columns #869: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:740: +static void hbl_en_get_stats64(struct net_device *dev, struct rtnl_link_stats64 *stats) WARNING: line length of 96 exceeds 80 columns #944: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:815: + /* It's more an intelligent poll wherein, we enable the Rx completion EQE event and then WARNING: line length of 96 exceeds 80 columns #946: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:817: + * Inside the polling thread, we read packets from hardware and then reschedule the poll WARNING: line length of 97 exceeds 80 columns #947: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:818: + * only if there are more packets to be processed. Else we re-enable the CQ Arm interrupt WARNING: line length of 82 exceeds 80 columns #957: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:828: + dev_err(hdev->dev, "Could not register netdevice %d\n", port_idx); WARNING: line length of 83 exceeds 80 columns #978: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:849: + /* The SKB is ready now (before stripping-out the L2), print its content */ WARNING: line length of 100 exceeds 80 columns #981: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:852: + port_idx, swab16(tmp_buff[0]), swab16(tmp_buff[1]), swab16(tmp_buff[2]), WARNING: line length of 90 exceeds 80 columns #982: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:853: + swab16(tmp_buff[3]), swab16(tmp_buff[4]), swab16(tmp_buff[5]), WARNING: line length of 91 exceeds 80 columns #1000: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:871: + pkt_status = hdev->asic_funcs.read_pkt_from_hw(port, &pkt_addr, &pkt_size); WARNING: line length of 86 exceeds 80 columns #1013: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:884: + skb = __netdev_alloc_skb_ip_align(ndev, pkt_size, GFP_KERNEL); WARNING: line length of 87 exceeds 80 columns #1035: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:906: + /* polling is done in thread context and hence BH should be disabled */ WARNING: line length of 84 exceeds 80 columns #1055: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:926: +static bool __hbl_en_rx_poll_schedule(struct hbl_en_port *port, unsigned long delay) WARNING: line length of 93 exceeds 80 columns #1062: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:933: + struct hbl_en_port *port = container_of(work, struct hbl_en_port, rx_poll_work.work); WARNING: line length of 94 exceeds 80 columns #1068: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:939: + /* Reschedule the poll if we have consumed budget which means we still have packets to WARNING: line length of 97 exceeds 80 columns #1078: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:949: + * Rx polling is initialized once during init or open and started/triggered by the event handler. WARNING: line length of 89 exceeds 80 columns #1101: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:972: + /* exit if we are called by netpoll as we free the Tx ring via EQ (if enabled) */ WARNING: line length of 83 exceeds 80 columns #1130: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:1001: + dev_err(hdev->dev, "Unrecognized ASIC type %d\n", hdev->asic_type); WARNING: line length of 92 exceeds 80 columns #1137: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:1008: +static void hbl_en_handle_eqe(struct hbl_aux_dev *aux_dev, u32 port, struct hbl_cn_eqe *eqe) WARNING: line length of 92 exceeds 80 columns #1194: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:1065: + /* init the function pointers here before calling hbl_en_port_register which sets up WARNING: line length of 96 exceeds 80 columns #1196: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:1067: + * If any failure is encountered, these will be made NULL and the core driver won't call WARNING: line length of 94 exceeds 80 columns #1201: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:1072: + /* Port register depends on the above initialization so it must be called here and not WARNING: line length of 84 exceeds 80 columns #1266: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:1137: + /* It could be this cleanup flow is called after a failed init flow. WARNING: line length of 85 exceeds 80 columns #1267: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:1138: + * Hence we need to check that we indeed have a netdev to unregister. WARNING: line length of 86 exceeds 80 columns #1286: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:1157: + dma_addr = dma_map_single(&hdev->pdev->dev, addr, len, DMA_TO_DEVICE); WARNING: line length of 81 exceeds 80 columns #1296: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.c:1167: + dma_unmap_single(&hdev->pdev->dev, dma_addr, len, DMA_TO_DEVICE); WARNING: line length of 100 exceeds 80 columns #1321: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.h:18: +#define HBL_EN_PORT(aux_dev, idx) (&(((struct hbl_en_device *)(aux_dev)->priv)->ports[(idx)])) WARNING: line length of 98 exceeds 80 columns #1371: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.h:68: + * @in_reset: true if the NIC was marked as in reset, false otherwise. Used to avoid an additional WARNING: line length of 89 exceeds 80 columns #1375: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.h:72: + * @rx_max_coalesced_frames: Maximum number of packets to receive before an RX interrupt. WARNING: line length of 88 exceeds 80 columns #1376: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.h:73: + * @tx_max_coalesced_frames: Maximum number of packets to be sent before a TX interrupt. WARNING: line length of 86 exceeds 80 columns #1377: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.h:74: + * @rx_coalesce_usecs: How many usecs to delay an RX interrupt after a packet arrives. WARNING: line length of 82 exceeds 80 columns #1379: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.h:76: + * @pfc_enable: true if this port supports Priority Flow Control, false otherwise. WARNING: line length of 86 exceeds 80 columns #1424: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.h:121: + netdev_tx_t (*write_pkt_to_hw)(struct hbl_en_port *port, struct sk_buff *skb); WARNING: line length of 90 exceeds 80 columns #1425: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.h:122: + int (*read_pkt_from_hw)(struct hbl_en_port *port, void **pkt_addr, u32 *pkt_size); WARNING: line length of 94 exceeds 80 columns #1429: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.h:126: + void (*handle_eqe)(struct hbl_aux_dev *aux_dev, u32 port_idx, struct hbl_cn_eqe *eqe); WARNING: line length of 89 exceeds 80 columns #1447: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en.h:144: + * @pending_reset_long_timeout: long timeout for pending hard reset to finish in seconds. WARNING: line length of 84 exceeds 80 columns #1528: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en_dcbnl.c:13: +static int hbl_en_dcbnl_ieee_getpfc(struct net_device *netdev, struct ieee_pfc *pfc) WARNING: line length of 95 exceeds 80 columns #1538: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en_dcbnl.c:23: + dev_dbg_ratelimited(hdev->dev, "port %d is in reset, can't get PFC", port_idx); WARNING: line length of 84 exceeds 80 columns #1552: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en_dcbnl.c:37: +static int hbl_en_dcbnl_ieee_setpfc(struct net_device *netdev, struct ieee_pfc *pfc) WARNING: line length of 84 exceeds 80 columns #1573: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en_dcbnl.c:58: + if (pfc->pfc_en != PFC_PRIO_MASK_NONE && pfc->pfc_en != PFC_PRIO_MASK_ALL) { WARNING: line length of 95 exceeds 80 columns #1581: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en_dcbnl.c:66: + dev_dbg_ratelimited(hdev->dev, "port %d is in reset, can't set PFC", port_idx); WARNING: line length of 92 exceeds 80 columns #1726: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en_drv.c:104: +static int hbl_en_probe(struct auxiliary_device *adev, const struct auxiliary_device_id *id) WARNING: line length of 83 exceeds 80 columns #1728: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en_drv.c:106: + struct hbl_aux_dev *aux_dev = container_of(adev, struct hbl_aux_dev, adev); WARNING: line length of 92 exceeds 80 columns #1744: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en_drv.c:122: + dev_err(hdev->dev, "Failed to increment %s module refcount\n", HBL_EN_NAME); WARNING: line length of 93 exceeds 80 columns #1749: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en_drv.c:127: + timeout = ktime_add_ms(ktime_get(), hdev->pending_reset_long_timeout * MSEC_PER_SEC); WARNING: line length of 97 exceeds 80 columns #1753: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en_drv.c:131: + /* if the device is operational, proceed to actual init while holding the lock in WARNING: line length of 92 exceeds 80 columns #1792: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en_drv.c:170: +/* This function can be called only from the CN driver when deleting the aux bus, because we WARNING: line length of 93 exceeds 80 columns #1793: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en_drv.c:171: + * incremented the module refcount on probing. Hence no need to protect here from hard reset. WARNING: line length of 83 exceeds 80 columns #1797: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en_drv.c:175: + struct hbl_aux_dev *aux_dev = container_of(adev, struct hbl_aux_dev, adev); WARNING: line length of 96 exceeds 80 columns #1873: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en_ethtool.c:34: +static void hbl_en_ethtool_get_drvinfo(struct net_device *ndev, struct ethtool_drvinfo *drvinfo) WARNING: line length of 84 exceeds 80 columns #1883: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en_ethtool.c:44: + strscpy(drvinfo->bus_info, pci_name(hdev->pdev), sizeof(drvinfo->bus_info)); WARNING: line length of 99 exceeds 80 columns #1886: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en_ethtool.c:47: +static int hbl_en_ethtool_get_module_info(struct net_device *ndev, struct ethtool_modinfo *modinfo) WARNING: line length of 95 exceeds 80 columns #1894: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en_ethtool.c:55: +static int hbl_en_ethtool_get_module_eeprom(struct net_device *ndev, struct ethtool_eeprom *ee, WARNING: line length of 81 exceeds 80 columns #1929: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en_ethtool.c:90: +static int hbl_en_ethtool_set_priv_flags(struct net_device *ndev, u32 priv_flags) WARNING: line length of 89 exceeds 80 columns #1962: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en_ethtool.c:123: + ethtool_link_ksettings_add_link_mode(cmd, supported, 100000baseCR4_Full); WARNING: line length of 89 exceeds 80 columns #1963: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en_ethtool.c:124: + ethtool_link_ksettings_add_link_mode(cmd, supported, 100000baseSR4_Full); WARNING: line length of 89 exceeds 80 columns #1964: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en_ethtool.c:125: + ethtool_link_ksettings_add_link_mode(cmd, supported, 100000baseKR4_Full); WARNING: line length of 93 exceeds 80 columns #1965: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en_ethtool.c:126: + ethtool_link_ksettings_add_link_mode(cmd, supported, 100000baseLR4_ER4_Full); WARNING: line length of 91 exceeds 80 columns #1967: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en_ethtool.c:128: + ethtool_link_ksettings_add_link_mode(cmd, advertising, 100000baseCR4_Full); WARNING: line length of 91 exceeds 80 columns #1968: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en_ethtool.c:129: + ethtool_link_ksettings_add_link_mode(cmd, advertising, 100000baseSR4_Full); WARNING: line length of 91 exceeds 80 columns #1969: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en_ethtool.c:130: + ethtool_link_ksettings_add_link_mode(cmd, advertising, 100000baseKR4_Full); WARNING: line length of 95 exceeds 80 columns #1970: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en_ethtool.c:131: + ethtool_link_ksettings_add_link_mode(cmd, advertising, 100000baseLR4_ER4_Full); WARNING: line length of 82 exceeds 80 columns #1978: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en_ethtool.c:139: + ethtool_link_ksettings_add_link_mode(cmd, advertising, Backplane); WARNING: line length of 88 exceeds 80 columns #1981: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en_ethtool.c:142: + ethtool_link_ksettings_add_link_mode(cmd, supported, 50000baseSR2_Full); WARNING: line length of 88 exceeds 80 columns #1982: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en_ethtool.c:143: + ethtool_link_ksettings_add_link_mode(cmd, supported, 50000baseCR2_Full); WARNING: line length of 88 exceeds 80 columns #1983: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en_ethtool.c:144: + ethtool_link_ksettings_add_link_mode(cmd, supported, 50000baseKR2_Full); WARNING: line length of 90 exceeds 80 columns #1985: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en_ethtool.c:146: + ethtool_link_ksettings_add_link_mode(cmd, advertising, 50000baseSR2_Full); WARNING: line length of 90 exceeds 80 columns #1986: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en_ethtool.c:147: + ethtool_link_ksettings_add_link_mode(cmd, advertising, 50000baseCR2_Full); WARNING: line length of 90 exceeds 80 columns #1987: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en_ethtool.c:148: + ethtool_link_ksettings_add_link_mode(cmd, advertising, 50000baseKR2_Full); WARNING: line length of 87 exceeds 80 columns #1990: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en_ethtool.c:151: + ethtool_link_ksettings_add_link_mode(cmd, supported, 25000baseCR_Full); WARNING: line length of 89 exceeds 80 columns #1992: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en_ethtool.c:153: + ethtool_link_ksettings_add_link_mode(cmd, advertising, 25000baseCR_Full); WARNING: line length of 89 exceeds 80 columns #1995: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en_ethtool.c:156: + ethtool_link_ksettings_add_link_mode(cmd, supported, 200000baseCR4_Full); WARNING: line length of 89 exceeds 80 columns #1996: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en_ethtool.c:157: + ethtool_link_ksettings_add_link_mode(cmd, supported, 200000baseKR4_Full); WARNING: line length of 91 exceeds 80 columns #1998: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en_ethtool.c:159: + ethtool_link_ksettings_add_link_mode(cmd, advertising, 200000baseCR4_Full); WARNING: line length of 91 exceeds 80 columns #1999: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en_ethtool.c:160: + ethtool_link_ksettings_add_link_mode(cmd, advertising, 200000baseKR4_Full); WARNING: line length of 89 exceeds 80 columns #2002: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en_ethtool.c:163: + ethtool_link_ksettings_add_link_mode(cmd, supported, 400000baseCR4_Full); WARNING: line length of 89 exceeds 80 columns #2003: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en_ethtool.c:164: + ethtool_link_ksettings_add_link_mode(cmd, supported, 400000baseKR4_Full); WARNING: line length of 91 exceeds 80 columns #2005: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en_ethtool.c:166: + ethtool_link_ksettings_add_link_mode(cmd, advertising, 400000baseCR4_Full); WARNING: line length of 91 exceeds 80 columns #2006: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en_ethtool.c:167: + ethtool_link_ksettings_add_link_mode(cmd, advertising, 400000baseKR4_Full); WARNING: line length of 91 exceeds 80 columns #2019: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en_ethtool.c:180: + ethtool_link_ksettings_add_link_mode(cmd, lp_advertising, Autoneg); WARNING: line length of 83 exceeds 80 columns #2033: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en_ethtool.c:194: +static bool check_immutable_ksettings(const struct ethtool_link_ksettings *old_cmd, WARNING: line length of 83 exceeds 80 columns #2034: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en_ethtool.c:195: + const struct ethtool_link_ksettings *new_cmd) WARNING: line length of 84 exceeds 80 columns #2040: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en_ethtool.c:201: + (old_cmd->base.eth_tp_mdix_ctrl == new_cmd->base.eth_tp_mdix_ctrl) && WARNING: line length of 93 exceeds 80 columns #2041: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en_ethtool.c:202: + bitmap_equal(old_cmd->link_modes.advertising, new_cmd->link_modes.advertising, WARNING: line length of 100 exceeds 80 columns #2046: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en_ethtool.c:207: +hbl_en_ethtool_set_link_ksettings(struct net_device *ndev, const struct ethtool_link_ksettings *cmd) WARNING: line length of 87 exceeds 80 columns #2112: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en_ethtool.c:273: + return netdev_eth_stats_len + aux_ops->get_cnts_num(aux_dev, port_idx); WARNING: line length of 88 exceeds 80 columns #2120: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en_ethtool.c:281: +static void hbl_en_ethtool_get_strings(struct net_device *ndev, u32 stringset, u8 *data) WARNING: line length of 100 exceeds 80 columns #2147: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en_ethtool.c:308: + __always_unused struct ethtool_stats *stats, u64 *data) WARNING: line length of 98 exceeds 80 columns #2168: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en_ethtool.c:329: + /* Even though the Ethernet Rx/Tx flow might update the stats in parallel, there is not an WARNING: line length of 99 exceeds 80 columns #2169: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en_ethtool.c:330: + * absolute need for synchronisation. This is because, missing few counts of these stats is WARNING: line length of 95 exceeds 80 columns #2170: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en_ethtool.c:331: + * much better than adding a lock to synchronize and increase the overhead of the Rx/Tx WARNING: line length of 94 exceeds 80 columns #2171: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en_ethtool.c:332: + * flows. In worst case scenario, reader will get stale stats. He will receive updated WARNING: line length of 83 exceeds 80 columns #2188: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en_ethtool.c:349: + struct kernel_ethtool_coalesce *kernel_coal, WARNING: line length of 83 exceeds 80 columns #2213: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en_ethtool.c:374: + struct kernel_ethtool_coalesce *kernel_coal, WARNING: line length of 97 exceeds 80 columns #2271: FILE: drivers/net/ethernet/intel/hbl_en/common/hbl_en_ethtool.c:432: + .supported_coalesce_params = ETHTOOL_COALESCE_RX_USECS | ETHTOOL_COALESCE_RX_MAX_FRAMES | total: 0 errors, 141 warnings, 0 checks, 2191 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 f0d6ab0f3478 ("net: hbl_en: add habanalabs Ethernet driver") has style problems, please review. NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT BAD_REPORTED_BY_LINK CAMELCASE COMMIT_LOG_LONG_LINE 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. total: 0 errors, 141 warnings, 0 checks, 2191 lines checked