Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/intel/i40e/
Di40e_dcb_nl.c40 if (!(pf->dcbx_cap & DCB_CAP_DCBX_VER_IEEE)) in i40e_dcbnl_ieee_getets()
80 if (!(pf->dcbx_cap & DCB_CAP_DCBX_VER_IEEE)) in i40e_dcbnl_ieee_getpfc()
112 if (!(pf->dcbx_cap & DCB_CAP_DCBX_VER_IEEE) || in i40e_dcbnl_ieee_setets()
113 (pf->dcbx_cap & DCB_CAP_DCBX_LLD_MANAGED)) in i40e_dcbnl_ieee_setets()
160 if (!(pf->dcbx_cap & DCB_CAP_DCBX_VER_IEEE) || in i40e_dcbnl_ieee_setpfc()
161 (pf->dcbx_cap & DCB_CAP_DCBX_LLD_MANAGED)) in i40e_dcbnl_ieee_setpfc()
200 if (!(pf->dcbx_cap & DCB_CAP_DCBX_VER_IEEE) || in i40e_dcbnl_ieee_setapp()
201 (pf->dcbx_cap & DCB_CAP_DCBX_LLD_MANAGED)) in i40e_dcbnl_ieee_setapp()
251 if (!(pf->dcbx_cap & DCB_CAP_DCBX_VER_IEEE) || in i40e_dcbnl_ieee_delapp()
252 (pf->dcbx_cap & DCB_CAP_DCBX_LLD_MANAGED)) in i40e_dcbnl_ieee_delapp()
[all …]
Di40e_debugfs.c1410 pf->dcbx_cap = DCB_CAP_DCBX_HOST | in i40e_dbg_command_write()
1435 pf->dcbx_cap = DCB_CAP_DCBX_LLD_MANAGED | in i40e_dbg_command_write()
Di40e.h583 u16 dcbx_cap; member
Di40e_main.c7231 pf->dcbx_cap = DCB_CAP_DCBX_HOST | in i40e_init_pf_dcb()
7247 pf->dcbx_cap = DCB_CAP_DCBX_LLD_MANAGED | in i40e_init_pf_dcb()
10018 if (pf->dcbx_cap & DCB_CAP_DCBX_LLD_MANAGED) in i40e_link_event()
10032 pf->dcbx_cap = DCB_CAP_DCBX_HOST | in i40e_link_event()
/linux-6.12.1/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()
151 return pf->dcbx_cap; in ice_dcbnl_getdcbx()
175 if (mode == pf->dcbx_cap) in ice_dcbnl_setdcbx()
189 pf->dcbx_cap = mode; in ice_dcbnl_setdcbx()
270 if ((pf->dcbx_cap & DCB_CAP_DCBX_LLD_MANAGED) || in ice_dcbnl_setpfc()
271 !(pf->dcbx_cap & DCB_CAP_DCBX_VER_IEEE)) in ice_dcbnl_setpfc()
311 if ((pf->dcbx_cap & DCB_CAP_DCBX_LLD_MANAGED) || in ice_dcbnl_get_pfc_cfg()
312 !(pf->dcbx_cap & DCB_CAP_DCBX_VER_CEE)) in ice_dcbnl_get_pfc_cfg()
334 if ((pf->dcbx_cap & DCB_CAP_DCBX_LLD_MANAGED) || in ice_dcbnl_set_pfc_cfg()
[all …]
Dice_dcb_lib.c851 pf->dcbx_cap = ice_dcb_get_mode(port_info, true); in ice_init_pf_dcb()
858 pf->dcbx_cap = ice_dcb_get_mode(port_info, false); in ice_init_pf_dcb()
980 if (pf->dcbx_cap & DCB_CAP_DCBX_HOST) { in ice_dcb_process_lldp_set_mib_change()
1048 pf->dcbx_cap = ice_dcb_get_mode(pi, false); in ice_dcb_process_lldp_set_mib_change()
Dice.h635 u16 dcbx_cap; member
Dice_ethtool.c1828 pf->dcbx_cap &= ~DCB_CAP_DCBX_LLD_MANAGED; in ice_set_priv_flags()
1829 pf->dcbx_cap |= DCB_CAP_DCBX_HOST; in ice_set_priv_flags()
1879 pf->dcbx_cap &= ~DCB_CAP_DCBX_HOST; in ice_set_priv_flags()
1880 pf->dcbx_cap |= DCB_CAP_DCBX_LLD_MANAGED; in ice_set_priv_flags()
/linux-6.12.1/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_dcb.c527 if (bp->dcbx_cap & DCB_CAP_DCBX_HOST) in bnxt_dcbnl_ieee_getets()
562 if (!(bp->dcbx_cap & DCB_CAP_DCBX_VER_IEEE) || in bnxt_dcbnl_ieee_setets()
563 !(bp->dcbx_cap & DCB_CAP_DCBX_HOST)) in bnxt_dcbnl_ieee_setets()
602 if (bp->dcbx_cap & DCB_CAP_DCBX_HOST) in bnxt_dcbnl_ieee_getpfc()
637 if (!(bp->dcbx_cap & DCB_CAP_DCBX_VER_IEEE) || in bnxt_dcbnl_ieee_setpfc()
638 !(bp->dcbx_cap & DCB_CAP_DCBX_HOST) || in bnxt_dcbnl_ieee_setpfc()
671 if (!(bp->dcbx_cap & DCB_CAP_DCBX_VER_IEEE) || in bnxt_dcbnl_ieee_setapp()
672 !(bp->dcbx_cap & DCB_CAP_DCBX_HOST)) in bnxt_dcbnl_ieee_setapp()
700 if (!(bp->dcbx_cap & DCB_CAP_DCBX_VER_IEEE) || in bnxt_dcbnl_ieee_delapp()
701 !(bp->dcbx_cap & DCB_CAP_DCBX_HOST)) in bnxt_dcbnl_ieee_delapp()
[all …]
Dbnxt_dcb.h20 u8 dcbx_cap; member
Dbnxt.h2396 u8 dcbx_cap; member
/linux-6.12.1/drivers/net/ethernet/intel/ixgbe/
Dixgbe_dcb_nl.c131 if (!(adapter->dcbx_cap & DCB_CAP_DCBX_VER_CEE)) in ixgbe_dcbnl_set_state()
304 if (!(adapter->dcbx_cap & DCB_CAP_DCBX_VER_CEE)) in ixgbe_dcbnl_set_all()
410 *cap = adapter->dcbx_cap; in ixgbe_dcbnl_getcap()
479 if (!(adapter->dcbx_cap & DCB_CAP_DCBX_VER_CEE)) in ixgbe_dcbnl_getapp()
514 if (!(adapter->dcbx_cap & DCB_CAP_DCBX_VER_IEEE)) in ixgbe_dcbnl_ieee_setets()
591 if (!(adapter->dcbx_cap & DCB_CAP_DCBX_VER_IEEE)) in ixgbe_dcbnl_ieee_setpfc()
621 if (!(adapter->dcbx_cap & DCB_CAP_DCBX_VER_IEEE)) in ixgbe_dcbnl_ieee_setapp()
666 if (!(adapter->dcbx_cap & DCB_CAP_DCBX_VER_IEEE)) in ixgbe_dcbnl_ieee_delapp()
708 return adapter->dcbx_cap; in ixgbe_dcbnl_getdcbx()
724 if (mode == adapter->dcbx_cap) in ixgbe_dcbnl_setdcbx()
[all …]
Dixgbe.h714 u8 dcbx_cap; member
Dixgbe_main.c5087 if (adapter->dcbx_cap & DCB_CAP_DCBX_VER_CEE) { in ixgbe_configure_dcb()
6312 adapter->dcbx_cap = DCB_CAP_DCBX_HOST | DCB_CAP_DCBX_VER_CEE; in ixgbe_init_dcb()
7515 if (adapter->dcbx_cap & DCB_CAP_DCBX_VER_IEEE) in ixgbe_update_default_up()
9182 if (adapter->dcbx_cap & DCB_CAP_DCBX_VER_CEE) in ixgbe_set_prio_tc_map()
/linux-6.12.1/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.h633 u8 dcbx_cap; member
Den_netdev.c80 if (priv->dcbx_cap) in mlx4_en_setup_tc()
3260 priv->dcbx_cap = DCB_CAP_DCBX_VER_CEE | DCB_CAP_DCBX_HOST | in mlx4_en_init_netdev()
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_dcb.c261 if (!(hdev->dcbx_cap & DCB_CAP_DCBX_VER_IEEE) || in hclge_ieee_setets()
335 if (!(hdev->dcbx_cap & DCB_CAP_DCBX_VER_IEEE)) in hclge_ieee_setpfc()
490 return hdev->dcbx_cap; in hclge_getdcbx()
507 hdev->dcbx_cap = mode; in hclge_setdcbx()
681 hdev->dcbx_cap = DCB_CAP_DCBX_VER_IEEE | DCB_CAP_DCBX_HOST; in hclge_dcb_ops_set()
Dhclge_main.h914 u8 dcbx_cap; member
/linux-6.12.1/drivers/net/ethernet/qlogic/qed/
Dqed_dcbx.h72 u8 dcbx_cap; member