Home
last modified time | relevance | path

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

12

/linux-6.12.1/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_dcb.c249 static int bnxt_hwrm_queue_pfc_cfg(struct bnxt *bp, struct ieee_pfc *pfc) in bnxt_hwrm_queue_pfc_cfg()
297 static int bnxt_hwrm_queue_pfc_qcfg(struct bnxt *bp, struct ieee_pfc *pfc) in bnxt_hwrm_queue_pfc_qcfg()
591 static int bnxt_dcbnl_ieee_getpfc(struct net_device *dev, struct ieee_pfc *pfc) in bnxt_dcbnl_ieee_getpfc()
595 struct ieee_pfc *my_pfc = bp->ieee_pfc; in bnxt_dcbnl_ieee_getpfc()
608 bp->ieee_pfc = my_pfc; in bnxt_dcbnl_ieee_getpfc()
631 static int bnxt_dcbnl_ieee_setpfc(struct net_device *dev, struct ieee_pfc *pfc) in bnxt_dcbnl_ieee_setpfc()
634 struct ieee_pfc *my_pfc = bp->ieee_pfc; in bnxt_dcbnl_ieee_setpfc()
646 bp->ieee_pfc = my_pfc; in bnxt_dcbnl_ieee_setpfc()
783 kfree(bp->ieee_pfc); in bnxt_dcb_free()
785 bp->ieee_pfc = NULL; in bnxt_dcb_free()
Dbnxt_dcb.h18 struct ieee_pfc *ieee_pfc; member
/linux-6.12.1/include/net/
Ddcbnl.h73 int (*ieee_getpfc) (struct net_device *, struct ieee_pfc *);
74 int (*ieee_setpfc) (struct net_device *, struct ieee_pfc *);
79 int (*ieee_peer_getpfc) (struct net_device *, struct ieee_pfc *);
/linux-6.12.1/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-6.12.1/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.h805 int (*ieee_getpfc)(struct hnae3_handle *, struct ieee_pfc *);
806 int (*ieee_setpfc)(struct hnae3_handle *, struct ieee_pfc *);
/linux-6.12.1/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.h611 struct ieee_pfc pfc;
/linux-6.12.1/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-6.12.1/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-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/
Dport_buffer.h71 struct ieee_pfc *pfc,
Dport_buffer.c483 struct ieee_pfc *pfc, in mlx5e_port_manual_buffer_config()
/linux-6.12.1/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-6.12.1/drivers/net/ethernet/intel/ixgbe/
Dixgbe_dcb_nl.c559 struct ieee_pfc *pfc) in ixgbe_dcbnl_ieee_getpfc()
562 struct ieee_pfc *my_pfc = adapter->ixgbe_ieee_pfc; in ixgbe_dcbnl_ieee_getpfc()
584 struct ieee_pfc *pfc) in ixgbe_dcbnl_ieee_setpfc()
595 adapter->ixgbe_ieee_pfc = kmalloc(sizeof(struct ieee_pfc), in ixgbe_dcbnl_ieee_setpfc()
715 struct ieee_pfc pfc = {0}; in ixgbe_dcbnl_setdcbx()
/linux-6.12.1/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-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/
Den_dcbnl.c343 struct ieee_pfc *pfc) in mlx5e_dcbnl_ieee_getpfc()
363 struct ieee_pfc *pfc) in mlx5e_dcbnl_ieee_setpfc()
368 struct ieee_pfc pfc_new; in mlx5e_dcbnl_ieee_setpfc()
627 struct ieee_pfc pfc; in mlx5e_dcbnl_setall()
796 struct ieee_pfc pfc; in mlx5e_dcbnl_get_priority_pfc()
887 struct ieee_pfc pfc; in mlx5e_dcbnl_getpfcstate()
/linux-6.12.1/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-6.12.1/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_dcbnl.c395 static int otx2_dcbnl_ieee_getpfc(struct net_device *dev, struct ieee_pfc *pfc) in otx2_dcbnl_ieee_getpfc()
405 static int otx2_dcbnl_ieee_setpfc(struct net_device *dev, struct ieee_pfc *pfc) in otx2_dcbnl_ieee_setpfc()
/linux-6.12.1/include/uapi/linux/
Ddcbnl.h157 struct ieee_pfc { struct
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_dcb.c303 static int hclge_ieee_getpfc(struct hnae3_handle *h, struct ieee_pfc *pfc) in hclge_ieee_getpfc()
326 static int hclge_ieee_setpfc(struct hnae3_handle *h, struct ieee_pfc *pfc) in hclge_ieee_setpfc()
/linux-6.12.1/drivers/net/ethernet/intel/i40e/
Di40e_dcb_nl.c73 struct ieee_pfc *pfc) in i40e_dcbnl_ieee_getpfc()
154 struct ieee_pfc *pfc) in i40e_dcbnl_ieee_setpfc()
/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_dcb_nl.c238 static int ice_dcbnl_getpfc(struct net_device *netdev, struct ieee_pfc *pfc) in ice_dcbnl_getpfc()
264 static int ice_dcbnl_setpfc(struct net_device *netdev, struct ieee_pfc *pfc) in ice_dcbnl_setpfc()
/linux-6.12.1/net/dcb/
Ddcbnl.c163 [DCB_ATTR_IEEE_PFC] = {.len = sizeof(struct ieee_pfc)},
1202 struct ieee_pfc pfc; in dcbnl_ieee_fill()
1283 struct ieee_pfc pfc; in dcbnl_ieee_fill()
1605 struct ieee_pfc *pfc = nla_data(ieee[DCB_ATTR_IEEE_PFC]); in dcbnl_ieee_set()
/linux-6.12.1/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-6.12.1/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