| /f-stack/dpdk/drivers/net/ixgbe/base/ |
| H A D | ixgbe_dcb_82598.c | 93 reg = IXGBE_READ_REG(hw, IXGBE_RMCS); in ixgbe_dcb_config_rx_arbiter_82598() 116 reg = IXGBE_READ_REG(hw, IXGBE_RDRXCTL); in ixgbe_dcb_config_rx_arbiter_82598() 122 reg = IXGBE_READ_REG(hw, IXGBE_RXCTRL); in ixgbe_dcb_config_rx_arbiter_82598() 147 reg = IXGBE_READ_REG(hw, IXGBE_DPMCS); in ixgbe_dcb_config_tx_desc_arbiter_82598() 194 reg = IXGBE_READ_REG(hw, IXGBE_PDPMCS); in ixgbe_dcb_config_tx_data_arbiter_82598() 218 reg = IXGBE_READ_REG(hw, IXGBE_DTXCTL); in ixgbe_dcb_config_tx_data_arbiter_82598() 238 reg = IXGBE_READ_REG(hw, IXGBE_RMCS); in ixgbe_dcb_config_pfc_82598() 244 reg = IXGBE_READ_REG(hw, IXGBE_FCTRL); in ixgbe_dcb_config_pfc_82598() 292 reg = IXGBE_READ_REG(hw, IXGBE_RQSMR(i)); in ixgbe_dcb_config_tc_stats_82598() 295 reg = IXGBE_READ_REG(hw, IXGBE_RQSMR(i + 1)); in ixgbe_dcb_config_tc_stats_82598() [all …]
|
| H A D | ixgbe_common.c | 501 IXGBE_READ_REG(hw, IXGBE_MLFC); in ixgbe_clear_hw_cntrs_generic() 502 IXGBE_READ_REG(hw, IXGBE_MRFC); in ixgbe_clear_hw_cntrs_generic() 503 IXGBE_READ_REG(hw, IXGBE_RLEC); in ixgbe_clear_hw_cntrs_generic() 534 IXGBE_READ_REG(hw, IXGBE_GPRC); in ixgbe_clear_hw_cntrs_generic() 535 IXGBE_READ_REG(hw, IXGBE_BPRC); in ixgbe_clear_hw_cntrs_generic() 545 IXGBE_READ_REG(hw, IXGBE_RUC); in ixgbe_clear_hw_cntrs_generic() 546 IXGBE_READ_REG(hw, IXGBE_RFC); in ixgbe_clear_hw_cntrs_generic() 547 IXGBE_READ_REG(hw, IXGBE_ROC); in ixgbe_clear_hw_cntrs_generic() 548 IXGBE_READ_REG(hw, IXGBE_RJC); in ixgbe_clear_hw_cntrs_generic() 554 IXGBE_READ_REG(hw, IXGBE_TPR); in ixgbe_clear_hw_cntrs_generic() [all …]
|
| H A D | ixgbe_dcb_82599.c | 32 stats->qptc[tc] += IXGBE_READ_REG(hw, IXGBE_QPTC(tc)); in ixgbe_dcb_get_tc_stats_82599() 34 stats->qbtc[tc] += IXGBE_READ_REG(hw, IXGBE_QBTC_L(tc)); in ixgbe_dcb_get_tc_stats_82599() 36 (((u64)(IXGBE_READ_REG(hw, IXGBE_QBTC_H(tc)))) << 32); in ixgbe_dcb_get_tc_stats_82599() 38 stats->qprc[tc] += IXGBE_READ_REG(hw, IXGBE_QPRC(tc)); in ixgbe_dcb_get_tc_stats_82599() 40 stats->qbrc[tc] += IXGBE_READ_REG(hw, IXGBE_QBRC_L(tc)); in ixgbe_dcb_get_tc_stats_82599() 42 (((u64)(IXGBE_READ_REG(hw, IXGBE_QBRC_H(tc)))) << 32); in ixgbe_dcb_get_tc_stats_82599() 273 reg = IXGBE_READ_REG(hw, IXGBE_MFLCN); in ixgbe_dcb_config_pfc_82599() 484 reg = IXGBE_READ_REG(hw, IXGBE_RTTDCS); in ixgbe_dcb_config_82599() 488 reg = IXGBE_READ_REG(hw, IXGBE_MRQC); in ixgbe_dcb_config_82599() 542 reg = IXGBE_READ_REG(hw, IXGBE_RTTDCS); in ixgbe_dcb_config_82599() [all …]
|
| H A D | ixgbe_82599.c | 96 esdp = IXGBE_READ_REG(hw, IXGBE_ESDP); in ixgbe_init_phy_ops_82599() 1054 ctrl |= IXGBE_READ_REG(hw, IXGBE_CTRL); in ixgbe_reset_hw_82599() 1224 (IXGBE_READ_REG(hw, IXGBE_FDIRCMD) | in ixgbe_reinit_fdir_tables_82599() 1228 (IXGBE_READ_REG(hw, IXGBE_FDIRCMD) & in ixgbe_reinit_fdir_tables_82599() 1254 IXGBE_READ_REG(hw, IXGBE_FDIRUSTAT); in ixgbe_reinit_fdir_tables_82599() 1255 IXGBE_READ_REG(hw, IXGBE_FDIRFSTAT); in ixgbe_reinit_fdir_tables_82599() 1256 IXGBE_READ_REG(hw, IXGBE_FDIRMATCH); in ixgbe_reinit_fdir_tables_82599() 1257 IXGBE_READ_REG(hw, IXGBE_FDIRMISS); in ixgbe_reinit_fdir_tables_82599() 1258 IXGBE_READ_REG(hw, IXGBE_FDIRLEN); in ixgbe_reinit_fdir_tables_82599() 1391 (IXGBE_READ_REG(hw, IXGBE_FDIRCMD) | in ixgbe_set_fdir_drop_queue_82599() [all …]
|
| H A D | ixgbe_x540.c | 202 ctrl |= IXGBE_READ_REG(hw, IXGBE_CTRL); in ixgbe_reset_hw_X540() 210 ctrl = IXGBE_READ_REG(hw, IXGBE_CTRL); in ixgbe_reset_hw_X540() 341 eec = IXGBE_READ_REG(hw, IXGBE_EEC_BY_MAC(hw)); in ixgbe_init_eeprom_params_X540() 676 flup = IXGBE_READ_REG(hw, IXGBE_EEC_BY_MAC(hw)); in ixgbe_update_flash_X540() 709 reg = IXGBE_READ_REG(hw, IXGBE_EEC_BY_MAC(hw)); in ixgbe_poll_flash_update_done_X540() 869 swsm = IXGBE_READ_REG(hw, IXGBE_SWSM_BY_MAC(hw)); in ixgbe_get_swfw_sync_semaphore() 924 swsm = IXGBE_READ_REG(hw, IXGBE_SWSM_BY_MAC(hw)); in ixgbe_release_swfw_sync_semaphore() 988 macc_reg = IXGBE_READ_REG(hw, IXGBE_MACC); in ixgbe_blink_led_start_X540() 993 ledctl_reg = IXGBE_READ_REG(hw, IXGBE_LEDCTL); in ixgbe_blink_led_start_X540() 1021 ledctl_reg = IXGBE_READ_REG(hw, IXGBE_LEDCTL); in ixgbe_blink_led_stop_X540() [all …]
|
| H A D | ixgbe_82598.c | 52 u32 gcr = IXGBE_READ_REG(hw, IXGBE_GCR); in ixgbe_set_pcie_completion_timeout() 283 autoc = IXGBE_READ_REG(hw, IXGBE_AUTOC); in ixgbe_get_link_capabilities_82598() 434 fctrl_reg = IXGBE_READ_REG(hw, IXGBE_FCTRL); in ixgbe_fc_enable_82598() 437 rmcs_reg = IXGBE_READ_REG(hw, IXGBE_RMCS); in ixgbe_fc_enable_82598() 538 autoc_reg = IXGBE_READ_REG(hw, IXGBE_AUTOC); in ixgbe_start_mac_link_82598() 661 links_reg = IXGBE_READ_REG(hw, IXGBE_LINKS); in ixgbe_check_mac_link_82598() 671 links_reg = IXGBE_READ_REG(hw, IXGBE_LINKS); in ixgbe_check_mac_link_82598() 856 ctrl = IXGBE_READ_REG(hw, IXGBE_CTRL); in ixgbe_reset_hw_82598() 877 gheccr = IXGBE_READ_REG(hw, IXGBE_GHECCR); in ixgbe_reset_hw_82598() 886 autoc = IXGBE_READ_REG(hw, IXGBE_AUTOC); in ixgbe_reset_hw_82598() [all …]
|
| H A D | ixgbe_hv_vf.c | 106 links_reg = IXGBE_READ_REG(hw, IXGBE_VFLINKS); in ixgbevf_hv_check_mac_link_vf() 118 links_reg = IXGBE_READ_REG(hw, IXGBE_VFLINKS); in ixgbevf_hv_check_mac_link_vf() 176 reg = IXGBE_READ_REG(hw, IXGBE_VFRXDCTL(0)); in ixgbevf_hv_set_rlpml_vf()
|
| H A D | ixgbe_osdep.h | 124 #define IXGBE_WRITE_FLUSH(a) IXGBE_READ_REG(a, IXGBE_STATUS) 126 #define IXGBE_READ_REG(hw, reg) \ macro 142 while (((IXGBE_READ_REG(hw, (reg))) & (mask)) && (cnt--)) \
|
| H A D | ixgbe_x550.c | 299 u32 esdp = IXGBE_READ_REG(hw, IXGBE_ESDP); in ixgbe_setup_mux_ctl() 860 reg = IXGBE_READ_REG(hw, IXGBE_DMACR); in ixgbe_dmac_config_X550() 871 reg = IXGBE_READ_REG(hw, IXGBE_DMACR); in ixgbe_dmac_config_X550() 963 reg = IXGBE_READ_REG(hw, IXGBE_DMACR); in ixgbe_dmac_update_tcs_X550() 970 reg = IXGBE_READ_REG(hw, IXGBE_DMACR); in ixgbe_dmac_update_tcs_X550() 996 eec = IXGBE_READ_REG(hw, IXGBE_EEC); in ixgbe_init_eeprom_params_X550() 1381 reg = IXGBE_READ_REG(hw, IXGBE_MRQC); in ixgbe_restore_mdd_vf_X550() 1422 reg = IXGBE_READ_REG(hw, IXGBE_MRQC); in ixgbe_mdd_event_X550() 2482 ctrl |= IXGBE_READ_REG(hw, IXGBE_CTRL); in ixgbe_reset_hw_X550em() 3188 u32 value = IXGBE_READ_REG(hw, reg); in ixgbe_read_ee_hostif_buffer_X550() [all …]
|
| H A D | ixgbe_phy.c | 354 mmngc = IXGBE_READ_REG(hw, IXGBE_MMNGC); in ixgbe_check_reset_blocked() 589 command = IXGBE_READ_REG(hw, IXGBE_MSCA); in ixgbe_read_phy_reg_mdi() 620 command = IXGBE_READ_REG(hw, IXGBE_MSCA); in ixgbe_read_phy_reg_mdi() 635 data = IXGBE_READ_REG(hw, IXGBE_MSRWD); in ixgbe_read_phy_reg_mdi() 700 command = IXGBE_READ_REG(hw, IXGBE_MSCA); in ixgbe_write_phy_reg_mdi() 729 command = IXGBE_READ_REG(hw, IXGBE_MSCA); in ixgbe_write_phy_reg_mdi() 2312 i2cctl = IXGBE_READ_REG(hw, IXGBE_I2CCTL_BY_MAC(hw)); in ixgbe_clock_out_i2c_byte() 2352 i2cctl = IXGBE_READ_REG(hw, IXGBE_I2CCTL_BY_MAC(hw)); in ixgbe_get_i2c_ack() 2398 i2cctl = IXGBE_READ_REG(hw, IXGBE_I2CCTL_BY_MAC(hw)); in ixgbe_clock_in_i2c_bit() 2538 *i2cctl = IXGBE_READ_REG(hw, IXGBE_I2CCTL_BY_MAC(hw)); in ixgbe_set_i2c_data() [all …]
|
| H A D | ixgbe_mbx.c | 268 u32 v2p_mailbox = IXGBE_READ_REG(hw, IXGBE_VFMAILBOX); in ixgbe_read_v2p_mailbox() 499 u32 mbvficr = IXGBE_READ_REG(hw, IXGBE_MBVFICR(index)); in ixgbe_check_for_bit_pf() 576 vflre = IXGBE_READ_REG(hw, IXGBE_VFLRE(reg_offset)); in ixgbe_check_for_rst_pf() 582 vflre = IXGBE_READ_REG(hw, IXGBE_VFLREC(reg_offset)); in ixgbe_check_for_rst_pf() 615 p2v_mailbox = IXGBE_READ_REG(hw, IXGBE_PFMAILBOX(vf_number)); in ixgbe_obtain_mbx_lock_pf()
|
| H A D | ixgbe_vf.c | 11 #define IXGBE_VFREAD_REG IXGBE_READ_REG 566 links_reg = IXGBE_READ_REG(hw, IXGBE_VFLINKS); in ixgbe_check_mac_link_vf() 578 links_reg = IXGBE_READ_REG(hw, IXGBE_VFLINKS); in ixgbe_check_mac_link_vf()
|
| /f-stack/dpdk/drivers/net/ixgbe/ |
| H A D | ixgbe_ethdev.c | 3188 bprc = IXGBE_READ_REG(hw, IXGBE_BPRC); in ixgbe_read_stats_registers() 3255 IXGBE_READ_REG(hw, IXGBE_LSECTXPKTE); in ixgbe_read_stats_registers() 3257 IXGBE_READ_REG(hw, IXGBE_LSECTXPKTP); in ixgbe_read_stats_registers() 3259 IXGBE_READ_REG(hw, IXGBE_LSECTXOCTE); in ixgbe_read_stats_registers() 3261 IXGBE_READ_REG(hw, IXGBE_LSECTXOCTP); in ixgbe_read_stats_registers() 3268 IXGBE_READ_REG(hw, IXGBE_LSECRXOCTD); in ixgbe_read_stats_registers() 3270 IXGBE_READ_REG(hw, IXGBE_LSECRXOCTV); in ixgbe_read_stats_registers() 3284 IXGBE_READ_REG(hw, IXGBE_LSECRXNUSA); in ixgbe_read_stats_registers() 5040 r = IXGBE_READ_REG(hw, reta_reg); in ixgbe_dev_rss_reta_update() 5086 reta = IXGBE_READ_REG(hw, reta_reg); in ixgbe_dev_rss_reta_query() [all …]
|
| H A D | ixgbe_pf.c | 228 vtctl = IXGBE_READ_REG(hw, IXGBE_VT_CTL); in ixgbe_pf_host_configure() 261 gcr_ext = IXGBE_READ_REG(hw, IXGBE_GCR_EXT); in ixgbe_pf_host_configure() 264 gpie = IXGBE_READ_REG(hw, IXGBE_GPIE); in ixgbe_pf_host_configure() 289 vlanctrl = IXGBE_READ_REG(hw, IXGBE_VLNCTRL); in ixgbe_pf_host_configure() 321 fctrl = IXGBE_READ_REG(hw, IXGBE_FCTRL); in set_rx_mode() 426 vmolr = IXGBE_READ_REG(hw, IXGBE_VMOLR(vf)); in ixgbe_disable_vf_mc_promisc() 574 max_frs = (IXGBE_READ_REG(hw, IXGBE_MAXFRS) & in ixgbe_set_vf_lpe() 577 hlreg0 = IXGBE_READ_REG(hw, IXGBE_HLREG0); in ixgbe_set_vf_lpe() 684 vmvir = IXGBE_READ_REG(hw, IXGBE_VMVIR(vf)); in ixgbe_get_vf_queues() 749 fctrl = IXGBE_READ_REG(hw, IXGBE_FCTRL); in ixgbe_set_vf_mc_promisc() [all …]
|
| H A D | ixgbe_rxtx.c | 3313 macc = IXGBE_READ_REG(hw, IXGBE_MACC); in ixgbe_setup_loopback_link_x540_x550() 3434 mrqc = IXGBE_READ_REG(hw, mrqc_reg); in ixgbe_rss_disable() 3517 mrqc = IXGBE_READ_REG(hw, mrqc_reg); in ixgbe_dev_rss_hash_update() 3559 mrqc = IXGBE_READ_REG(hw, mrqc_reg); in ixgbe_dev_rss_hash_conf_get() 5213 txctrl = IXGBE_READ_REG(hw, in ixgbe_dev_tx_init() 5226 txctrl = IXGBE_READ_REG(hw, in ixgbe_dev_tx_init() 5481 txdctl = IXGBE_READ_REG(hw, in ixgbe_dev_tx_queue_start() 5517 txtdh = IXGBE_READ_REG(hw, in ixgbe_dev_tx_queue_stop() 5519 txtdt = IXGBE_READ_REG(hw, in ixgbe_dev_tx_queue_stop() 5537 txdctl = IXGBE_READ_REG(hw, in ixgbe_dev_tx_queue_stop() [all …]
|
| H A D | rte_pmd_ixgbe.c | 162 ctrl = IXGBE_READ_REG(hw, IXGBE_VMVIR(vf)); in rte_pmd_ixgbe_set_vf_vlan_insert() 193 ctrl = IXGBE_READ_REG(hw, IXGBE_PFDTXGSWC); in rte_pmd_ixgbe_set_tx_loopback() 259 reg_value = IXGBE_READ_REG(hw, IXGBE_SRRCTL(vf)); in rte_pmd_ixgbe_set_vf_split_drop_en() 342 vmolr = IXGBE_READ_REG(hw, IXGBE_VMOLR(vf)); in rte_pmd_ixgbe_set_vf_rxmode() 402 reg = IXGBE_READ_REG(hw, addr); in rte_pmd_ixgbe_set_vf_rx() 452 reg = IXGBE_READ_REG(hw, addr); in rte_pmd_ixgbe_set_vf_tx() 797 fctrl = IXGBE_READ_REG(hw, IXGBE_FCTRL); in rte_pmd_ixgbe_upd_fctrl_sbp() 1081 command = IXGBE_READ_REG(hw, IXGBE_MSCA); in rte_pmd_ixgbe_mdio_unlocked_read() 1089 data = IXGBE_READ_REG(hw, IXGBE_MSRWD); in rte_pmd_ixgbe_mdio_unlocked_read() 1131 command = IXGBE_READ_REG(hw, IXGBE_MSCA); in rte_pmd_ixgbe_mdio_unlocked_write()
|
| H A D | ixgbe_fdir.c | 148 if (IXGBE_READ_REG(hw, IXGBE_FDIRCTRL) & in fdir_enable_82599() 509 fdirctrl = IXGBE_READ_REG(hw, IXGBE_FDIRCTRL); in ixgbe_fdir_set_flexbytes_offset() 518 if (IXGBE_READ_REG(hw, IXGBE_FDIRCTRL) & in ixgbe_fdir_set_flexbytes_offset() 556 fdirm = IXGBE_READ_REG(hw, IXGBE_FDIRM); in ixgbe_set_fdir_flex_conf() 807 *fdircmd = IXGBE_READ_REG(hw, IXGBE_FDIRCMD); in ixgbe_fdir_check_cmd_complete() 1258 fdirctrl = IXGBE_READ_REG(hw, IXGBE_FDIRCTRL); in ixgbe_fdir_info_get() 1318 reg = IXGBE_READ_REG(hw, IXGBE_FDIRFREE); in ixgbe_fdir_stats_get() 1324 reg = IXGBE_READ_REG(hw, IXGBE_FDIRLEN); in ixgbe_fdir_stats_get() 1330 reg = IXGBE_READ_REG(hw, IXGBE_FDIRUSTAT); in ixgbe_fdir_stats_get() 1336 reg = IXGBE_READ_REG(hw, IXGBE_FDIRFSTAT) & 0xFFFF; in ixgbe_fdir_stats_get() [all …]
|
| H A D | ixgbe_ipsec.c | 652 reg = IXGBE_READ_REG(hw, IXGBE_SECTXMINIFG); in ixgbe_crypto_enable_ipsec() 656 reg = IXGBE_READ_REG(hw, IXGBE_HLREG0); in ixgbe_crypto_enable_ipsec() 662 reg = IXGBE_READ_REG(hw, IXGBE_SECRXCTRL); in ixgbe_crypto_enable_ipsec() 671 reg = IXGBE_READ_REG(hw, IXGBE_SECTXCTRL); in ixgbe_crypto_enable_ipsec() 729 reg_i = IXGBE_READ_REG(hw, IXGBE_SECRXCTRL); in ixgbe_crypto_capable() 731 reg = IXGBE_READ_REG(hw, IXGBE_SECRXCTRL); in ixgbe_crypto_capable()
|
| H A D | ixgbe_bypass_api.h | 65 esdp = IXGBE_READ_REG(hw, IXGBE_ESDP); in ixgbe_bypass_rw_generic() 109 esdp = IXGBE_READ_REG(hw, IXGBE_ESDP); in ixgbe_bypass_rw_generic()
|
| H A D | ixgbe_82599_bypass.c | 99 u32 esdp_reg = IXGBE_READ_REG(hw, IXGBE_ESDP); in ixgbe_setup_mac_link_multispeed_fixed_fiber()
|
| H A D | ixgbe_regs.h | 318 reg_buf[i] = IXGBE_READ_REG(hw, in ixgbe_read_regs()
|