Home
last modified time | relevance | path

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

12

/linux-5.19.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_dcb.c241 static int bnxt_hwrm_queue_pfc_cfg(struct bnxt *bp, struct ieee_pfc *pfc) in bnxt_hwrm_queue_pfc_cfg()
289 static int bnxt_hwrm_queue_pfc_qcfg(struct bnxt *bp, struct ieee_pfc *pfc) in bnxt_hwrm_queue_pfc_qcfg()
583 static int bnxt_dcbnl_ieee_getpfc(struct net_device *dev, struct ieee_pfc *pfc) in bnxt_dcbnl_ieee_getpfc()
587 struct ieee_pfc *my_pfc = bp->ieee_pfc; in bnxt_dcbnl_ieee_getpfc()
600 bp->ieee_pfc = my_pfc; in bnxt_dcbnl_ieee_getpfc()
623 static int bnxt_dcbnl_ieee_setpfc(struct net_device *dev, struct ieee_pfc *pfc) in bnxt_dcbnl_ieee_setpfc()
626 struct ieee_pfc *my_pfc = bp->ieee_pfc; in bnxt_dcbnl_ieee_setpfc()
638 bp->ieee_pfc = my_pfc; in bnxt_dcbnl_ieee_setpfc()
775 kfree(bp->ieee_pfc); in bnxt_dcb_free()
777 bp->ieee_pfc = NULL; in bnxt_dcb_free()
Dbnxt_dcb.h18 struct ieee_pfc *ieee_pfc; member
/linux-5.19.10/include/net/
Ddcbnl.h57 int (*ieee_getpfc) (struct net_device *, struct ieee_pfc *);
58 int (*ieee_setpfc) (struct net_device *, struct ieee_pfc *);
63 int (*ieee_peer_getpfc) (struct net_device *, struct ieee_pfc *);
/linux-5.19.10/drivers/net/ethernet/hisilicon/hns3/
Dhns3_dcbnl.c33 static int hns3_dcbnl_ieee_getpfc(struct net_device *ndev, struct ieee_pfc *pfc) in hns3_dcbnl_ieee_getpfc()
46 static int hns3_dcbnl_ieee_setpfc(struct net_device *ndev, struct ieee_pfc *pfc) in hns3_dcbnl_ieee_setpfc()
Dhnae3.h746 int (*ieee_getpfc)(struct hnae3_handle *, struct ieee_pfc *);
747 int (*ieee_setpfc)(struct hnae3_handle *, struct ieee_pfc *);
/linux-5.19.10/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-5.19.10/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth-dcb.c7 struct ieee_pfc *pfc) in dpaa2_eth_dcbnl_ieee_getpfc()
62 struct ieee_pfc *pfc) in dpaa2_eth_dcbnl_ieee_setpfc()
Ddpaa2-eth.h575 struct ieee_pfc pfc;
/linux-5.19.10/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_dcbnl.c113 static int otx2_dcbnl_ieee_getpfc(struct net_device *dev, struct ieee_pfc *pfc) in otx2_dcbnl_ieee_getpfc()
123 static int otx2_dcbnl_ieee_setpfc(struct net_device *dev, struct ieee_pfc *pfc) in otx2_dcbnl_ieee_setpfc()
/linux-5.19.10/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()
/linux-5.19.10/include/linux/qed/
Dqed_eth_if.h194 int (*ieee_getpfc)(struct qed_dev *cdev, struct ieee_pfc *pfc);
195 int (*ieee_setpfc)(struct qed_dev *cdev, struct ieee_pfc *pfc);
199 int (*ieee_peer_getpfc)(struct qed_dev *cdev, struct ieee_pfc *pfc);
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/en/
Dport_buffer.h68 struct ieee_pfc *pfc,
Dport_buffer.c265 struct ieee_pfc *pfc, in mlx5e_port_manual_buffer_config()
/linux-5.19.10/drivers/net/ethernet/qlogic/qede/
Dqede_dcbnl.c239 struct ieee_pfc *pfc) in qede_dcbnl_ieee_getpfc()
247 struct ieee_pfc *pfc) in qede_dcbnl_ieee_setpfc()
292 struct ieee_pfc *pfc) in qede_dcbnl_ieee_peer_getpfc()
/linux-5.19.10/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-5.19.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_dcb.c481 struct ieee_pfc *my_pfc = mlxsw_sp_port->dcb.pfc; in mlxsw_sp_port_pfc_cnt_get()
498 struct ieee_pfc *pfc) in mlxsw_sp_dcbnl_ieee_getpfc()
518 struct ieee_pfc *pfc) in mlxsw_sp_port_pfc_set()
532 struct ieee_pfc *pfc) in mlxsw_sp_dcbnl_ieee_setpfc()
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_dcbnl.c341 struct ieee_pfc *pfc) in mlx5e_dcbnl_ieee_getpfc()
361 struct ieee_pfc *pfc) in mlx5e_dcbnl_ieee_setpfc()
366 struct ieee_pfc pfc_new; in mlx5e_dcbnl_ieee_setpfc()
625 struct ieee_pfc pfc; in mlx5e_dcbnl_setall()
794 struct ieee_pfc pfc; in mlx5e_dcbnl_get_priority_pfc()
885 struct ieee_pfc pfc; in mlx5e_dcbnl_getpfcstate()
/linux-5.19.10/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-5.19.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_dcb.c287 static int hclge_ieee_getpfc(struct hnae3_handle *h, struct ieee_pfc *pfc) in hclge_ieee_getpfc()
310 static int hclge_ieee_setpfc(struct hnae3_handle *h, struct ieee_pfc *pfc) in hclge_ieee_setpfc()
/linux-5.19.10/include/uapi/linux/
Ddcbnl.h157 struct ieee_pfc { struct
/linux-5.19.10/drivers/net/ethernet/intel/i40e/
Di40e_dcb_nl.c74 struct ieee_pfc *pfc) in i40e_dcbnl_ieee_getpfc()
155 struct ieee_pfc *pfc) in i40e_dcbnl_ieee_setpfc()
/linux-5.19.10/drivers/net/ethernet/intel/ice/
Dice_dcb_nl.c228 static int ice_dcbnl_getpfc(struct net_device *netdev, struct ieee_pfc *pfc) in ice_dcbnl_getpfc()
254 static int ice_dcbnl_setpfc(struct net_device *netdev, struct ieee_pfc *pfc) in ice_dcbnl_setpfc()
/linux-5.19.10/net/dcb/
Ddcbnl.c163 [DCB_ATTR_IEEE_PFC] = {.len = sizeof(struct ieee_pfc)},
1094 struct ieee_pfc pfc; in dcbnl_ieee_fill()
1147 struct ieee_pfc pfc; in dcbnl_ieee_fill()
1469 struct ieee_pfc *pfc = nla_data(ieee[DCB_ATTR_IEEE_PFC]); in dcbnl_ieee_set()
/linux-5.19.10/drivers/net/ethernet/qlogic/qed/
Dqed_dcbx.c2033 struct ieee_pfc *pfc, bool remote) in qed_dcbnl_get_ieee_pfc()
2075 static int qed_dcbnl_ieee_getpfc(struct qed_dev *cdev, struct ieee_pfc *pfc) in qed_dcbnl_ieee_getpfc()
2080 static int qed_dcbnl_ieee_setpfc(struct qed_dev *cdev, struct ieee_pfc *pfc) in qed_dcbnl_ieee_setpfc()
2224 qed_dcbnl_ieee_peer_getpfc(struct qed_dev *cdev, struct ieee_pfc *pfc) in qed_dcbnl_ieee_peer_getpfc()
/linux-5.19.10/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_dcb.c1001 static int cxgb4_ieee_get_pfc(struct net_device *dev, struct ieee_pfc *pfc) in cxgb4_ieee_get_pfc()
1006 memset(pfc, 0, sizeof(struct ieee_pfc)); in cxgb4_ieee_get_pfc()

12