/openbmc/linux/drivers/net/phy/ |
H A D | linkmode.c | 5 * linkmode_resolve_pause - resolve the allowable pause modes 8 * @tx_pause: pointer to bool to indicate whether transmit pause should be 10 * @rx_pause: pointer to bool to indicate whether receive pause should be 16 * Pause AsymDir Pause AsymDir Result 47 * linkmode_set_pause - set the pause mode advertisement 52 * Configure the advertised Pause and Asym_Pause bits according to the 56 * tx rx Pause AsymDir 68 * Pause AsymDir Pause AsymDir Result 73 * pause frames: 76 * Pause AsymDir Pause AsymDir Result [all …]
|
H A D | phylink.c | 148 phylink_set(tmp, Pause); in phylink_is_empty_linkmode() 257 * Set all possible pause, speed and duplex linkmodes in @linkmodes that are 569 /* The MAC must support asymmetric pause towards the local in phylink_get_capabilities() 570 * device for this. We could allow just symmetric pause, but in phylink_get_capabilities() 572 * doesn't support pause. This is because there's no way to in phylink_get_capabilities() 573 * accept pause frames without transmitting them if we only in phylink_get_capabilities() 574 * support symmetric pause. in phylink_get_capabilities() 754 bool pause, asym_pause, autoneg; in phylink_parse_fixedlink() local 770 /* We treat the "pause" and "asym-pause" terminology as in phylink_parse_fixedlink() 773 if (fwnode_property_read_bool(fixed_node, "pause")) in phylink_parse_fixedlink() [all …]
|
/openbmc/linux/drivers/net/ethernet/qlogic/netxen/ |
H A D | netxen_nic_hw.h | 31 * Bit 4 : tx_flowctl => 1:enable pause frame generation, 0:disable 32 * Bit 5 : rx_flowctl => 1:act on recv'd pause frames, 0:ignore 106 * NIU XG Pause Ctl Register 108 * Bit 0 : xg0_mask => 1:disable tx pause frames 109 * Bit 1 : xg0_request => 1:request single pause frame 110 * Bit 2 : xg0_on_off => 1:request is pause on, 0:off 111 * Bit 3 : xg1_mask => 1:disable tx pause frames 112 * Bit 4 : xg1_request => 1:request single pause frame 113 * Bit 5 : xg1_on_off => 1:request is pause on, 0:off 132 * NIU XG Pause Ctl Register [all …]
|
/openbmc/linux/drivers/net/ethernet/oki-semi/pch_gbe/ |
H A D | pch_gbe_ethtool.c | 376 * pch_gbe_get_pauseparam - Report pause parameters 378 * @pause: Pause parameters structure 381 struct ethtool_pauseparam *pause) in pch_gbe_get_pauseparam() argument 386 pause->autoneg = in pch_gbe_get_pauseparam() 390 pause->rx_pause = 1; in pch_gbe_get_pauseparam() 392 pause->tx_pause = 1; in pch_gbe_get_pauseparam() 394 pause->rx_pause = 1; in pch_gbe_get_pauseparam() 395 pause->tx_pause = 1; in pch_gbe_get_pauseparam() 400 * pch_gbe_set_pauseparam - Set pause parameters 402 * @pause: Pause parameters structure [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 219 | 30 with iotests.Timeout(3, "Timeout waiting for job to pause"): 37 # Test that block-job-pause/resume and job-pause/resume can be mixed 39 for pause_cmd, pause_arg in [('block-job-pause', 'device'), 40 ('job-pause', 'id')]: 97 # pause/resume should work, complete/finalize/dismiss should error out 99 iotests.log('Pause/resume in RUNNING') 120 # pause/resume/complete should work, finalize/dismiss should error out 122 iotests.log('Pause/resume in READY') 145 # finalize should work, pause/complete/dismiss should error out 148 iotests.log(vm.qmp('job-pause', id='job0')) [all …]
|
H A D | 219.out | 10 Pause/resume in RUNNING 11 === Testing block-job-pause/block-job-resume === 18 === Testing block-job-pause/job-resume === 25 === Testing job-pause/block-job-resume === 32 === Testing job-pause/job-resume === 51 Pause/resume in READY 52 === Testing block-job-pause/block-job-resume === 59 === Testing block-job-pause/job-resume === 66 === Testing job-pause/block-job-resume === 73 === Testing job-pause/job-resume === [all …]
|
/openbmc/linux/drivers/slimbus/ |
H A D | sched.c | 11 * 'clock pause' 13 * @wakeup: Wakeup this controller from clock pause. 14 * @restart: Restart time value per spec used for clock pause. This value 20 * To exit clock-pause, controller typically wakes up active framer device. 21 * This API executes clock pause reconfiguration sequence if wakeup is false. 23 * For entering clock-pause, -EBUSY is returned if a message txn in pending. 53 pr_err("Previous clock pause did not finish"); in slim_ctrl_clk_pause() 61 * out of clock pause in slim_ctrl_clk_pause() 91 /* clock pause sequence */ in slim_ctrl_clk_pause()
|
/openbmc/linux/drivers/net/ethernet/asix/ |
H A D | ax88796c_ioctl.c | 45 ax88796c_get_pauseparam(struct net_device *ndev, struct ethtool_pauseparam *pause) in ax88796c_get_pauseparam() argument 49 pause->tx_pause = !!(ax_local->flowctrl & AX_FC_TX); in ax88796c_get_pauseparam() 50 pause->rx_pause = !!(ax_local->flowctrl & AX_FC_RX); in ax88796c_get_pauseparam() 51 pause->autoneg = (ax_local->flowctrl & AX_FC_ANEG) ? in ax88796c_get_pauseparam() 57 ax88796c_set_pauseparam(struct net_device *ndev, struct ethtool_pauseparam *pause) in ax88796c_set_pauseparam() argument 63 fc = pause->tx_pause ? AX_FC_TX : 0; in ax88796c_set_pauseparam() 64 fc |= pause->rx_pause ? AX_FC_RX : 0; in ax88796c_set_pauseparam() 65 fc |= pause->autoneg ? AX_FC_ANEG : 0; in ax88796c_set_pauseparam() 69 if (pause->autoneg) { in ax88796c_set_pauseparam() 70 phy_set_asym_pause(ax_local->phydev, pause->tx_pause, in ax88796c_set_pauseparam() [all …]
|
/openbmc/linux/drivers/net/ethernet/brocade/bna/ |
H A D | bfa_defs_cna.h | 84 u64 rx_pause; /*!< Rx pause */ 85 u64 rx_zero_pause; /*!< Rx zero pause */ 86 u64 tx_pause; /*!< Tx pause */ 87 u64 tx_zero_pause; /*!< Tx zero pause */ 88 u64 rx_fcoe_pause; /*!< Rx FCoE pause */ 89 u64 rx_fcoe_zero_pause; /*!< Rx FCoE zero pause */ 90 u64 tx_fcoe_pause; /*!< Tx FCoE pause */ 91 u64 tx_fcoe_zero_pause; /*!< Tx FCoE zero pause */ 92 u64 rx_iscsi_pause; /*!< Rx iSCSI pause */ 93 u64 rx_iscsi_zero_pause; /*!< Rx iSCSI zero pause */ [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/igc/ |
H A D | igc_mac.c | 89 * ability to transmit pause frames is not enabled, then these in igc_set_fc_watermarks() 130 * to the both 'rx' and 'tx' pause frames. in igc_setup_link() 148 /* Initialize the flow control address, type, and PAUSE timer in igc_setup_link() 193 * 1: Rx flow control is enabled (we can receive pause in igc_force_mac_fc() 194 * frames but not send pause frames). in igc_force_mac_fc() 195 * 2: Tx flow control is enabled (we can send pause frames in igc_force_mac_fc() 196 * but we do not receive pause frames). in igc_force_mac_fc() 514 * 1999, describes these PAUSE resolution bits and how flow in igc_config_fc_after_link_up() 519 * PAUSE | ASM_DIR | PAUSE | ASM_DIR | NIC Resolution in igc_config_fc_after_link_up() 530 * Are both PAUSE bits set to 1? If so, this implies in igc_config_fc_after_link_up() [all …]
|
/openbmc/qemu/tests/migration/guestperf/ |
H A D | comparison.py | 30 Comparison("pause-iters", scenarios = [ 31 Scenario("pause-iters-0", 32 pause=True, pause_iters=0), 33 Scenario("pause-iters-1", 34 pause=True, pause_iters=1), 35 Scenario("pause-iters-5", 36 pause=True, pause_iters=5), 37 Scenario("pause-iters-20", 38 pause=True, pause_iters=20),
|
/openbmc/linux/drivers/net/ethernet/qualcomm/emac/ |
H A D | emac-ethtool.c | 98 strcpy(data, "single-pause-mode"); in emac_get_strings() 174 struct ethtool_pauseparam *pause) in emac_get_pauseparam() argument 178 pause->autoneg = adpt->automatic ? AUTONEG_ENABLE : AUTONEG_DISABLE; in emac_get_pauseparam() 179 pause->rx_pause = adpt->rx_flow_control ? 1 : 0; in emac_get_pauseparam() 180 pause->tx_pause = adpt->tx_flow_control ? 1 : 0; in emac_get_pauseparam() 184 struct ethtool_pauseparam *pause) in emac_set_pauseparam() argument 188 adpt->automatic = pause->autoneg == AUTONEG_ENABLE; in emac_set_pauseparam() 189 adpt->rx_flow_control = pause->rx_pause != 0; in emac_set_pauseparam() 190 adpt->tx_flow_control = pause->tx_pause != 0; in emac_set_pauseparam()
|
/openbmc/linux/drivers/net/netdevsim/ |
H A D | ethtool.c | 23 nsim_get_pauseparam(struct net_device *dev, struct ethtool_pauseparam *pause) in nsim_get_pauseparam() argument 27 pause->autoneg = 0; /* We don't support ksettings, so can't pretend */ in nsim_get_pauseparam() 28 pause->rx_pause = ns->ethtool.pauseparam.rx; in nsim_get_pauseparam() 29 pause->tx_pause = ns->ethtool.pauseparam.tx; in nsim_get_pauseparam() 33 nsim_set_pauseparam(struct net_device *dev, struct ethtool_pauseparam *pause) in nsim_set_pauseparam() argument 37 if (pause->autoneg) in nsim_set_pauseparam() 40 ns->ethtool.pauseparam.rx = pause->rx_pause; in nsim_set_pauseparam() 41 ns->ethtool.pauseparam.tx = pause->tx_pause; in nsim_set_pauseparam() 195 dir = debugfs_create_dir("pause", ethtool); in nsim_ethtool_init()
|
/openbmc/linux/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_phylink.c | 58 conf.pause = 0; in sparx5_phylink_mac_link_up() 59 conf.pause |= tx_pause ? MLO_PAUSE_TX : 0; in sparx5_phylink_mac_link_up() 60 conf.pause |= rx_pause ? MLO_PAUSE_RX : 0; in sparx5_phylink_mac_link_up() 62 /* Configure the port to speed/duplex/pause */ in sparx5_phylink_mac_link_up() 91 state->pause = status.pause; in sparx5_pcs_get_state() 110 if (phylink_test(advertising, Pause)) in sparx5_pcs_config()
|
/openbmc/linux/drivers/net/ethernet/intel/e1000e/ |
H A D | mac.c | 634 * that determine the hardware's default PAUSE (flow control) mode, in e1000_set_default_fc_generic() 699 /* Initialize the flow control address, type, and PAUSE timer in e1000e_setup_link_generic() 728 * software will have to set the "PAUSE" bits to the correct value in in e1000_commit_fc_settings_generic() 736 * 1: Rx flow control is enabled (we can receive pause frames, in e1000_commit_fc_settings_generic() 737 * but not send pause frames). in e1000_commit_fc_settings_generic() 738 * 2: Tx flow control is enabled (we can send pause frames but we in e1000_commit_fc_settings_generic() 739 * do not support receiving pause frames). in e1000_commit_fc_settings_generic() 750 * advertise that we are capable of Rx Pause ONLY, we will in e1000_commit_fc_settings_generic() 752 * PAUSE. Later, we will disable the adapter's ability to send in e1000_commit_fc_settings_generic() 753 * PAUSE frames. in e1000_commit_fc_settings_generic() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/net/ |
H A D | ethernet-controller.yaml | 187 Pause configuration. 0 for no pause, 1 for pause 191 Asymmetric pause configuration. 0 for no asymmetric 192 pause, 1 for asymmetric pause 208 pause: 211 Indicates that pause should be enabled. 213 asym-pause:
|
/openbmc/u-boot/drivers/net/phy/ |
H A D | fixed.c | 39 priv->pause = fdtdec_get_bool(gd->fdt_blob, ofnode, "pause"); in fixedphy_probe() 40 priv->asym_pause = fdtdec_get_bool(gd->fdt_blob, ofnode, "asym-pause"); in fixedphy_probe() 53 phydev->pause = priv->pause; in fixedphy_startup()
|
/openbmc/linux/drivers/net/ethernet/intel/igb/ |
H A D | e1000_mac.c | 710 /* Initialize the flow control address, type, and PAUSE timer in igb_setup_link() 765 * ability to transmit pause frames is not enabled, then these in igb_set_fc_watermarks() 797 * that determine the hardware's default PAUSE (flow control) mode, in igb_set_default_fc() 854 * 1: Rx flow control is enabled (we can receive pause in igb_force_mac_fc() 855 * frames but not send pause frames). in igb_force_mac_fc() 856 * 2: Tx flow control is enabled (we can send pause frames in igb_force_mac_fc() 857 * but we do not receive pause frames). in igb_force_mac_fc() 969 * 1999, describes these PAUSE resolution bits and how flow in igb_config_fc_after_link_up() 974 * PAUSE | ASM_DIR | PAUSE | ASM_DIR | NIC Resolution in igb_config_fc_after_link_up() 985 * Are both PAUSE bits set to 1? If so, this implies in igb_config_fc_after_link_up() [all …]
|
/openbmc/linux/arch/sparc/include/asm/ |
H A D | backoff.h | 28 * For SPARC-T4 and later we have a special "pause" instruction 32 * implements pause with a granularity of 8 cycles. Each strand has 33 * an internal pause counter which decrements every 8 cycles. So the 35 * into the pause counter. If a value smaller than 8 is written, the 41 * whole amount we want to block into the pause register, rather than
|
/openbmc/qemu/qapi/ |
H A D | run-state.json | 28 # pause on I/O errors 46 # @watchdog: the watchdog action is configured to pause and has been 284 # .. note:: If action is "reset", "shutdown", or "pause" the WATCHDOG 314 # @pause: system pauses, similar to @stop 326 'data': [ 'reset', 'shutdown', 'poweroff', 'pause', 'debug', 'none', 351 # @pause: pause the VM 356 'data': [ 'poweroff', 'pause' ] } 363 # @pause: Pause the VM 374 'data': [ 'pause', 'shutdown', 'exit-failure', 'none' ] } 413 # "shutdown" : "pause", [all …]
|
/openbmc/linux/include/linux/ |
H A D | phylink.h | 44 * autonegotiation advertisement. They correspond to the PAUSE and 175 * @pause: link pause state, described by MLO_PAUSE_* constants. 189 int pause; member 212 * @mac_capabilities: MAC pause/speed/duplex capabilities. 349 * or pause modes or to change the in-band advertisement. 351 * In all negotiation modes, as defined by @mode, @state->pause indicates the 352 * pause settings which should be applied as follows. If %MLO_PAUSE_AN is not 354 * pause frames and/or act on received pause frames respectively. Otherwise, 356 * to control the MAC pause mode settings. 368 * @state->duplex and @state->pause to configure the MAC, but this is [all …]
|
/openbmc/linux/drivers/net/ethernet/davicom/ |
H A D | dm9051.c | 86 * @pause: ethtool pause parameter structure 109 struct ethtool_pauseparam pause; member 262 if (db->pause.rx_pause) in dm9051_set_fcr() 264 if (db->pause.tx_pause) in dm9051_set_fcr() 293 ret = regmap_write(db->regmap_dm, DM9051_PPCR, PPCR_PAUSE_COUNT); /* Pause Count */ in dm9051_core_reset() 307 if (db->pause.rx_pause) in dm9051_update_fcr() 309 if (db->pause.tx_pause) in dm9051_update_fcr() 633 struct ethtool_pauseparam *pause) in dm9051_get_pauseparam() argument 637 *pause = db->pause; in dm9051_get_pauseparam() 641 struct ethtool_pauseparam *pause) in dm9051_set_pauseparam() argument [all …]
|
/openbmc/linux/tools/testing/selftests/drivers/net/netdevsim/ |
H A D | ethtool-pause.sh | 16 echo n > $NSIM_DEV_DFS/ethtool/pause/report_stats_tx 17 echo n > $NSIM_DEV_DFS/ethtool/pause/report_stats_rx 25 echo y > $NSIM_DEV_DFS/ethtool/pause/report_stats_tx 33 echo y > $NSIM_DEV_DFS/ethtool/pause/report_stats_rx
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | gre_gso.sh | 15 PAUSE=no 42 if [ "${PAUSE}" = "yes" ]; then 181 -p Pause on fail 182 -P Pause after each test before cleanup 195 P) PAUSE=yes;; 204 # make sure we don't pause twice 205 [ "${PAUSE}" = "yes" ] && PAUSE_ON_FAIL=no
|
/openbmc/linux/net/ipv4/ |
H A D | tcp_plb.c | 94 u32 pause; in tcp_plb_update_state_upon_rto() local 99 pause = READ_ONCE(net->ipv4.sysctl_tcp_plb_suspend_rto_sec) * HZ; in tcp_plb_update_state_upon_rto() 100 pause += get_random_u32_below(pause); in tcp_plb_update_state_upon_rto() 101 plb->pause_until = tcp_jiffies32 + pause; in tcp_plb_update_state_upon_rto()
|