/linux/net/tipc/ |
H A D | monitor.c | 59 u64 up_map; member 155 static void map_set(u64 *up_map, int i, unsigned int v) in map_set() argument 157 *up_map &= ~(1ULL << i); in map_set() 158 *up_map |= ((u64)v << i); in map_set() 161 static int map_get(u64 up_map, int i) in map_get() argument 163 return (up_map & (1ULL << i)) >> i; in map_get() 224 if (!member->is_up || !map_get(dom_bef->up_map, i)) in mon_identify_lost_members() 238 if (!map_get(dom_aft->up_map, i)) in mon_identify_lost_members() 276 u64 prev_up_map = dom->up_map; in mon_update_local_domain() 292 map_set(&dom->up_map, i, peer->is_up); in mon_update_local_domain() [all …]
|
/linux/drivers/net/ethernet/qlogic/qede/ |
H A D | qede_dcbnl.c | 35 u8 *up_map) in qede_dcbnl_getpgtccfgtx() argument 40 pgid, bw_pct, up_map); in qede_dcbnl_getpgtccfgtx() 53 u8 *up_map) in qede_dcbnl_getpgtccfgrx() argument 58 up_map); in qede_dcbnl_getpgtccfgrx() 121 u8 pri_type, u8 pgid, u8 bw_pct, u8 up_map) in qede_dcbnl_setpgtccfgtx() argument 126 bw_pct, up_map); in qede_dcbnl_setpgtccfgtx() 130 u8 pri_type, u8 pgid, u8 bw_pct, u8 up_map) in qede_dcbnl_setpgtccfgrx() argument 135 bw_pct, up_map); in qede_dcbnl_setpgtccfgrx()
|
/linux/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_dcb_nl.c | 167 u8 up_map) in ixgbe_dcbnl_set_pg_tc_cfg_tx() argument 178 if (up_map != DCB_ATTR_VALUE_UNDEFINED) in ixgbe_dcbnl_set_pg_tc_cfg_tx() 180 up_map; in ixgbe_dcbnl_set_pg_tc_cfg_tx() 193 u8 up_map) in ixgbe_dcbnl_set_pg_tc_cfg_rx() argument 204 if (up_map != DCB_ATTR_VALUE_UNDEFINED) in ixgbe_dcbnl_set_pg_tc_cfg_rx() 206 up_map; in ixgbe_dcbnl_set_pg_tc_cfg_rx() 219 u8 *up_map) in ixgbe_dcbnl_get_pg_tc_cfg_tx() argument 226 *up_map = adapter->dcb_cfg.tc_config[tc].path[0].up_to_tc_bitmap; in ixgbe_dcbnl_get_pg_tc_cfg_tx() 239 u8 *up_map) in ixgbe_dcbnl_get_pg_tc_cfg_rx() argument 246 *up_map = adapter->dcb_cfg.tc_config[tc].path[1].up_to_tc_bitmap; in ixgbe_dcbnl_get_pg_tc_cfg_rx()
|
/linux/include/linux/qed/ |
H A D | qed_eth_if.h | 207 u8 *pgid, u8 *bw_pct, u8 *up_map); 210 u8 *pgid, u8 *bw_pct, u8 *up_map); 223 u8 pri_type, u8 pgid, u8 bw_pct, u8 up_map); 225 u8 pri_type, u8 pgid, u8 bw_pct, u8 up_map);
|
/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_dcb_nl.c | 367 u8 up_map) in i40e_dcbnl_set_pg_tc_cfg_tx() argument 384 if (up_map & BIT(i)) in i40e_dcbnl_set_pg_tc_cfg_tx() 390 tc, bwg_id, prio_type, bw_pct, up_map); in i40e_dcbnl_set_pg_tc_cfg_tx() 436 u8 __always_unused up_map) in i40e_dcbnl_set_pg_tc_cfg_rx() argument 475 u8 __always_unused *up_map) in i40e_dcbnl_get_pg_tc_cfg_tx() argument 531 u8 *up_map) in i40e_dcbnl_get_pg_tc_cfg_rx() argument
|
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_dcb_nl.c | 436 u8 __always_unused *up_map) in ice_dcbnl_get_pg_tc_cfg_tx() argument 466 u8 __always_unused bw_pct, u8 up_map) in ice_dcbnl_set_pg_tc_cfg_tx() argument 489 if (up_map & BIT(i)) in ice_dcbnl_set_pg_tc_cfg_tx() 561 u8 __always_unused *up_map) in ice_dcbnl_get_pg_tc_cfg_rx() argument 593 u8 __always_unused up_map) in ice_dcbnl_set_pg_tc_cfg_rx() argument
|
/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_dcbx.c | 1350 u8 *pgid, u8 *bw_pct, u8 *up_map) in qed_dcbnl_getpgtccfgtx() argument 1356 *prio_type = *pgid = *bw_pct = *up_map = 0; in qed_dcbnl_getpgtccfgtx() 1392 u8 *bwg_id, u8 *bw_pct, u8 *up_map) in qed_dcbnl_getpgtccfgrx() argument 1395 *prio = *bwg_id = *bw_pct = *up_map = 0; in qed_dcbnl_getpgtccfgrx() 1564 u8 pri_type, u8 pgid, u8 bw_pct, u8 up_map) in qed_dcbnl_setpgtccfgtx() argument 1573 tc, pri_type, pgid, bw_pct, up_map); in qed_dcbnl_setpgtccfgtx() 1598 u8 pri_type, u8 pgid, u8 bw_pct, u8 up_map) in qed_dcbnl_setpgtccfgrx() argument
|
/linux/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_dcb.c | 1980 u8 up_map) in bnx2x_dcbnl_set_pg_tccfg_tx() argument 2020 u8 up_map) in bnx2x_dcbnl_set_pg_tccfg_rx() argument 2035 u8 *up_map) in bnx2x_dcbnl_get_pg_tccfg_tx() argument 2052 *up_map = *bw_pct = *prio_type = *pgid = 0; in bnx2x_dcbnl_get_pg_tccfg_tx() 2076 u8 *up_map) in bnx2x_dcbnl_get_pg_tccfg_rx() argument 2081 *prio_type = *pgid = *bw_pct = *up_map = 0; in bnx2x_dcbnl_get_pg_tccfg_rx()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_dcbnl.c | 698 u8 pgid, u8 bw_pct, u8 up_map) in mlx5e_dcbnl_setpgtccfgtx() argument 735 u8 *pgid, u8 *bw_pct, u8 *up_map) in mlx5e_dcbnl_getpgtccfgtx() argument 753 *up_map = 0; in mlx5e_dcbnl_getpgtccfgtx()
|
/linux/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_dcb.c | 1003 u8 *pgid, u8 *bw_pct, u8 *up_map) in qlcnic_dcb_get_pg_tc_cfg_rx() argument 1005 *prio_type = *pgid = *bw_pct = *up_map = 0; in qlcnic_dcb_get_pg_tc_cfg_rx()
|
/linux/drivers/infiniband/hw/irdma/ |
H A D | type.h | 1463 } up_map; member
|
H A D | ctrl.c | 5126 status = irdma_sc_set_up_map(pcmdinfo->in.u.up_map.cqp, in irdma_exec_cqp_cmd() 5127 &pcmdinfo->in.u.up_map.info, in irdma_exec_cqp_cmd() 5128 pcmdinfo->in.u.up_map.scratch); in irdma_exec_cqp_cmd()
|