@@ -1676,43 +1676,42 @@ fbnic_get_rmon_stats(struct net_device *netdev,
16761676}
16771677
16781678static const struct ethtool_ops fbnic_ethtool_ops = {
1679- .supported_coalesce_params =
1680- ETHTOOL_COALESCE_USECS |
1681- ETHTOOL_COALESCE_RX_MAX_FRAMES ,
1682- .rxfh_max_num_contexts = FBNIC_RPC_RSS_TBL_COUNT ,
1683- .get_drvinfo = fbnic_get_drvinfo ,
1684- .get_regs_len = fbnic_get_regs_len ,
1685- .get_regs = fbnic_get_regs ,
1686- .get_link = ethtool_op_get_link ,
1687- .get_coalesce = fbnic_get_coalesce ,
1688- .set_coalesce = fbnic_set_coalesce ,
1689- .get_ringparam = fbnic_get_ringparam ,
1690- .set_ringparam = fbnic_set_ringparam ,
1691- .get_pauseparam = fbnic_phylink_get_pauseparam ,
1692- .set_pauseparam = fbnic_phylink_set_pauseparam ,
1693- .get_strings = fbnic_get_strings ,
1694- .get_ethtool_stats = fbnic_get_ethtool_stats ,
1695- .get_sset_count = fbnic_get_sset_count ,
1696- .get_rxnfc = fbnic_get_rxnfc ,
1697- .set_rxnfc = fbnic_set_rxnfc ,
1698- .get_rxfh_key_size = fbnic_get_rxfh_key_size ,
1699- .get_rxfh_indir_size = fbnic_get_rxfh_indir_size ,
1700- .get_rxfh = fbnic_get_rxfh ,
1701- .set_rxfh = fbnic_set_rxfh ,
1702- .get_rxfh_fields = fbnic_get_rss_hash_opts ,
1703- .set_rxfh_fields = fbnic_set_rss_hash_opts ,
1704- .create_rxfh_context = fbnic_create_rxfh_context ,
1705- .modify_rxfh_context = fbnic_modify_rxfh_context ,
1706- .remove_rxfh_context = fbnic_remove_rxfh_context ,
1707- .get_channels = fbnic_get_channels ,
1708- .set_channels = fbnic_set_channels ,
1709- .get_ts_info = fbnic_get_ts_info ,
1710- .get_ts_stats = fbnic_get_ts_stats ,
1711- .get_link_ksettings = fbnic_phylink_ethtool_ksettings_get ,
1712- .get_fecparam = fbnic_phylink_get_fecparam ,
1713- .get_eth_mac_stats = fbnic_get_eth_mac_stats ,
1714- .get_eth_ctrl_stats = fbnic_get_eth_ctrl_stats ,
1715- .get_rmon_stats = fbnic_get_rmon_stats ,
1679+ .supported_coalesce_params = ETHTOOL_COALESCE_USECS |
1680+ ETHTOOL_COALESCE_RX_MAX_FRAMES ,
1681+ .rxfh_max_num_contexts = FBNIC_RPC_RSS_TBL_COUNT ,
1682+ .get_drvinfo = fbnic_get_drvinfo ,
1683+ .get_regs_len = fbnic_get_regs_len ,
1684+ .get_regs = fbnic_get_regs ,
1685+ .get_link = ethtool_op_get_link ,
1686+ .get_coalesce = fbnic_get_coalesce ,
1687+ .set_coalesce = fbnic_set_coalesce ,
1688+ .get_ringparam = fbnic_get_ringparam ,
1689+ .set_ringparam = fbnic_set_ringparam ,
1690+ .get_pauseparam = fbnic_phylink_get_pauseparam ,
1691+ .set_pauseparam = fbnic_phylink_set_pauseparam ,
1692+ .get_strings = fbnic_get_strings ,
1693+ .get_ethtool_stats = fbnic_get_ethtool_stats ,
1694+ .get_sset_count = fbnic_get_sset_count ,
1695+ .get_rxnfc = fbnic_get_rxnfc ,
1696+ .set_rxnfc = fbnic_set_rxnfc ,
1697+ .get_rxfh_key_size = fbnic_get_rxfh_key_size ,
1698+ .get_rxfh_indir_size = fbnic_get_rxfh_indir_size ,
1699+ .get_rxfh = fbnic_get_rxfh ,
1700+ .set_rxfh = fbnic_set_rxfh ,
1701+ .get_rxfh_fields = fbnic_get_rss_hash_opts ,
1702+ .set_rxfh_fields = fbnic_set_rss_hash_opts ,
1703+ .create_rxfh_context = fbnic_create_rxfh_context ,
1704+ .modify_rxfh_context = fbnic_modify_rxfh_context ,
1705+ .remove_rxfh_context = fbnic_remove_rxfh_context ,
1706+ .get_channels = fbnic_get_channels ,
1707+ .set_channels = fbnic_set_channels ,
1708+ .get_ts_info = fbnic_get_ts_info ,
1709+ .get_ts_stats = fbnic_get_ts_stats ,
1710+ .get_link_ksettings = fbnic_phylink_ethtool_ksettings_get ,
1711+ .get_fecparam = fbnic_phylink_get_fecparam ,
1712+ .get_eth_mac_stats = fbnic_get_eth_mac_stats ,
1713+ .get_eth_ctrl_stats = fbnic_get_eth_ctrl_stats ,
1714+ .get_rmon_stats = fbnic_get_rmon_stats ,
17161715};
17171716
17181717void fbnic_set_ethtool_ops (struct net_device * dev )
0 commit comments