Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/broadcom/
Dcnic_if.h148 int ulp_type; member
163 int ulp_type; member
274 int ulp_type; member
316 int (*register_device)(struct cnic_dev *dev, int ulp_type,
318 int (*unregister_device)(struct cnic_dev *dev, int ulp_type);
330 struct cnic_dev *(*cm_select_dev)(struct sockaddr_in *, int ulp_type);
384 int cnic_register_driver(int ulp_type, struct cnic_ulp_ops *ulp_ops);
386 int cnic_unregister_driver(int ulp_type);
Dcnic.c263 static void cnic_ulp_ctl(struct cnic_dev *dev, int ulp_type, bool reg, int state) in cnic_ulp_ctl() argument
274 if (ulp_type == CNIC_ULP_FCOE && dev->fcoe_cap) in cnic_ulp_ctl()
280 info.data.ulp_type = ulp_type; in cnic_ulp_ctl()
473 int cnic_register_driver(int ulp_type, struct cnic_ulp_ops *ulp_ops) in cnic_register_driver() argument
477 if (ulp_type < 0 || ulp_type >= MAX_CNIC_ULP_TYPE) { in cnic_register_driver()
478 pr_err("%s: Bad type %d\n", __func__, ulp_type); in cnic_register_driver()
482 if (cnic_ulp_tbl_prot(ulp_type)) { in cnic_register_driver()
484 __func__, ulp_type); in cnic_register_driver()
493 clear_bit(ULP_F_INIT, &cp->ulp_flags[ulp_type]); in cnic_register_driver()
498 rcu_assign_pointer(cnic_ulp_tbl[ulp_type], ulp_ops); in cnic_register_driver()
[all …]
/linux-5.19.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c14751 int ulp_type = ctl->data.register_data.ulp_type; in bnx2x_drv_ctl() local
14763 if (ulp_type == CNIC_ULP_ISCSI) in bnx2x_drv_ctl()
14765 else if (ulp_type == CNIC_ULP_FCOE) in bnx2x_drv_ctl()
14769 if ((ulp_type != CNIC_ULP_FCOE) || in bnx2x_drv_ctl()
14792 int ulp_type = ctl->data.ulp_type; in bnx2x_drv_ctl() local
14799 if (ulp_type == CNIC_ULP_ISCSI) in bnx2x_drv_ctl()
14801 else if (ulp_type == CNIC_ULP_FCOE) in bnx2x_drv_ctl()