Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_dcb.c40 static int bnxt_hwrm_queue_pri2cos_cfg(struct bnxt *bp, struct ieee_ets *ets) in bnxt_hwrm_queue_pri2cos_cfg()
66 static int bnxt_hwrm_queue_pri2cos_qcfg(struct bnxt *bp, struct ieee_ets *ets) in bnxt_hwrm_queue_pri2cos_qcfg()
96 static int bnxt_hwrm_queue_cos2bw_cfg(struct bnxt *bp, struct ieee_ets *ets, in bnxt_hwrm_queue_cos2bw_cfg()
142 static int bnxt_hwrm_queue_cos2bw_qcfg(struct bnxt *bp, struct ieee_ets *ets) in bnxt_hwrm_queue_cos2bw_qcfg()
222 if (bp->ieee_ets) { in bnxt_queue_remap()
227 rc = bnxt_hwrm_queue_cos2bw_cfg(bp, bp->ieee_ets, tc); in bnxt_queue_remap()
232 rc = bnxt_hwrm_queue_pri2cos_cfg(bp, bp->ieee_ets); in bnxt_queue_remap()
244 struct ieee_ets *my_ets = bp->ieee_ets; in bnxt_hwrm_queue_pfc_cfg()
464 static int bnxt_ets_validate(struct bnxt *bp, struct ieee_ets *ets, u8 *tc) in bnxt_ets_validate()
510 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.h1954 struct ieee_ets *ieee_ets; member
/linux-6.1.9/include/net/
Ddcbnl.h52 int (*ieee_getets) (struct net_device *, struct ieee_ets *);
53 int (*ieee_setets) (struct net_device *, struct ieee_ets *);
64 int (*ieee_peer_getets) (struct net_device *, struct ieee_ets *);
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_dcb.c12 struct ieee_ets *ets) in hclge_ieee_ets_to_tm_info()
45 struct ieee_ets *ets) in hclge_tm_info_to_ieee_ets()
66 static int hclge_ieee_getets(struct hnae3_handle *h, struct ieee_ets *ets) in hclge_ieee_getets()
107 static u8 hclge_ets_tc_changed(struct hclge_dev *hdev, struct ieee_ets *ets, in hclge_ets_tc_changed()
126 struct ieee_ets *ets, bool *changed) in hclge_ets_sch_mode_validate()
167 static int hclge_ets_validate(struct hclge_dev *hdev, struct ieee_ets *ets, in hclge_ets_validate()
233 static int hclge_ieee_setets(struct hnae3_handle *h, struct ieee_ets *ets) in hclge_ieee_setets()
/linux-6.1.9/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-6.1.9/drivers/net/ethernet/hisilicon/hns3/
Dhns3_dcbnl.c7 static int hns3_dcbnl_ieee_getets(struct net_device *ndev, struct ieee_ets *ets) in hns3_dcbnl_ieee_getets()
20 static int hns3_dcbnl_ieee_setets(struct net_device *ndev, struct ieee_ets *ets) in hns3_dcbnl_ieee_setets()
Dhnae3.h766 int (*ieee_getets)(struct hnae3_handle *, struct ieee_ets *);
767 int (*ieee_setets)(struct hnae3_handle *, struct ieee_ets *);
/linux-6.1.9/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()
68 struct ieee_ets *ets) in mlxsw_sp_port_headroom_ets_set()
92 struct ieee_ets *ets) in __mlxsw_sp_dcbnl_ieee_setets()
94 struct ieee_ets *my_ets = mlxsw_sp_port->dcb.ets; in __mlxsw_sp_dcbnl_ieee_setets()
149 struct ieee_ets *ets) in mlxsw_sp_dcbnl_ieee_setets()
/linux-6.1.9/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.h617 struct ieee_ets ets;
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Den_dcbnl.c107 struct ieee_ets *ets) in mlx5e_dcbnl_ieee_getets()
162 static void mlx5e_build_tc_group(struct ieee_ets *ets, u8 *tc_group, int max_tc) in mlx5e_build_tc_group()
201 static void mlx5e_build_tc_tx_bw(struct ieee_ets *ets, u8 *tc_tx_bw, in mlx5e_build_tc_tx_bw()
249 static int mlx5e_dcbnl_ieee_setets_core(struct mlx5e_priv *priv, struct ieee_ets *ets) in mlx5e_dcbnl_ieee_setets_core()
286 struct ieee_ets *ets, in mlx5e_dbcnl_validate_ets()
321 struct ieee_ets *ets) in mlx5e_dcbnl_ieee_setets()
624 struct ieee_ets ets; in mlx5e_dcbnl_setall()
760 struct ieee_ets ets; in mlx5e_dcbnl_getpgbwgcfgtx()
1048 struct ieee_ets ets; in mlx5e_ets_init()
/linux-6.1.9/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.h1228 struct ieee_ets *ets;
/linux-6.1.9/include/linux/qed/
Dqed_eth_if.h196 int (*ieee_getets)(struct qed_dev *cdev, struct ieee_ets *ets);
197 int (*ieee_setets)(struct qed_dev *cdev, struct ieee_ets *ets);
198 int (*ieee_peer_getets)(struct qed_dev *cdev, struct ieee_ets *ets);
/linux-6.1.9/drivers/net/ethernet/qlogic/qede/
Dqede_dcbnl.c255 struct ieee_ets *ets) in qede_dcbnl_ieee_getets()
263 struct ieee_ets *ets) in qede_dcbnl_ieee_setets()
300 struct ieee_ets *ets) in qede_dcbnl_ieee_peer_getets()
/linux-6.1.9/drivers/net/ethernet/intel/ixgbe/
Dixgbe_dcb_nl.c486 struct ieee_ets *ets) in ixgbe_dcbnl_ieee_getets()
489 struct ieee_ets *my_ets = adapter->ixgbe_ieee_ets; in ixgbe_dcbnl_ieee_getets()
506 struct ieee_ets *ets) in ixgbe_dcbnl_ieee_setets()
518 adapter->ixgbe_ieee_ets = kmalloc(sizeof(struct ieee_ets), in ixgbe_dcbnl_ieee_setets()
714 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-6.1.9/include/uapi/linux/
Ddcbnl.h58 struct ieee_ets { struct
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_dcb.c940 static int cxgb4_ieee_read_ets(struct net_device *dev, struct ieee_ets *ets, in cxgb4_ieee_read_ets()
995 static int cxgb4_ieee_get_ets(struct net_device *dev, struct ieee_ets *ets) in cxgb4_ieee_get_ets()
1017 static int cxgb4_ieee_peer_ets(struct net_device *dev, struct ieee_ets *ets) in cxgb4_ieee_peer_ets()
/linux-6.1.9/drivers/net/ethernet/intel/i40e/
Di40e_dcb_nl.c36 struct ieee_ets *ets) in i40e_dcbnl_ieee_getets()
107 struct ieee_ets *ets) in i40e_dcbnl_ieee_setets()
/linux-6.1.9/drivers/net/ethernet/intel/ice/
Dice_dcb_nl.c32 static int ice_dcbnl_getets(struct net_device *netdev, struct ieee_ets *ets) in ice_dcbnl_getets()
62 static int ice_dcbnl_setets(struct net_device *netdev, struct ieee_ets *ets) in ice_dcbnl_setets()
/linux-6.1.9/net/dcb/
Ddcbnl.c162 [DCB_ATTR_IEEE_ETS] = {.len = sizeof(struct ieee_ets)},
1047 struct ieee_ets ets; in dcbnl_ieee_fill()
1138 struct ieee_ets ets; in dcbnl_ieee_fill()
1445 struct ieee_ets *ets = nla_data(ieee[DCB_ATTR_IEEE_ETS]); in dcbnl_ieee_set()
/linux-6.1.9/drivers/net/ethernet/qlogic/qed/
Dqed_dcbx.c2123 struct ieee_ets *ets, bool remote) in qed_dcbnl_get_ieee_ets()
2165 static int qed_dcbnl_ieee_getets(struct qed_dev *cdev, struct ieee_ets *ets) in qed_dcbnl_ieee_getets()
2170 static int qed_dcbnl_ieee_setets(struct qed_dev *cdev, struct ieee_ets *ets) in qed_dcbnl_ieee_setets()
2218 qed_dcbnl_ieee_peer_getets(struct qed_dev *cdev, struct ieee_ets *ets) in qed_dcbnl_ieee_peer_getets()

12