| 286 | **/ |
| 287 | |
| 288 | s32 ixgbe_init_ops_82599(struct ixgbe_hw *hw) |
| 289 | { |
| 290 | struct ixgbe_mac_info *mac = &hw->mac; |
| 291 | struct ixgbe_phy_info *phy = &hw->phy; |
| 292 | struct ixgbe_eeprom_info *eeprom = &hw->eeprom; |
| 293 | s32 ret_val; |
| 294 | |
| 295 | DEBUGFUNC("ixgbe_init_ops_82599"); |
| 296 | |
| 297 | ixgbe_init_phy_ops_generic(hw); |
| 298 | ret_val = ixgbe_init_ops_generic(hw); |
| 299 | |
| 300 | /* PHY */ |
| 301 | phy->ops.identify = ixgbe_identify_phy_82599; |
| 302 | phy->ops.init = ixgbe_init_phy_ops_82599; |
| 303 | |
| 304 | /* MAC */ |
| 305 | mac->ops.reset_hw = ixgbe_reset_hw_82599; |
| 306 | mac->ops.enable_relaxed_ordering = ixgbe_enable_relaxed_ordering_gen2; |
| 307 | mac->ops.get_media_type = ixgbe_get_media_type_82599; |
| 308 | mac->ops.get_supported_physical_layer = |
| 309 | ixgbe_get_supported_physical_layer_82599; |
| 310 | mac->ops.disable_sec_rx_path = ixgbe_disable_sec_rx_path_generic; |
| 311 | mac->ops.enable_sec_rx_path = ixgbe_enable_sec_rx_path_generic; |
| 312 | mac->ops.enable_rx_dma = ixgbe_enable_rx_dma_82599; |
| 313 | mac->ops.read_analog_reg8 = ixgbe_read_analog_reg8_82599; |
| 314 | mac->ops.write_analog_reg8 = ixgbe_write_analog_reg8_82599; |
| 315 | mac->ops.start_hw = ixgbe_start_hw_82599; |
| 316 | mac->ops.get_san_mac_addr = ixgbe_get_san_mac_addr_generic; |
| 317 | mac->ops.set_san_mac_addr = ixgbe_set_san_mac_addr_generic; |
| 318 | mac->ops.get_device_caps = ixgbe_get_device_caps_generic; |
| 319 | mac->ops.get_wwn_prefix = ixgbe_get_wwn_prefix_generic; |
| 320 | mac->ops.get_fcoe_boot_status = ixgbe_get_fcoe_boot_status_generic; |
| 321 | mac->ops.prot_autoc_read = prot_autoc_read_82599; |
| 322 | mac->ops.prot_autoc_write = prot_autoc_write_82599; |
| 323 | |
| 324 | /* RAR, Multicast, VLAN */ |
| 325 | mac->ops.set_vmdq = ixgbe_set_vmdq_generic; |
| 326 | mac->ops.set_vmdq_san_mac = ixgbe_set_vmdq_san_mac_generic; |
| 327 | mac->ops.clear_vmdq = ixgbe_clear_vmdq_generic; |
| 328 | mac->ops.insert_mac_addr = ixgbe_insert_mac_addr_generic; |
| 329 | mac->rar_highwater = 1; |
| 330 | mac->ops.set_vfta = ixgbe_set_vfta_generic; |
| 331 | mac->ops.set_vlvf = ixgbe_set_vlvf_generic; |
| 332 | mac->ops.clear_vfta = ixgbe_clear_vfta_generic; |
| 333 | mac->ops.init_uta_tables = ixgbe_init_uta_tables_generic; |
| 334 | mac->ops.setup_sfp = ixgbe_setup_sfp_modules_82599; |
| 335 | mac->ops.set_mac_anti_spoofing = ixgbe_set_mac_anti_spoofing; |
| 336 | mac->ops.set_vlan_anti_spoofing = ixgbe_set_vlan_anti_spoofing; |
| 337 | |
| 338 | /* Link */ |
| 339 | mac->ops.get_link_capabilities = ixgbe_get_link_capabilities_82599; |
| 340 | mac->ops.check_link = ixgbe_check_mac_link_generic; |
| 341 | mac->ops.setup_rxpba = ixgbe_set_rxpba_generic; |
| 342 | ixgbe_init_mac_link_ops_82599(hw); |
| 343 | |
| 344 | mac->mcft_size = IXGBE_82599_MC_TBL_SIZE; |
| 345 | mac->vft_size = IXGBE_82599_VFT_TBL_SIZE; |
no test coverage detected