Home
last modified time | relevance | path

Searched refs:dcbx_cap (Results 1 – 20 of 20) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
Dice_dcb_nl.c69 if ((pf->dcbx_cap & DCB_CAP_DCBX_LLD_MANAGED) || in ice_dcbnl_setets()
70 !(pf->dcbx_cap & DCB_CAP_DCBX_VER_IEEE)) in ice_dcbnl_setets()
147 return pf->dcbx_cap; in ice_dcbnl_getdcbx()
171 if (mode == pf->dcbx_cap) in ice_dcbnl_setdcbx()
174 pf->dcbx_cap = mode; in ice_dcbnl_setdcbx()
255 if ((pf->dcbx_cap & DCB_CAP_DCBX_LLD_MANAGED) || in ice_dcbnl_setpfc()
256 !(pf->dcbx_cap & DCB_CAP_DCBX_VER_IEEE)) in ice_dcbnl_setpfc()
291 if ((pf->dcbx_cap & DCB_CAP_DCBX_LLD_MANAGED) || in ice_dcbnl_get_pfc_cfg()
292 !(pf->dcbx_cap & DCB_CAP_DCBX_VER_CEE)) in ice_dcbnl_get_pfc_cfg()
314 if ((pf->dcbx_cap & DCB_CAP_DCBX_LLD_MANAGED) || in ice_dcbnl_set_pfc_cfg()
[all …]
Dice_dcb_lib.c728 pf->dcbx_cap = ice_dcb_get_mode(port_info, true); in ice_init_pf_dcb()
735 pf->dcbx_cap = ice_dcb_get_mode(port_info, false); in ice_init_pf_dcb()
841 if (pf->dcbx_cap & DCB_CAP_DCBX_HOST) { in ice_dcb_process_lldp_set_mib_change()
892 pf->dcbx_cap = ice_dcb_get_mode(pi, false); in ice_dcb_process_lldp_set_mib_change()
Dice.h446 u16 dcbx_cap; member
Dice_ethtool.c1243 pf->dcbx_cap &= ~DCB_CAP_DCBX_LLD_MANAGED; in ice_set_priv_flags()
1244 pf->dcbx_cap |= DCB_CAP_DCBX_HOST; in ice_set_priv_flags()
1287 pf->dcbx_cap &= ~DCB_CAP_DCBX_HOST; in ice_set_priv_flags()
1288 pf->dcbx_cap |= DCB_CAP_DCBX_LLD_MANAGED; in ice_set_priv_flags()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_dcb.c480 if (bp->dcbx_cap & DCB_CAP_DCBX_HOST) in bnxt_dcbnl_ieee_getets()
515 if (!(bp->dcbx_cap & DCB_CAP_DCBX_VER_IEEE) || in bnxt_dcbnl_ieee_setets()
516 !(bp->dcbx_cap & DCB_CAP_DCBX_HOST)) in bnxt_dcbnl_ieee_setets()
555 if (bp->dcbx_cap & DCB_CAP_DCBX_HOST) in bnxt_dcbnl_ieee_getpfc()
590 if (!(bp->dcbx_cap & DCB_CAP_DCBX_VER_IEEE) || in bnxt_dcbnl_ieee_setpfc()
591 !(bp->dcbx_cap & DCB_CAP_DCBX_HOST)) in bnxt_dcbnl_ieee_setpfc()
623 if (!(bp->dcbx_cap & DCB_CAP_DCBX_VER_IEEE) || in bnxt_dcbnl_ieee_setapp()
624 !(bp->dcbx_cap & DCB_CAP_DCBX_HOST)) in bnxt_dcbnl_ieee_setapp()
652 if (!(bp->dcbx_cap & DCB_CAP_DCBX_VER_IEEE) || in bnxt_dcbnl_ieee_delapp()
653 !(bp->dcbx_cap & DCB_CAP_DCBX_HOST)) in bnxt_dcbnl_ieee_delapp()
[all …]
Dbnxt_dcb.h20 u8 dcbx_cap; member
Dbnxt.h1818 u8 dcbx_cap; member
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_dcb_nl.c133 if (!(adapter->dcbx_cap & DCB_CAP_DCBX_VER_CEE)) in ixgbe_dcbnl_set_state()
306 if (!(adapter->dcbx_cap & DCB_CAP_DCBX_VER_CEE)) in ixgbe_dcbnl_set_all()
412 *cap = adapter->dcbx_cap; in ixgbe_dcbnl_getcap()
481 if (!(adapter->dcbx_cap & DCB_CAP_DCBX_VER_CEE)) in ixgbe_dcbnl_getapp()
516 if (!(adapter->dcbx_cap & DCB_CAP_DCBX_VER_IEEE)) in ixgbe_dcbnl_ieee_setets()
593 if (!(adapter->dcbx_cap & DCB_CAP_DCBX_VER_IEEE)) in ixgbe_dcbnl_ieee_setpfc()
623 if (!(adapter->dcbx_cap & DCB_CAP_DCBX_VER_IEEE)) in ixgbe_dcbnl_ieee_setapp()
668 if (!(adapter->dcbx_cap & DCB_CAP_DCBX_VER_IEEE)) in ixgbe_dcbnl_ieee_delapp()
710 return adapter->dcbx_cap; in ixgbe_dcbnl_getdcbx()
726 if (mode == adapter->dcbx_cap) in ixgbe_dcbnl_setdcbx()
[all …]
Dixgbe.h669 u8 dcbx_cap; member
Dixgbe_main.c5068 if (adapter->dcbx_cap & DCB_CAP_DCBX_VER_CEE) { in ixgbe_configure_dcb()
6253 adapter->dcbx_cap = DCB_CAP_DCBX_HOST | DCB_CAP_DCBX_VER_CEE; in ixgbe_init_dcb()
7410 if (adapter->dcbx_cap & DCB_CAP_DCBX_VER_IEEE) in ixgbe_update_default_up()
9059 if (adapter->dcbx_cap & DCB_CAP_DCBX_VER_CEE) in ixgbe_set_prio_tc_map()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Den_dcb_nl.c97 *cap = priv->dcbx_cap; in mlx4_en_dcbnl_getcap()
163 if (!(priv->dcbx_cap & DCB_CAP_DCBX_VER_CEE)) in mlx4_en_dcbnl_set_all()
234 if (!(priv->dcbx_cap & DCB_CAP_DCBX_VER_CEE)) in mlx4_en_dcbnl_set_state()
264 if (!(priv->dcbx_cap & DCB_CAP_DCBX_VER_CEE)) in mlx4_en_dcbnl_getapp()
276 if (!(priv->dcbx_cap & DCB_CAP_DCBX_VER_CEE)) in mlx4_en_dcbnl_setapp()
454 return priv->dcbx_cap; in mlx4_en_dcbnl_getdcbx()
463 if (mode == priv->dcbx_cap) in mlx4_en_dcbnl_setdcbx()
472 priv->dcbx_cap = mode; in mlx4_en_dcbnl_setdcbx()
Dmlx4_en.h639 u8 dcbx_cap; member
Den_netdev.c77 if (priv->dcbx_cap) in mlx4_en_setup_tc()
3240 priv->dcbx_cap = DCB_CAP_DCBX_VER_CEE | DCB_CAP_DCBX_HOST | in mlx4_en_init_netdev()
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_dcb.c243 if (!(hdev->dcbx_cap & DCB_CAP_DCBX_VER_IEEE) || in hclge_ieee_setets()
329 if (!(hdev->dcbx_cap & DCB_CAP_DCBX_VER_IEEE)) in hclge_ieee_setpfc()
382 return hdev->dcbx_cap; in hclge_getdcbx()
399 hdev->dcbx_cap = mode; in hclge_setdcbx()
472 hdev->dcbx_cap = DCB_CAP_DCBX_VER_IEEE | DCB_CAP_DCBX_HOST; in hclge_dcb_ops_set()
Dhclge_main.h766 u8 dcbx_cap; member
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
Di40e_dcb_nl.c38 if (!(pf->dcbx_cap & DCB_CAP_DCBX_VER_IEEE)) in i40e_dcbnl_ieee_getets()
78 if (!(pf->dcbx_cap & DCB_CAP_DCBX_VER_IEEE)) in i40e_dcbnl_ieee_getpfc()
106 return pf->dcbx_cap; in i40e_dcbnl_getdcbx()
Di40e.h627 u16 dcbx_cap; member
Di40e_debugfs.c1425 pf->dcbx_cap = DCB_CAP_DCBX_HOST | in i40e_dbg_command_write()
1451 pf->dcbx_cap = DCB_CAP_DCBX_LLD_MANAGED | in i40e_dbg_command_write()
Di40e_main.c6578 pf->dcbx_cap = DCB_CAP_DCBX_LLD_MANAGED | in i40e_init_pf_dcb()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
Dqed_dcbx.h72 u8 dcbx_cap; member