Home
last modified time | relevance | path

Searched refs:ieee_pfc (Results 1 – 25 of 27) sorted by relevance

12

/Linux-v4.19/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_dcb.c232 static int bnxt_hwrm_queue_pfc_cfg(struct bnxt *bp, struct ieee_pfc *pfc) in bnxt_hwrm_queue_pfc_cfg()
281 static int bnxt_hwrm_queue_pfc_qcfg(struct bnxt *bp, struct ieee_pfc *pfc) in bnxt_hwrm_queue_pfc_qcfg()
546 static int bnxt_dcbnl_ieee_getpfc(struct net_device *dev, struct ieee_pfc *pfc) in bnxt_dcbnl_ieee_getpfc()
550 struct ieee_pfc *my_pfc = bp->ieee_pfc; in bnxt_dcbnl_ieee_getpfc()
563 bp->ieee_pfc = my_pfc; in bnxt_dcbnl_ieee_getpfc()
586 static int bnxt_dcbnl_ieee_setpfc(struct net_device *dev, struct ieee_pfc *pfc) in bnxt_dcbnl_ieee_setpfc()
589 struct ieee_pfc *my_pfc = bp->ieee_pfc; in bnxt_dcbnl_ieee_setpfc()
600 bp->ieee_pfc = my_pfc; in bnxt_dcbnl_ieee_setpfc()
736 kfree(bp->ieee_pfc); in bnxt_dcb_free()
738 bp->ieee_pfc = NULL; in bnxt_dcb_free()
Dbnxt_dcb.h18 struct ieee_pfc *ieee_pfc; member
Dbnxt.h1280 struct ieee_pfc *ieee_pfc; member
/Linux-v4.19/include/net/
Ddcbnl.h68 int (*ieee_getpfc) (struct net_device *, struct ieee_pfc *);
69 int (*ieee_setpfc) (struct net_device *, struct ieee_pfc *);
74 int (*ieee_peer_getpfc) (struct net_device *, struct ieee_pfc *);
/Linux-v4.19/drivers/net/ethernet/hisilicon/hns3/
Dhns3_dcbnl.c30 int hns3_dcbnl_ieee_getpfc(struct net_device *ndev, struct ieee_pfc *pfc) in hns3_dcbnl_ieee_getpfc()
41 int hns3_dcbnl_ieee_setpfc(struct net_device *ndev, struct ieee_pfc *pfc) in hns3_dcbnl_ieee_setpfc()
Dhnae3.h418 int (*ieee_getpfc)(struct hnae3_handle *, struct ieee_pfc *);
419 int (*ieee_setpfc)(struct hnae3_handle *, struct ieee_pfc *);
/Linux-v4.19/drivers/net/ethernet/intel/fm10k/
Dfm10k_dcbnl.c77 static int fm10k_dcbnl_ieee_getpfc(struct net_device *dev, struct ieee_pfc *pfc) in fm10k_dcbnl_ieee_getpfc()
93 static int fm10k_dcbnl_ieee_setpfc(struct net_device *dev, struct ieee_pfc *pfc) in fm10k_dcbnl_ieee_setpfc()
/Linux-v4.19/drivers/net/ethernet/amd/xgbe/
Dxgbe-dcb.c211 struct ieee_pfc *pfc) in xgbe_dcb_ieee_getpfc()
228 struct ieee_pfc *pfc) in xgbe_dcb_ieee_setpfc()
Dxgbe-dev.c554 struct ieee_pfc *pfc = pdata->pfc; in xgbe_enable_tx_flow_control()
617 struct ieee_pfc *pfc = pdata->pfc; in xgbe_config_tx_flow_control()
629 struct ieee_pfc *pfc = pdata->pfc; in xgbe_config_rx_flow_control()
641 struct ieee_pfc *pfc = pdata->pfc; in xgbe_config_flow_control()
Dxgbe.h1214 struct ieee_pfc *pfc;
/Linux-v4.19/include/linux/qed/
Dqed_eth_if.h231 int (*ieee_getpfc)(struct qed_dev *cdev, struct ieee_pfc *pfc);
232 int (*ieee_setpfc)(struct qed_dev *cdev, struct ieee_pfc *pfc);
236 int (*ieee_peer_getpfc)(struct qed_dev *cdev, struct ieee_pfc *pfc);
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/en/
Dport_buffer.h69 struct ieee_pfc *pfc,
Dport_buffer.c233 struct ieee_pfc *pfc, in mlx5e_port_manual_buffer_config()
/Linux-v4.19/drivers/net/ethernet/qlogic/qede/
Dqede_dcbnl.c241 struct ieee_pfc *pfc) in qede_dcbnl_ieee_getpfc()
249 struct ieee_pfc *pfc) in qede_dcbnl_ieee_setpfc()
294 struct ieee_pfc *pfc) in qede_dcbnl_ieee_peer_getpfc()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_dcb.c535 struct ieee_pfc *my_pfc = mlxsw_sp_port->dcb.pfc; in mlxsw_sp_port_pfc_cnt_get()
552 struct ieee_pfc *pfc) in mlxsw_sp_dcbnl_ieee_getpfc()
572 struct ieee_pfc *pfc) in mlxsw_sp_port_pfc_set()
586 struct ieee_pfc *pfc) in mlxsw_sp_dcbnl_ieee_setpfc()
Dspectrum.h213 struct ieee_pfc *pfc;
342 struct ieee_pfc *my_pfc);
/Linux-v4.19/drivers/net/ethernet/intel/ixgbe/
Dixgbe_dcb_nl.c561 struct ieee_pfc *pfc) in ixgbe_dcbnl_ieee_getpfc()
564 struct ieee_pfc *my_pfc = adapter->ixgbe_ieee_pfc; in ixgbe_dcbnl_ieee_getpfc()
586 struct ieee_pfc *pfc) in ixgbe_dcbnl_ieee_setpfc()
597 adapter->ixgbe_ieee_pfc = kmalloc(sizeof(struct ieee_pfc), in ixgbe_dcbnl_ieee_setpfc()
717 struct ieee_pfc pfc = {0}; in ixgbe_dcbnl_setdcbx()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Den_dcbnl.c333 struct ieee_pfc *pfc) in mlx5e_dcbnl_ieee_getpfc()
353 struct ieee_pfc *pfc) in mlx5e_dcbnl_ieee_setpfc()
358 struct ieee_pfc pfc_new; in mlx5e_dcbnl_ieee_setpfc()
617 struct ieee_pfc pfc; in mlx5e_dcbnl_setall()
786 struct ieee_pfc pfc; in mlx5e_dcbnl_get_priority_pfc()
877 struct ieee_pfc pfc; in mlx5e_dcbnl_getpfcstate()
/Linux-v4.19/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_dcb.c200 static int hclge_ieee_getpfc(struct hnae3_handle *h, struct ieee_pfc *pfc) in hclge_ieee_getpfc()
236 static int hclge_ieee_setpfc(struct hnae3_handle *h, struct ieee_pfc *pfc) in hclge_ieee_setpfc()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/
Den_dcb_nl.c401 struct ieee_pfc *pfc) in mlx4_en_dcbnl_ieee_getpfc()
412 struct ieee_pfc *pfc) in mlx4_en_dcbnl_ieee_setpfc()
461 struct ieee_pfc pfc = {0}; in mlx4_en_dcbnl_setdcbx()
/Linux-v4.19/include/uapi/linux/
Ddcbnl.h157 struct ieee_pfc { struct
/Linux-v4.19/drivers/net/ethernet/intel/i40e/
Di40e_dcb_nl.c71 struct ieee_pfc *pfc) in i40e_dcbnl_ieee_getpfc()
/Linux-v4.19/net/dcb/
Ddcbnl.c174 [DCB_ATTR_IEEE_PFC] = {.len = sizeof(struct ieee_pfc)},
1091 struct ieee_pfc pfc; in dcbnl_ieee_fill()
1144 struct ieee_pfc pfc; in dcbnl_ieee_fill()
1462 struct ieee_pfc *pfc = nla_data(ieee[DCB_ATTR_IEEE_PFC]); in dcbnl_ieee_set()
/Linux-v4.19/drivers/net/ethernet/qlogic/qed/
Dqed_dcbx.c2061 struct ieee_pfc *pfc, bool remote) in qed_dcbnl_get_ieee_pfc()
2103 static int qed_dcbnl_ieee_getpfc(struct qed_dev *cdev, struct ieee_pfc *pfc) in qed_dcbnl_ieee_getpfc()
2108 static int qed_dcbnl_ieee_setpfc(struct qed_dev *cdev, struct ieee_pfc *pfc) in qed_dcbnl_ieee_setpfc()
2252 qed_dcbnl_ieee_peer_getpfc(struct qed_dev *cdev, struct ieee_pfc *pfc) in qed_dcbnl_ieee_peer_getpfc()
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_dcb.c986 static int cxgb4_ieee_get_pfc(struct net_device *dev, struct ieee_pfc *pfc) in cxgb4_ieee_get_pfc()
991 memset(pfc, 0, sizeof(struct ieee_pfc)); in cxgb4_ieee_get_pfc()

12