aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
AgeCommit message (Expand)AuthorFilesLines
2024-05-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-24/+28
2024-05-09net: hns3: fix kernel crash when devlink reload during initializationYonglong Liu1-12/+5
2024-05-09net: hns3: fix port vlan filter not disabled issueYonglong Liu1-1/+6
2024-05-09net: hns3: use appropriate barrier function after setting a bit valuePeiyang Wang1-2/+1
2024-05-09net: hns3: release PTP resources if pf initialization failedPeiyang Wang1-1/+3
2024-05-09net: hns3: change type of numa_node_mask as nodemask_tPeiyang Wang1-2/+4
2024-05-09net: hns3: using user configure after hardware resetPeiyang Wang1-6/+9
2024-04-24net: hns3: flower: validate control flagsAsbjørn Sloth Tønnesen1-3/+15
2024-04-12net: hns3: add support to query scc version by devlink infoHao Chen1-0/+18
2024-04-12net: hns3: add command queue trace for hns3Hao Lan1-0/+45
2024-03-26net: hns3: fix kernel crash when devlink reload during pf initializationYonglong Liu1-0/+4
2024-03-08net: hns3: fix port duplex configure error in IMP resetJie Wang1-1/+4
2024-03-08net: hns3: fix delete tc fail issueJijie Shao1-0/+2
2024-03-08net: hns3: Disable SerDes serial loopback for HiLink H60Hao Lan1-2/+7
2024-03-08net: hns3: add new 200G link modes for hisilicon deviceHao Lan1-10/+18
2023-11-13net: hns3: fix VF wrong speed and duplex issueJijie Shao1-0/+4
2023-11-13net: hns3: fix incorrect capability bit display for copper portJian Shen1-0/+1
2023-11-13net: hns3: fix add VLAN fail issueJian Shen1-8/+20
2023-10-25net: hns3: add some link modes for hisilicon deviceHao Chen1-80/+78
2023-10-11net: hns3: add vf fault detect supportJie Wang1-1/+2
2023-09-19net: hns3: add 5ms delay before clear firmware reset irq sourceJie Wang1-0/+5
2023-09-19net: hns3: fix fail to delete tc flower rules during reset issueJijie Shao1-0/+6
2023-09-19net: hns3: only enable unicast promisc when mac table fullJian Shen1-1/+1
2023-09-07net: hns3: fix invalid mutex between tc qdisc and dcb ets command issueJijie Shao1-2/+3
2023-08-16net: hns3: fix wrong rpu tln reg issueJijie Shao1-0/+2
2023-08-16net: hns3: move dump regs function to a separate fileJijie Shao1-557/+1
2023-08-10Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-7/+22
2023-08-08net: hns3: add wait until mac link downJie Wang1-1/+9
2023-08-08net: hns3: refactor hclge_mac_link_status_wait for interface reuseJie Wang1-5/+9
2023-08-08net: hns3: restore user pause configure when disable autonegJian Shen1-1/+4
2023-07-31net: flow_dissector: Use 64bits for used_keysRatheesh Kannoth1-8/+8
2023-06-23net: hns3: clear hns unused parameter alarmPeiyang Wang1-28/+19
2023-05-13net: hns3: fix sending pfc frames after reset issueJijie Shao1-6/+9
2023-03-29net: hns3: support wake on lan configuration and queryHao Lan1-0/+130
2023-03-24net: hisilicon: Remove redundant pci_clear_masterCai Huoqing1-5/+2
2022-12-30net: hns3: refine the handling for VF heartbeatJian Shen1-14/+43
2022-12-23net: hns3: fix VF promisc mode not update when mac table fullJian Shen1-32/+43
2022-11-15net: hns3: fix setting incorrect phy link ksettings for firmware in resetting...Guangbin Huang1-3/+7
2022-11-15net: hns3: fix incorrect hw rss hash type of rx packetJian Shen1-1/+0
2022-11-04net: hns3: fix get wrong value of function hclge_get_dscp_prio()Guangbin Huang1-3/+5
2022-09-21net: hns3: add __init/__exit annotations to module init/exit funcsXiu Jianfeng1-2/+2
2022-09-21net: hns3: add judge fd ability for sync and clear process of flow directorGuangbin Huang1-3/+6
2022-09-21net: hns3: optimize converting dscp to priority process of hns3_nic_select_qu...Guangbin Huang1-7/+4
2022-09-21net: hns3: add support for external loopback testYonglong Liu1-7/+19
2022-09-07net: hns3: add support to query and set lane number by ethtoolHao Chen1-10/+16
2022-09-07net: hns3: add querying fec statisticsHao Lan1-0/+156
2022-09-07net: hns3: add support config dscp map to tcGuangbin Huang1-0/+19
2022-08-31net: hns3: net: hns3: add querying and setting fec off mode from firmwareGuangbin Huang1-6/+10
2022-08-31net: hns3: add querying and setting fec llrs mode from firmwareHao Lan1-1/+14
2022-08-31net: hns3: add querying fec ability from firmwareGuangbin Huang1-8/+24
2022-08-31net: hns3: add getting capabilities of gro offload and fd from firmwareGuangbin Huang1-11/+20
2022-06-13net: hns3: fix tm port shapping of fibre port is incorrect after driver initi...Guangbin Huang1-3/+8
2022-06-13net: hns3: don't push link state to VF if unaliveJian Shen1-0/+6
2022-06-13net: hns3: set port base vlan tbl_sta to false before removing old vlanGuangbin Huang1-0/+1
2022-05-09net: hns3: remove the affinity settings of vector0Yufeng Mo1-26/+1
2022-04-20net: hns3: add failure logs in hclge_set_vport_mtuJie Wang1-0/+3
2022-03-31net: hns3: fix software vlan talbe of vlan 0 inconsistent with hardwareGuangbin Huang1-3/+3
2022-03-26net: hns3: clean residual vf config after disable sriovPeng Li1-0/+50
2022-03-25net: hns3: refine the process when PF set VF VLANJian Shen1-5/+13
2022-03-25net: hns3: add vlan list lock to protect vlan listJian Shen1-4/+34
2022-03-25net: hns3: fix port base vlan add fail when concurrent with resetJian Shen1-19/+43
2022-03-25net: hns3: fix bug when PF set the duplicate MAC address for VFsJian Shen1-3/+2
2022-02-07net: hns3: add support for TX push modeYufeng Mo1-2/+9
2022-01-05net: hns3: refactor PF tqp stats APIs with new common tqp stats APIsJie Wang1-134/+13
2022-01-05net: hns3: refactor PF rss init APIs with new common rss init APIsJie Wang1-127/+11
2022-01-05net: hns3: refactor PF rss set APIs with new common rss set APIsJie Wang1-254/+36
2022-01-05net: hns3: refactor PF rss get APIs with new common rss get APIsJie Wang1-135/+58
2022-01-05net: hns3: refactor hclge_comm_send function in PF/VF driversJie Wang1-3/+3
2021-12-31net: hns3: delete the hclge_cmd.c and hclgevf_cmd.cJie Wang1-0/+14
2021-12-31net: hns3: refactor PF cmdq init and uninit APIs with new common APIsJie Wang1-22/+24
2021-12-31net: hns3: refactor PF cmdq resource APIs with new common APIsJie Wang1-27/+27
2021-12-31net: hns3: refactor hclge_cmd_send with new hclge_comm_cmd_send APIJie Wang1-27/+29
2021-12-07net: hns3: Fix spelling mistake "faile" -> "failed"Colin Ian King1-1/+1
2021-12-03net: hns3: replace one tab with space in for statementHao Chen1-1/+1
2021-12-03net: hns3: Align type of some variables with their print typeHao Chen1-2/+2
2021-12-03net: hns3: add print vport id for failed message of vlanGuangbin Huang1-4/+4
2021-12-03net: hns3: refactor function hclge_set_vlan_filter_hwGuangbin Huang1-18/+27
2021-12-03net: hns3: optimize function hclge_cfg_common_loopback()Yufeng Mo1-20/+42
2021-12-02net: hns3: refactor function hclge_set_channels()Jie Wang1-18/+28
2021-12-02net: hns3: refactor function hclge_configure()Jie Wang1-24/+29
2021-12-02net: hns3: split function hclge_update_port_base_vlan_cfg()Jian Shen1-33/+36
2021-12-02net: hns3: split function hclge_get_fd_rule_info()Jian Shen1-18/+34
2021-12-02net: hns3: split function hclge_init_vlan_config()Jian Shen1-42/+55
2021-11-30net: hns3: make symbol 'hclge_mac_speed_map_to_fw' staticWei Yongjun1-1/+1
2021-11-29net: hns3: refine function hclge_cfg_mac_speed_dup_hw()Guangbin Huang1-39/+32
2021-11-29net: hns3: refactor reset_prepare_general retry statementJiaran Zhang1-18/+14
2021-11-24net: hns3: format the output of the MAC addressYufeng Mo1-20/+35
2021-11-24net: hns3: add log for workqueue scheduled lateYufeng Mo1-2/+20
2021-11-10net: hns3: remove check VF uc mac exist when set by PFGuangbin Huang1-36/+0
2021-11-10net: hns3: fix some mac statistics is always 0 in device version V2Guangbin Huang1-0/+10
2021-11-10net: hns3: fix pfc packet number incorrect after querying pfc parametersJie Wang1-3/+1
2021-11-10net: hns3: fix ROCE base interrupt vector initialization bugJie Wang1-5/+1
2021-11-10net: hns3: fix failed to add reuse multicast mac addr to hardware when mc mac...Guangbin Huang1-23/+27
2021-10-28Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-29/+6
2021-10-28Revert "net: hns3: fix pause config problem after autoneg disabled"Guangbin Huang1-30/+0
2021-10-27net: hns3: ignore reset event before initialization process is doneGuangbin Huang1-0/+1
2021-10-27net: hns3: change hclge/hclgevf workqueue to WQ_UNBOUND modeYufeng Mo1-29/+5
2021-10-27net: hns3: fix pause config problem after autoneg disabledGuangbin Huang1-0/+30
2021-10-25net: hns3: add update ethtool advertised link modes for FIBRE port when auton...Guangbin Huang1-1/+77
2021-10-25net: hns3: modify functions of converting speed ability to ethtool link modeGuangbin Huang1-33/+37
2021-10-25net: hns3: add support pause/pfc durations for mac statisticsGuangbin Huang1-92/+153
2021-10-25net: hns3: device specifications add number of mac statisticsGuangbin Huang1-11/+23
2021-10-25net: hns3: modify mac statistics update process for compatibilityGuangbin Huang1-45/+45
2021-10-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-0/+1
2021-10-20net: hns3: disable sriov before unload hclge layerPeng Li1-0/+1
2021-10-14ethernet: constify references to netdev->dev_addr in driversJakub Kicinski1-1/+1
2021-09-30Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-12/+15
2021-09-29net: hns3: PF enable promisc for VF when mac table is overflowGuangbin Huang1-2/+6
2021-09-29net: hns3: fix show wrong state when add existing uc mac addressJian Shen1-10/+9
2021-09-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-25/+55
2021-09-20net: hns3: fix a return value error in hclge_get_reset_status()Yufeng Mo1-4/+11
2021-09-20net: hns3: check vlan id before using itliaoguojia1-0/+3
2021-09-20net: hns3: fix misuse vf id and vport id in some logsJiaran Zhang1-4/+6
2021-09-20net: hns3: fix inconsistent vf id printJian Shen1-2/+5
2021-09-20net: hns3: fix change RSS 'hfunc' ineffective issueJian Shen1-15/+30
2021-09-16Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-8/+11
2021-09-14net: hns3: PF support get multicast MAC address space assigned by firmwareGuangbin Huang1-6/+29
2021-09-14net: hns3: PF support get unicast MAC address space assigned by firmwareGuangbin Huang1-3/+8
2021-09-13net: hns3: disable mac in flr processYufeng Mo1-2/+3
2021-09-13net: hns3: change affinity_mask to numa node rangeYufeng Mo1-6/+8
2021-08-31net: hns3: remove unnecessary spacesHao Chen1-1/+1
2021-08-31net: hns3: add some required spacesHao Chen1-11/+11
2021-08-28net: hns3: add required space in commentHao Chen1-1/+1
2021-08-28net: hns3: add new function hclge_get_speed_bit()Guangbin Huang1-31/+30
2021-08-27net: hns3: merge some repetitive macrosPeng Li1-11/+11
2021-08-27net: hns3: add macros for mac speeds of firmware commandGuangbin Huang1-18/+18
2021-08-26Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-7/+45
2021-08-26net: hns3: fix GRO configuration error after resetYufeng Mo1-5/+13
2021-08-26net: hns3: fix duplicate node in VLAN listGuojia Liao1-1/+5
2021-08-26net: hns3: fix speed unknown issue in bond 4Yonglong Liu1-1/+1
2021-08-26net: hns3: clear hardware resource when loading driverYufeng Mo1-0/+26
2021-08-24net: hns3: add support for EQE/CQE mode configurationYufeng Mo1-0/+1
2021-08-16net: hns3: add support ethtool extended link stateGuangbin Huang1-0/+24
2021-08-11net: hns3: add support for triggering reset by ethtoolYufeng Mo1-0/+6
2021-07-26net: hns3: add support for registering devlink for PFYufeng Mo1-1/+9
2021-07-20net: hns3: disable port VLAN filter when support function level VLAN filter c...Jian Shen1-2/+6
2021-06-28net: hns3: add support for FD counter in debugfsJian Shen1-2/+8
2021-06-16net: hns3: add support to query tx spare buffer size for pfHuazhong Tan1-0/+14
2021-06-11net: hns3: add support for PTPHuazhong Tan1-3/+58
2021-06-09net: hns3: use list_move_tail instead of list_del/list_add_tail in hclge_main.cBaokun Li1-10/+5
2021-06-08net: hns3: add error handling compatibility during initializationJiaran Zhang1-11/+10
2021-06-08net: hns3: update error recovery module and typeJiaran Zhang1-2/+1
2021-06-08net: hns3: add support for imp-handle ras capabilityJiaran Zhang1-1/+1
2021-06-08net: hns3: add the RAS compatibility adaptation solutionJiaran Zhang1-10/+44
2021-06-08net: hns3: add support for handling all errors through MSI-XYufeng Mo1-23/+24
2021-06-07net: hns3: remove now redundant logic related to HNAE3_UNKNOWN_RESETYufeng Mo1-22/+0
2021-06-07net: hns3: add scheduling logic for error handling taskJiaran Zhang1-14/+6
2021-06-07net: hns3: add a separate error handling taskJiaran Zhang1-0/+38
2021-05-31net: hns3: add debugfs support for vlan configurationJian Shen1-12/+0
2021-05-31net: hns3: add support for VF modify VLAN filter stateJian Shen1-2/+1
2021-05-31net: hns3: add support for modify VLAN filter stateJian Shen1-19/+164
2021-05-31net: hns3: refine for hclge_push_vf_port_base_vlan_info()Jian Shen1-2/+1
2021-05-31net: hns3: add 'QoS' support for port based VLAN configurationJian Shen1-28/+63
2021-05-24net: hns3: use HCLGE_VPORT_STATE_PROMISC_CHANGE to replace HCLGE_STATE_PROMIS...Jian Shen1-6/+6
2021-05-24net: hns3: configure promisc mode for VF asynchronouslyJian Shen1-14/+29
2021-05-20net: hns3: remove the useless debugfs file node cmdYufeng Mo1-1/+0
2021-05-14net: hns3: refactor dump reset info of debugfsJiaran Zhang1-1/+16
2021-05-14net: hns3: support RXD advanced layoutHuazhong Tan1-0/+17
2021-04-30net: hns3: clear unnecessary reset request in hclge_reset_rebuildYufeng Mo1-0/+6
2021-04-19net: hns3: remove a duplicate pf reset countingHuazhong Tan1-2/+0
2021-04-15net: hns3: PF add support for pushing link status to VFsGuangbin Huang1-1/+34
2021-04-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-5/+4
2021-04-09net: hns3: Trivial spell fix in hns3 driverSalil Mehta1-1/+1
2021-04-08net: hns3: add suspend and resume pm_opsJiaran Zhang1-0/+2
2021-04-08net: hns3: change flr_prepare/flr_done function namesJiaran Zhang1-12/+15
2021-04-05net: hns3: Remove un-necessary 'else-if' in the hclge_reset_event()Salil Mehta1-1/+3
2021-04-05net: hns3: Remove the left over redundant check & assignmentSalil Mehta1-3/+0
2021-03-29net: hns3: optimize the process of queue resetYufeng Mo1-80/+105
2021-03-29net: hns3: remediate a potential overflow risk of bd_num_listGuangbin Huang1-7/+20
2021-03-29net: hns3: fix use-after-free issue for hclge_add_fd_entry_common()Jian Shen1-1/+1
2021-03-29net: hns3: fix missing rule state assignmentJian Shen1-3/+4
2021-03-28net: hns3: no return statement in hclge_clear_arfs_rulesLiu Jian1-1/+1
2021-03-26net: hns3: split function hclge_reset_rebuild()Yufeng Mo1-10/+16
2021-03-26net: hns3: fix some typos in hclge_main.cHuazhong Tan1-3/+3
2021-03-26net: hns3: remove unused parameter from hclge_set_vf_vlan_common()Peng Li1-4/+2
2021-03-26net: hns3: remove redundant blank linesPeng Li1-5/+0
2021-03-26net: hns3: remove unused code of vmdqJian Shen1-144/+96
2021-03-22net: hns3: add support for user-def data of flow directorJian Shen1-14/+309
2021-03-22net: hns3: refine for hns3_del_all_fd_entries()Jian Shen1-7/+3
2021-03-22net: hns3: refactor flow director configurationJian Shen1-209/+309
2021-03-22net: hns3: add support for traffic class tuple support for flow director by e...Jian Shen1-7/+20
2021-03-22net: hns3: refactor for function hclge_fd_convert_tupleJian Shen1-104/+85
2021-03-22net: hns3: refactor out hclge_fd_get_tuple()Jian Shen1-103/+117
2021-03-22net: hns3: refactor out hclge_add_fd_entry()Jian Shen1-27/+40
2021-03-13net: hns3: add phy loopback support for imp-controlled PHYsGuangbin Huang1-25/+33
2021-03-13net: hns3: add ioctl support for imp-controlled PHYsGuangbin Huang1-1/+24
2021-03-13net: hns3: add get/set pause parameters support for imp-controlled PHYsGuangbin Huang1-4/+5
2021-03-13net: hns3: add support for imp-controlled PHYsGuangbin Huang1-2/+147
2021-03-11net: hns3: use pause capability queried from firmwareYufeng Mo1-4/+12
2021-03-11net: hns3: use FEC capability queried from firmwareYufeng Mo1-4/+6
2021-02-28net: hns3: fix bug when calculating the TCAM table infoJian Shen1-2/+2
2021-02-28net: hns3: fix query vlan mask value error for flow directorJian Shen1-2/+1
2021-02-12net: hns3: refactor out hclge_rm_vport_all_mac_table()Hao Chen1-24/+43
2021-02-12net: hns3: refactor out hclge_set_rss_tuple()Huazhong Tan1-13/+29
2021-02-12net: hns3: refactor out hclge_get_rss_tuple()Jian Shen1-21/+38
2021-02-12net: hns3: refactor out hclge_set_vf_vlan_common()Peng Li1-25/+48
2021-02-12net: hns3: use ipv6_addr_any() helperJiaran Zhang1-8/+5
2021-02-10Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-0/+7
2021-02-09net: hns3: remove an unused parameter in hclge_vf_rate_param_check()Huazhong Tan1-2/+2
2021-02-09net: hns3: change hclge_parse_speed() param typePeng Li1-1/+1