Home
last modified time | relevance | path

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

/drivers/net/ethernet/intel/i40e/
Di40e_dcb_nl.c41 if (!(pf->dcbx_cap & DCB_CAP_DCBX_VER_IEEE)) in i40e_dcbnl_ieee_getets()
81 if (!(pf->dcbx_cap & DCB_CAP_DCBX_VER_IEEE)) in i40e_dcbnl_ieee_getpfc()
113 if (!(pf->dcbx_cap & DCB_CAP_DCBX_VER_IEEE) || in i40e_dcbnl_ieee_setets()
114 (pf->dcbx_cap & DCB_CAP_DCBX_LLD_MANAGED)) in i40e_dcbnl_ieee_setets()
161 if (!(pf->dcbx_cap & DCB_CAP_DCBX_VER_IEEE) || in i40e_dcbnl_ieee_setpfc()
162 (pf->dcbx_cap & DCB_CAP_DCBX_LLD_MANAGED)) in i40e_dcbnl_ieee_setpfc()
201 if (!(pf->dcbx_cap & DCB_CAP_DCBX_VER_IEEE) || in i40e_dcbnl_ieee_setapp()
202 (pf->dcbx_cap & DCB_CAP_DCBX_LLD_MANAGED)) in i40e_dcbnl_ieee_setapp()
252 if (!(pf->dcbx_cap & DCB_CAP_DCBX_VER_IEEE) || in i40e_dcbnl_ieee_delapp()
253 (pf->dcbx_cap & DCB_CAP_DCBX_LLD_MANAGED)) in i40e_dcbnl_ieee_delapp()
[all …]
Di40e_debugfs.c1423 pf->dcbx_cap = DCB_CAP_DCBX_HOST | in i40e_dbg_command_write()
1449 pf->dcbx_cap = DCB_CAP_DCBX_LLD_MANAGED | in i40e_dbg_command_write()
Di40e.h646 u16 dcbx_cap; member
Di40e_main.c7161 pf->dcbx_cap = DCB_CAP_DCBX_HOST | in i40e_init_pf_dcb()
7177 pf->dcbx_cap = DCB_CAP_DCBX_LLD_MANAGED | in i40e_init_pf_dcb()
9937 if (pf->dcbx_cap & DCB_CAP_DCBX_LLD_MANAGED) in i40e_link_event()
9951 pf->dcbx_cap = DCB_CAP_DCBX_HOST | in i40e_link_event()
/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.c752 pf->dcbx_cap = ice_dcb_get_mode(port_info, true); in ice_init_pf_dcb()
759 pf->dcbx_cap = ice_dcb_get_mode(port_info, false); in ice_init_pf_dcb()
865 if (pf->dcbx_cap & DCB_CAP_DCBX_HOST) { in ice_dcb_process_lldp_set_mib_change()
916 pf->dcbx_cap = ice_dcb_get_mode(pi, false); in ice_dcb_process_lldp_set_mib_change()
Dice.h491 u16 dcbx_cap; member
Dice_ethtool.c1213 pf->dcbx_cap &= ~DCB_CAP_DCBX_LLD_MANAGED; in ice_set_priv_flags()
1214 pf->dcbx_cap |= DCB_CAP_DCBX_HOST; in ice_set_priv_flags()
1257 pf->dcbx_cap &= ~DCB_CAP_DCBX_HOST; in ice_set_priv_flags()
1258 pf->dcbx_cap |= DCB_CAP_DCBX_LLD_MANAGED; in ice_set_priv_flags()
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_dcb.c519 if (bp->dcbx_cap & DCB_CAP_DCBX_HOST) in bnxt_dcbnl_ieee_getets()
554 if (!(bp->dcbx_cap & DCB_CAP_DCBX_VER_IEEE) || in bnxt_dcbnl_ieee_setets()
555 !(bp->dcbx_cap & DCB_CAP_DCBX_HOST)) in bnxt_dcbnl_ieee_setets()
594 if (bp->dcbx_cap & DCB_CAP_DCBX_HOST) in bnxt_dcbnl_ieee_getpfc()
629 if (!(bp->dcbx_cap & DCB_CAP_DCBX_VER_IEEE) || in bnxt_dcbnl_ieee_setpfc()
630 !(bp->dcbx_cap & DCB_CAP_DCBX_HOST)) in bnxt_dcbnl_ieee_setpfc()
662 if (!(bp->dcbx_cap & DCB_CAP_DCBX_VER_IEEE) || in bnxt_dcbnl_ieee_setapp()
663 !(bp->dcbx_cap & DCB_CAP_DCBX_HOST)) in bnxt_dcbnl_ieee_setapp()
691 if (!(bp->dcbx_cap & DCB_CAP_DCBX_VER_IEEE) || in bnxt_dcbnl_ieee_delapp()
692 !(bp->dcbx_cap & DCB_CAP_DCBX_HOST)) in bnxt_dcbnl_ieee_delapp()
[all …]
Dbnxt_dcb.h20 u8 dcbx_cap; member
Dbnxt.h1860 u8 dcbx_cap; member
/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.h666 u8 dcbx_cap; member
Dixgbe_main.c5060 if (adapter->dcbx_cap & DCB_CAP_DCBX_VER_CEE) { in ixgbe_configure_dcb()
6245 adapter->dcbx_cap = DCB_CAP_DCBX_HOST | DCB_CAP_DCBX_VER_CEE; in ixgbe_init_dcb()
7418 if (adapter->dcbx_cap & DCB_CAP_DCBX_VER_IEEE) in ixgbe_update_default_up()
9030 if (adapter->dcbx_cap & DCB_CAP_DCBX_VER_CEE) in ixgbe_set_prio_tc_map()
/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.h618 u8 dcbx_cap; member
Den_netdev.c77 if (priv->dcbx_cap) in mlx4_en_setup_tc()
3246 priv->dcbx_cap = DCB_CAP_DCBX_VER_CEE | DCB_CAP_DCBX_HOST | in mlx4_en_init_netdev()
/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_dcb.c253 if (!(hdev->dcbx_cap & DCB_CAP_DCBX_VER_IEEE) || in hclge_ieee_setets()
326 if (!(hdev->dcbx_cap & DCB_CAP_DCBX_VER_IEEE)) in hclge_ieee_setpfc()
379 return hdev->dcbx_cap; in hclge_getdcbx()
396 hdev->dcbx_cap = mode; in hclge_setdcbx()
566 hdev->dcbx_cap = DCB_CAP_DCBX_VER_IEEE | DCB_CAP_DCBX_HOST; in hclge_dcb_ops_set()
Dhclge_main.h876 u8 dcbx_cap; member
/drivers/net/ethernet/qlogic/qed/
Dqed_dcbx.h72 u8 dcbx_cap; member