/linux-6.3-rc2/drivers/net/ethernet/broadcom/bnxt/ |
A D | bnxt_dcb.c | 40 static int bnxt_hwrm_queue_pri2cos_cfg(struct bnxt *bp, struct ieee_ets *ets) in bnxt_hwrm_queue_pri2cos_cfg() 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() 513 struct ieee_ets *my_ets = bp->ieee_ets; in bnxt_dcbnl_ieee_getets() 533 bp->ieee_ets = my_ets; in bnxt_dcbnl_ieee_getets() 550 struct ieee_ets *my_ets = bp->ieee_ets; in bnxt_dcbnl_ieee_setets() 567 bp->ieee_ets = my_ets; in bnxt_dcbnl_ieee_setets() 776 kfree(bp->ieee_ets); in bnxt_dcb_free() [all …]
|
A D | bnxt_dcb.h | 19 struct ieee_ets *ieee_ets; member
|
/linux-6.3-rc2/include/net/ |
A D | dcbnl.h | 66 int (*ieee_getets) (struct net_device *, struct ieee_ets *); 67 int (*ieee_setets) (struct net_device *, struct ieee_ets *); 78 int (*ieee_peer_getets) (struct net_device *, struct ieee_ets *);
|
/linux-6.3-rc2/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
A D | hclge_dcb.c | 12 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.3-rc2/drivers/net/ethernet/intel/fm10k/ |
A D | fm10k_dcbnl.c | 11 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.3-rc2/drivers/net/ethernet/hisilicon/hns3/ |
A D | hns3_dcbnl.c | 7 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()
|
A D | hnae3.h | 767 int (*ieee_getets)(struct hnae3_handle *, struct ieee_ets *); 768 int (*ieee_setets)(struct hnae3_handle *, struct ieee_ets *);
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx4/ |
A D | en_dcb_nl.c | 288 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()
|
A D | mlx4_en.h | 625 struct ieee_ets ets;
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlxsw/ |
A D | spectrum_dcb.c | 24 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.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | en_dcbnl.c | 107 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.3-rc2/drivers/net/ethernet/amd/xgbe/ |
A D | xgbe-dcb.c | 124 struct ieee_ets *ets) in xgbe_dcb_ieee_getets() 145 struct ieee_ets *ets) in xgbe_dcb_ieee_setets()
|
A D | xgbe.h | 1234 struct ieee_ets *ets;
|
/linux-6.3-rc2/include/linux/qed/ |
A D | qed_eth_if.h | 196 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.3-rc2/drivers/net/ethernet/qlogic/qede/ |
A D | qede_dcbnl.c | 255 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.3-rc2/drivers/net/ethernet/intel/ixgbe/ |
A D | ixgbe_dcb_nl.c | 486 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()
|
A D | ixgbe_dcb.h | 131 s32 ixgbe_dcb_hw_ets(struct ixgbe_hw *hw, struct ieee_ets *ets, int max);
|
A D | ixgbe_dcb.c | 303 s32 ixgbe_dcb_hw_ets(struct ixgbe_hw *hw, struct ieee_ets *ets, int max_frame) in ixgbe_dcb_hw_ets()
|
/linux-6.3-rc2/drivers/net/ethernet/netronome/nfp/nic/ |
A D | dcb.c | 70 struct ieee_ets *ets) in nfp_nic_dcbnl_ieee_getets() 209 static int dcb_ets_check(struct net_device *dev, struct ieee_ets *ets) in dcb_ets_check() 264 struct ieee_ets *ets) in nfp_nic_dcbnl_ieee_setets()
|
/linux-6.3-rc2/include/uapi/linux/ |
A D | dcbnl.h | 58 struct ieee_ets { struct
|
/linux-6.3-rc2/drivers/net/ethernet/chelsio/cxgb4/ |
A D | cxgb4_dcb.c | 940 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.3-rc2/drivers/net/ethernet/intel/i40e/ |
A D | i40e_dcb_nl.c | 36 struct ieee_ets *ets) in i40e_dcbnl_ieee_getets() 107 struct ieee_ets *ets) in i40e_dcbnl_ieee_setets()
|
/linux-6.3-rc2/drivers/net/ethernet/intel/ice/ |
A D | ice_dcb_nl.c | 32 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.3-rc2/net/dcb/ |
A D | dcbnl.c | 162 [DCB_ATTR_IEEE_ETS] = {.len = sizeof(struct ieee_ets)}, 1155 struct ieee_ets ets; in dcbnl_ieee_fill() 1274 struct ieee_ets ets; in dcbnl_ieee_fill() 1581 struct ieee_ets *ets = nla_data(ieee[DCB_ATTR_IEEE_ETS]); in dcbnl_ieee_set()
|
/linux-6.3-rc2/drivers/net/ethernet/qlogic/qed/ |
A D | qed_dcbx.c | 2123 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()
|