Home
last modified time | relevance | path

Searched refs:ieee_ets (Results 1 – 25 of 29) sorted by relevance

12

/Linux-v4.19/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_dcb.c39 static int bnxt_hwrm_queue_pri2cos_cfg(struct bnxt *bp, struct ieee_ets *ets) in bnxt_hwrm_queue_pri2cos_cfg()
63 static int bnxt_hwrm_queue_pri2cos_qcfg(struct bnxt *bp, struct ieee_ets *ets) in bnxt_hwrm_queue_pri2cos_qcfg()
91 static int bnxt_hwrm_queue_cos2bw_cfg(struct bnxt *bp, struct ieee_ets *ets, in bnxt_hwrm_queue_cos2bw_cfg()
135 static int bnxt_hwrm_queue_cos2bw_qcfg(struct bnxt *bp, struct ieee_ets *ets) in bnxt_hwrm_queue_cos2bw_qcfg()
213 if (bp->ieee_ets) { in bnxt_queue_remap()
218 rc = bnxt_hwrm_queue_cos2bw_cfg(bp, bp->ieee_ets, tc); in bnxt_queue_remap()
223 rc = bnxt_hwrm_queue_pri2cos_cfg(bp, bp->ieee_ets); in bnxt_queue_remap()
235 struct ieee_ets *my_ets = bp->ieee_ets; in bnxt_hwrm_queue_pfc_cfg()
443 static int bnxt_ets_validate(struct bnxt *bp, struct ieee_ets *ets, u8 *tc) in bnxt_ets_validate()
478 static int bnxt_dcbnl_ieee_getets(struct net_device *dev, struct ieee_ets *ets) in bnxt_dcbnl_ieee_getets()
[all …]
Dbnxt_dcb.h19 struct ieee_ets *ieee_ets; member
Dbnxt.h1281 struct ieee_ets *ieee_ets; member
/Linux-v4.19/include/net/
Ddcbnl.h61 int (*ieee_getets) (struct net_device *, struct ieee_ets *);
62 int (*ieee_setets) (struct net_device *, struct ieee_ets *);
73 int (*ieee_peer_getets) (struct net_device *, struct ieee_ets *);
/Linux-v4.19/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_dcb.c11 struct ieee_ets *ets) in hclge_ieee_ets_to_tm_info()
42 struct ieee_ets *ets) in hclge_tm_info_to_ieee_ets()
63 static int hclge_ieee_getets(struct hnae3_handle *h, struct ieee_ets *ets) in hclge_ieee_getets()
73 static int hclge_ets_validate(struct hclge_dev *hdev, struct ieee_ets *ets, in hclge_ets_validate()
169 static int hclge_ieee_setets(struct hnae3_handle *h, struct ieee_ets *ets) in hclge_ieee_setets()
/Linux-v4.19/drivers/net/ethernet/hisilicon/hns3/
Dhns3_dcbnl.c8 int hns3_dcbnl_ieee_getets(struct net_device *ndev, struct ieee_ets *ets) in hns3_dcbnl_ieee_getets()
19 int hns3_dcbnl_ieee_setets(struct net_device *ndev, struct ieee_ets *ets) in hns3_dcbnl_ieee_setets()
Dhnae3.h416 int (*ieee_getets)(struct hnae3_handle *, struct ieee_ets *);
417 int (*ieee_setets)(struct hnae3_handle *, struct ieee_ets *);
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_dcb.c24 struct ieee_ets *ets) in mlxsw_sp_dcbnl_ieee_getets()
34 struct ieee_ets *ets) in mlxsw_sp_port_ets_validate()
114 struct ieee_ets *ets) in mlxsw_sp_port_headroom_set()
117 struct ieee_ets *my_ets = mlxsw_sp_port->dcb.ets; in mlxsw_sp_port_headroom_set()
151 struct ieee_ets *ets) in __mlxsw_sp_dcbnl_ieee_setets()
153 struct ieee_ets *my_ets = mlxsw_sp_port->dcb.ets; in __mlxsw_sp_dcbnl_ieee_setets()
208 struct ieee_ets *ets) in mlxsw_sp_dcbnl_ieee_setets()
Dspectrum.h211 struct ieee_ets *ets;
/Linux-v4.19/drivers/net/ethernet/intel/fm10k/
Dfm10k_dcbnl.c11 static int fm10k_dcbnl_ieee_getets(struct net_device *dev, struct ieee_ets *ets) in fm10k_dcbnl_ieee_getets()
36 static int fm10k_dcbnl_ieee_setets(struct net_device *dev, struct ieee_ets *ets) in fm10k_dcbnl_ieee_setets()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/
Den_dcb_nl.c288 struct ieee_ets *ets) in mlx4_en_dcbnl_ieee_getets()
291 struct ieee_ets *my_ets = &priv->ets; in mlx4_en_dcbnl_ieee_getets()
305 static int mlx4_en_ets_validate(struct mlx4_en_priv *priv, struct ieee_ets *ets) in mlx4_en_ets_validate()
343 struct ieee_ets *ets, u16 *ratelimit) in mlx4_en_config_port_scheduler()
377 mlx4_en_dcbnl_ieee_setets(struct net_device *dev, struct ieee_ets *ets) in mlx4_en_dcbnl_ieee_setets()
460 struct ieee_ets ets = {0}; in mlx4_en_dcbnl_setdcbx()
Dmlx4_en.h629 struct ieee_ets ets;
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Den_dcbnl.c99 struct ieee_ets *ets) in mlx5e_dcbnl_ieee_getets()
154 static void mlx5e_build_tc_group(struct ieee_ets *ets, u8 *tc_group, int max_tc) in mlx5e_build_tc_group()
193 static void mlx5e_build_tc_tx_bw(struct ieee_ets *ets, u8 *tc_tx_bw, in mlx5e_build_tc_tx_bw()
241 int mlx5e_dcbnl_ieee_setets_core(struct mlx5e_priv *priv, struct ieee_ets *ets) in mlx5e_dcbnl_ieee_setets_core()
278 struct ieee_ets *ets, in mlx5e_dbcnl_validate_ets()
313 struct ieee_ets *ets) in mlx5e_dcbnl_ieee_setets()
616 struct ieee_ets ets; in mlx5e_dcbnl_setall()
752 struct ieee_ets ets; in mlx5e_dcbnl_getpgbwgcfgtx()
1031 struct ieee_ets ets; in mlx5e_ets_init()
/Linux-v4.19/drivers/net/ethernet/amd/xgbe/
Dxgbe-dcb.c124 struct ieee_ets *ets) in xgbe_dcb_ieee_getets()
145 struct ieee_ets *ets) in xgbe_dcb_ieee_setets()
Dxgbe.h1213 struct ieee_ets *ets;
/Linux-v4.19/include/linux/qed/
Dqed_eth_if.h233 int (*ieee_getets)(struct qed_dev *cdev, struct ieee_ets *ets);
234 int (*ieee_setets)(struct qed_dev *cdev, struct ieee_ets *ets);
235 int (*ieee_peer_getets)(struct qed_dev *cdev, struct ieee_ets *ets);
/Linux-v4.19/drivers/net/ethernet/qlogic/qede/
Dqede_dcbnl.c257 struct ieee_ets *ets) in qede_dcbnl_ieee_getets()
265 struct ieee_ets *ets) in qede_dcbnl_ieee_setets()
302 struct ieee_ets *ets) in qede_dcbnl_ieee_peer_getets()
/Linux-v4.19/drivers/net/ethernet/intel/ixgbe/
Dixgbe_dcb_nl.c488 struct ieee_ets *ets) in ixgbe_dcbnl_ieee_getets()
491 struct ieee_ets *my_ets = adapter->ixgbe_ieee_ets; in ixgbe_dcbnl_ieee_getets()
508 struct ieee_ets *ets) in ixgbe_dcbnl_ieee_setets()
520 adapter->ixgbe_ieee_ets = kmalloc(sizeof(struct ieee_ets), in ixgbe_dcbnl_ieee_setets()
716 struct ieee_ets ets = {0}; in ixgbe_dcbnl_setdcbx()
Dixgbe_dcb.h131 s32 ixgbe_dcb_hw_ets(struct ixgbe_hw *hw, struct ieee_ets *ets, int max);
Dixgbe_dcb.c303 s32 ixgbe_dcb_hw_ets(struct ixgbe_hw *hw, struct ieee_ets *ets, int max_frame) in ixgbe_dcb_hw_ets()
/Linux-v4.19/include/uapi/linux/
Ddcbnl.h58 struct ieee_ets { struct
/Linux-v4.19/drivers/net/ethernet/intel/i40e/
Di40e_dcb_nl.c32 struct ieee_ets *ets) in i40e_dcbnl_ieee_getets()
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_dcb.c925 static int cxgb4_ieee_read_ets(struct net_device *dev, struct ieee_ets *ets, in cxgb4_ieee_read_ets()
980 static int cxgb4_ieee_get_ets(struct net_device *dev, struct ieee_ets *ets) in cxgb4_ieee_get_ets()
1002 static int cxgb4_ieee_peer_ets(struct net_device *dev, struct ieee_ets *ets) in cxgb4_ieee_peer_ets()
/Linux-v4.19/net/dcb/
Ddcbnl.c173 [DCB_ATTR_IEEE_ETS] = {.len = sizeof(struct ieee_ets)},
1044 struct ieee_ets ets; in dcbnl_ieee_fill()
1135 struct ieee_ets ets; in dcbnl_ieee_fill()
1438 struct ieee_ets *ets = nla_data(ieee[DCB_ATTR_IEEE_ETS]); in dcbnl_ieee_set()
/Linux-v4.19/drivers/net/ethernet/qlogic/qed/
Dqed_dcbx.c2151 struct ieee_ets *ets, bool remote) in qed_dcbnl_get_ieee_ets()
2193 static int qed_dcbnl_ieee_getets(struct qed_dev *cdev, struct ieee_ets *ets) in qed_dcbnl_ieee_getets()
2198 static int qed_dcbnl_ieee_setets(struct qed_dev *cdev, struct ieee_ets *ets) in qed_dcbnl_ieee_setets()
2246 qed_dcbnl_ieee_peer_getets(struct qed_dev *cdev, struct ieee_ets *ets) in qed_dcbnl_ieee_peer_getets()

12