/Linux-v5.4/net/tipc/ |
D | monitor.c | 59 u64 up_map; member 125 static void map_set(u64 *up_map, int i, unsigned int v) in map_set() argument 127 *up_map &= ~(1ULL << i); in map_set() 128 *up_map |= ((u64)v << i); in map_set() 131 static int map_get(u64 up_map, int i) in map_get() argument 133 return (up_map & (1 << i)) >> i; in map_get() 194 if (!member->is_up || !map_get(dom_bef->up_map, i)) in mon_identify_lost_members() 208 if (!map_get(dom_aft->up_map, i)) in mon_identify_lost_members() 246 u64 prev_up_map = dom->up_map; in mon_update_local_domain() 262 map_set(&dom->up_map, i, peer->is_up); in mon_update_local_domain() [all …]
|
/Linux-v5.4/drivers/net/ethernet/qlogic/qede/ |
D | qede_dcbnl.c | 34 u8 *up_map) in qede_dcbnl_getpgtccfgtx() argument 39 pgid, bw_pct, up_map); in qede_dcbnl_getpgtccfgtx() 52 u8 *up_map) in qede_dcbnl_getpgtccfgrx() argument 57 up_map); in qede_dcbnl_getpgtccfgrx() 120 u8 pri_type, u8 pgid, u8 bw_pct, u8 up_map) in qede_dcbnl_setpgtccfgtx() argument 125 bw_pct, up_map); in qede_dcbnl_setpgtccfgtx() 129 u8 pri_type, u8 pgid, u8 bw_pct, u8 up_map) in qede_dcbnl_setpgtccfgrx() argument 134 bw_pct, up_map); in qede_dcbnl_setpgtccfgrx()
|
/Linux-v5.4/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_dcb_nl.c | 169 u8 up_map) in ixgbe_dcbnl_set_pg_tc_cfg_tx() argument 180 if (up_map != DCB_ATTR_VALUE_UNDEFINED) in ixgbe_dcbnl_set_pg_tc_cfg_tx() 182 up_map; in ixgbe_dcbnl_set_pg_tc_cfg_tx() 195 u8 up_map) in ixgbe_dcbnl_set_pg_tc_cfg_rx() argument 206 if (up_map != DCB_ATTR_VALUE_UNDEFINED) in ixgbe_dcbnl_set_pg_tc_cfg_rx() 208 up_map; in ixgbe_dcbnl_set_pg_tc_cfg_rx() 221 u8 *up_map) in ixgbe_dcbnl_get_pg_tc_cfg_tx() argument 228 *up_map = adapter->dcb_cfg.tc_config[tc].path[0].up_to_tc_bitmap; in ixgbe_dcbnl_get_pg_tc_cfg_tx() 241 u8 *up_map) in ixgbe_dcbnl_get_pg_tc_cfg_rx() argument 248 *up_map = adapter->dcb_cfg.tc_config[tc].path[1].up_to_tc_bitmap; in ixgbe_dcbnl_get_pg_tc_cfg_rx()
|
/Linux-v5.4/include/linux/qed/ |
D | qed_eth_if.h | 244 u8 *pgid, u8 *bw_pct, u8 *up_map); 247 u8 *pgid, u8 *bw_pct, u8 *up_map); 260 u8 pri_type, u8 pgid, u8 bw_pct, u8 up_map); 262 u8 pri_type, u8 pgid, u8 bw_pct, u8 up_map);
|
/Linux-v5.4/net/dcb/ |
D | dcbnl.c | 557 u8 prio, pgid, tc_pct, up_map; in __dcbnl_pg_getcfg() local 605 up_map = DCB_ATTR_VALUE_UNDEFINED; in __dcbnl_pg_getcfg() 611 &pgid, &tc_pct, &up_map); in __dcbnl_pg_getcfg() 616 &pgid, &tc_pct, &up_map); in __dcbnl_pg_getcfg() 629 DCB_TC_ATTR_PARAM_UP_MAPPING, up_map); in __dcbnl_pg_getcfg() 774 u8 up_map; in __dcbnl_pg_setcfg() local 807 up_map = DCB_ATTR_VALUE_UNDEFINED; in __dcbnl_pg_setcfg() 820 up_map = in __dcbnl_pg_setcfg() 828 prio, pgid, tc_pct, up_map); in __dcbnl_pg_setcfg() 833 prio, pgid, tc_pct, up_map); in __dcbnl_pg_setcfg() [all …]
|
/Linux-v5.4/drivers/net/ethernet/qlogic/qed/ |
D | qed_dcbx.c | 1377 u8 *pgid, u8 *bw_pct, u8 *up_map) in qed_dcbnl_getpgtccfgtx() argument 1383 *prio_type = *pgid = *bw_pct = *up_map = 0; in qed_dcbnl_getpgtccfgtx() 1419 u8 *bwg_id, u8 *bw_pct, u8 *up_map) in qed_dcbnl_getpgtccfgrx() argument 1422 *prio = *bwg_id = *bw_pct = *up_map = 0; in qed_dcbnl_getpgtccfgrx() 1591 u8 pri_type, u8 pgid, u8 bw_pct, u8 up_map) in qed_dcbnl_setpgtccfgtx() argument 1600 tc, pri_type, pgid, bw_pct, up_map); in qed_dcbnl_setpgtccfgtx() 1625 u8 pri_type, u8 pgid, u8 bw_pct, u8 up_map) in qed_dcbnl_setpgtccfgrx() argument
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_dcbnl.c | 688 u8 pgid, u8 bw_pct, u8 up_map) in mlx5e_dcbnl_setpgtccfgtx() argument 725 u8 *pgid, u8 *bw_pct, u8 *up_map) in mlx5e_dcbnl_getpgtccfgtx() argument 743 *up_map = 0; in mlx5e_dcbnl_getpgtccfgtx()
|
/Linux-v5.4/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_dcb.c | 1981 u8 up_map) in bnx2x_dcbnl_set_pg_tccfg_tx() argument 2021 u8 up_map) in bnx2x_dcbnl_set_pg_tccfg_rx() argument 2036 u8 *up_map) in bnx2x_dcbnl_get_pg_tccfg_tx() argument 2053 *up_map = *bw_pct = *prio_type = *pgid = 0; in bnx2x_dcbnl_get_pg_tccfg_tx() 2077 u8 *up_map) in bnx2x_dcbnl_get_pg_tccfg_rx() argument 2082 *prio_type = *pgid = *bw_pct = *up_map = 0; in bnx2x_dcbnl_get_pg_tccfg_rx()
|
/Linux-v5.4/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_dcb.c | 1004 u8 *pgid, u8 *bw_pct, u8 *up_map) in qlcnic_dcb_get_pg_tc_cfg_rx() argument 1006 *prio_type = *pgid = *bw_pct = *up_map = 0; in qlcnic_dcb_get_pg_tc_cfg_rx()
|