Searched refs:ulp_id (Results 1 – 2 of 2) sorted by relevance
27 static int bnxt_register_dev(struct bnxt_en_dev *edev, int ulp_id, in bnxt_register_dev() argument35 if (ulp_id >= BNXT_MAX_ULP) in bnxt_register_dev()38 ulp = &edev->ulp_tbl[ulp_id]; in bnxt_register_dev()40 netdev_err(bp->dev, "ulp id %d already registered\n", ulp_id); in bnxt_register_dev()43 if (ulp_id == BNXT_ROCE_ULP) { in bnxt_register_dev()56 if (ulp_id == BNXT_ROCE_ULP) { in bnxt_register_dev()64 static int bnxt_unregister_dev(struct bnxt_en_dev *edev, int ulp_id) in bnxt_unregister_dev() argument72 if (ulp_id >= BNXT_MAX_ULP) in bnxt_unregister_dev()75 ulp = &edev->ulp_tbl[ulp_id]; in bnxt_unregister_dev()77 netdev_err(bp->dev, "ulp id %d not registered\n", ulp_id); in bnxt_unregister_dev()[all …]
93 static inline bool bnxt_ulp_registered(struct bnxt_en_dev *edev, int ulp_id) in bnxt_ulp_registered() argument95 if (edev && rcu_access_pointer(edev->ulp_tbl[ulp_id].ulp_ops)) in bnxt_ulp_registered()