/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/ |
H A D | ice_dcb_nl.c | 73 if (pf->lag && pf->lag->bonded) { in ice_dcbnl_setets() 178 if (pf->lag && pf->lag->bonded) { in ice_dcbnl_setdcbx() 274 if (pf->lag && pf->lag->bonded) { in ice_dcbnl_setpfc() 341 if (pf->lag && pf->lag->bonded) { in ice_dcbnl_set_pfc_cfg() 402 if (pf->lag && pf->lag->bonded) { in ice_dcbnl_setstate() 479 if (pf->lag && pf->lag->bonded) { in ice_dcbnl_set_pg_tc_cfg_tx() 538 if (pf->lag && pf->lag->bonded) { in ice_dcbnl_set_pg_bwg_cfg_tx() 763 if (pf->lag && pf->lag->bonded) { in ice_dcbnl_setapp() 879 if (pf->lag && pf->lag->bonded) { in ice_dcbnl_delapp() 985 if (pf->lag && pf->lag->bonded) { in ice_dcbnl_cee_set_all() [all...] |
H A D | ice_lag.c | 275 const char *name, *upper, *role, *bonded, *primary; in ice_display_lag_info() local 281 bonded = lag->bonded ? "BONDED" : "UNBONDED"; in ice_display_lag_info() 300 dev_dbg(dev, "%s %s, upper:%s, role:%s, primary:%s\n", name, bonded, in ice_display_lag_info() 628 if (!lag->bonded) in ice_lag_move_new_vf_nodes() 638 lag->bonded && lag->primary && pri_port != act_port && in ice_lag_move_new_vf_nodes() 768 if (event_netdev != lag->netdev || !lag->bonded || !lag->upper_netdev) in ice_lag_info_event() 927 if (lag->bonded) in ice_lag_link() 931 lag->bonded = true; in ice_lag_link() 945 if (!lag->bonded) { in ice_lag_unlink() [all...] |
H A D | ice_lag.h | 39 u8 bonded:1; /* currently bonded */ member
|
H A D | ice_vf_lib.c | 852 if (lag && lag->bonded && lag->primary) { in ice_reset_vf() 953 if (lag && lag->bonded && lag->primary && in ice_reset_vf()
|
H A D | ice_virtchnl.c | 1603 if (lag && lag->bonded && lag->primary) { in ice_vc_cfg_qs_msg() 1719 if (lag && lag->bonded && lag->primary && in ice_vc_cfg_qs_msg() 1738 if (lag && lag->bonded && lag->primary && in ice_vc_cfg_qs_msg()
|
H A D | ice_main.c | 640 if (pf->lag && pf->lag->bonded && reset_type == ICE_RESET_PFR) { in ice_do_reset() 641 dev_dbg(dev, "PFR on a bonded interface, promoting to CORER\n"); in ice_do_reset() 730 if (pf->lag && pf->lag->bonded) { in ice_reset_subtask() 731 dev_dbg(ice_pf_to_dev(pf), "PFR on a bonded interface, promoting to CORER\n"); in ice_reset_subtask()
|
/kernel/linux/linux-5.10/drivers/thunderbolt/ |
H A D | path.c | 224 * that the lanes may be bonded. 274 /* When lanes are bonded primary link must be used */ in tb_path_alloc() 275 if (!in_port->bonded && in_port->dual_link_port && in tb_path_alloc() 289 * Pick up right port when going from non-bonded to in tb_path_alloc() 290 * bonded or from bonded to non-bonded. in tb_path_alloc() 293 if (!in_port->bonded && out_port->bonded && in tb_path_alloc() 297 * non-bonded t in tb_path_alloc() [all...] |
H A D | test.c | 147 u64 route, bool bonded) in alloc_dev_default() 263 if (bonded) { in alloc_dev_default() 265 port->bonded = true; in alloc_dev_default() 266 port->dual_link_port->bonded = true; in alloc_dev_default() 267 upstream_port->bonded = true; in alloc_dev_default() 268 upstream_port->dual_link_port->bonded = true; in alloc_dev_default() 277 u64 route, bool bonded) in alloc_dev_with_dpin() 281 sw = alloc_dev_default(test, parent, route, bonded); in alloc_dev_with_dpin() 808 * disabled or both lanes are bonded). in tb_test_path_not_bonded_lane1() 1027 * is bonded in tb_test_path_mixed_chain() 145 alloc_dev_default(struct kunit *test, struct tb_switch *parent, u64 route, bool bonded) alloc_dev_default() argument 275 alloc_dev_with_dpin(struct kunit *test, struct tb_switch *parent, u64 route, bool bonded) alloc_dev_with_dpin() argument [all...] |
H A D | switch.c | 1022 port->bonded = true; in tb_port_lane_bonding_enable() 1023 port->dual_link_port->bonded = true; in tb_port_lane_bonding_enable() 1030 port->dual_link_port->bonded = false; in tb_port_lane_bonding_disable() 1031 port->bonded = false; in tb_port_lane_bonding_disable() 2284 * lanes are bonded. It is safe to call this to any switch. 2337 * if lanes were not bonded originally. 2348 if (!up->bonded) in tb_switch_lane_bonding_disable()
|
H A D | tb.h | 192 * @bonded: true if the port is bonded (two lanes combined as one) 211 bool bonded; member
|
H A D | tb.c | 339 link_width = port->bonded ? 2 : 1; in tb_available_bandwidth()
|
/kernel/linux/linux-6.6/drivers/thunderbolt/ |
H A D | path.c | 234 * that the lanes may be bonded. 286 /* When lanes are bonded primary link must be used */ in tb_path_alloc() 287 if (!in_port->bonded && in_port->dual_link_port && in tb_path_alloc() 301 * Pick up right port when going from non-bonded to in tb_path_alloc() 302 * bonded or from bonded to non-bonded. in tb_path_alloc() 305 if (!in_port->bonded && out_port->bonded && in tb_path_alloc() 309 * non-bonded t in tb_path_alloc() [all...] |
H A D | test.c | 192 u64 route, bool bonded) in alloc_dev_default() 324 if (bonded) { in alloc_dev_default() 326 port->bonded = true; in alloc_dev_default() 328 port->dual_link_port->bonded = true; in alloc_dev_default() 330 upstream_port->bonded = true; in alloc_dev_default() 332 upstream_port->dual_link_port->bonded = true; in alloc_dev_default() 342 u64 route, bool bonded) in alloc_dev_with_dpin() 346 sw = alloc_dev_default(test, parent, route, bonded); in alloc_dev_with_dpin() 363 u64 route, bool bonded) in alloc_dev_without_dp() 368 sw = alloc_dev_default(test, parent, route, bonded); in alloc_dev_without_dp() 190 alloc_dev_default(struct kunit *test, struct tb_switch *parent, u64 route, bool bonded) alloc_dev_default() argument 340 alloc_dev_with_dpin(struct kunit *test, struct tb_switch *parent, u64 route, bool bonded) alloc_dev_with_dpin() argument 361 alloc_dev_without_dp(struct kunit *test, struct tb_switch *parent, u64 route, bool bonded) alloc_dev_without_dp() argument 402 alloc_dev_usb4(struct kunit *test, struct tb_switch *parent, u64 route, bool bonded) alloc_dev_usb4() argument [all...] |
H A D | clx.c | 74 if (!port->bonded && port->dual_link_port) in tb_port_clx_supported()
|
H A D | switch.c | 1051 * actually reach the bonded state so caller needs to call 1082 * Only set bonding if the link was not already bonded. This in tb_port_lane_bonding_enable() 1095 port->bonded = true; in tb_port_lane_bonding_enable() 1096 port->dual_link_port->bonded = true; in tb_port_lane_bonding_enable() 1120 port->dual_link_port->bonded = false; in tb_port_lane_bonding_disable() 1121 port->bonded = false; in tb_port_lane_bonding_disable() 1130 * Should be used after both ends of the link have been bonded (or 1195 * After the link is bonded (or bonding was disabled) the port total 2706 * lanes are bonded. It is safe to call this to any switch. 2748 /* Any of the widths are all bonded */ in tb_switch_lane_bonding_enable() [all...] |
H A D | xdomain.c | 1349 * link to transition bonded. in tb_xdomain_bond_lanes_uuid_high() 1372 port->bonded = width > TB_LINK_WIDTH_SINGLE; in tb_xdomain_bond_lanes_uuid_high() 1373 port->dual_link_port->bonded = width > TB_LINK_WIDTH_SINGLE; in tb_xdomain_bond_lanes_uuid_high() 1461 if (!port->bonded) in tb_xdomain_get_properties() 2070 /* Any of the widths are all bonded */ in tb_xdomain_lane_bonding_enable()
|
H A D | tunnel.c | 220 credits = port->bonded ? 32 : 16; in tb_pci_init_credits() 1377 * @link_nr: Preferred lane adapter when the link is not bonded 1481 credits = port->bonded ? 14 : 6; in tb_dma_reserve_credits() 1858 credits = port->bonded ? 32 : 16; in tb_usb3_init_credits()
|
H A D | tb.h | 166 * Note @link_width is not the same as whether link is bonded or not. 167 * For Gen 4 links the link is also bonded when it is asymmetric. The 168 * correct way to find out whether the link is bonded or not is to look 169 * @bonded field of the upstream port. 248 * @bonded: true if the port is bonded (two lanes combined as one) 280 bool bonded; member
|