Home
last modified time | relevance | path

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

/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_dcb.c830 struct lldp_admin_mib admin_mib; in bnx2x_dcbx_admin_mib_updated_params() local
835 struct dcbx_features *af = &admin_mib.features; in bnx2x_dcbx_admin_mib_updated_params()
838 memset(&admin_mib, 0, sizeof(struct lldp_admin_mib)); in bnx2x_dcbx_admin_mib_updated_params()
841 bnx2x_read_data(bp, (u32 *)&admin_mib, offset, in bnx2x_dcbx_admin_mib_updated_params()
845 SET_FLAGS(admin_mib.ver_cfg_flags, DCBX_DCBX_ENABLED); in bnx2x_dcbx_admin_mib_updated_params()
847 RESET_FLAGS(admin_mib.ver_cfg_flags, DCBX_DCBX_ENABLED); in bnx2x_dcbx_admin_mib_updated_params()
851 RESET_FLAGS(admin_mib.ver_cfg_flags, DCBX_CEE_VERSION_MASK); in bnx2x_dcbx_admin_mib_updated_params()
852 admin_mib.ver_cfg_flags |= in bnx2x_dcbx_admin_mib_updated_params()
862 SET_FLAGS(admin_mib.ver_cfg_flags, in bnx2x_dcbx_admin_mib_updated_params()
865 RESET_FLAGS(admin_mib.ver_cfg_flags, in bnx2x_dcbx_admin_mib_updated_params()
[all …]