Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/broadcom/
Dcnic_if.h148 int ulp_type; member
163 int ulp_type; member
275 int ulp_type; member
317 int (*register_device)(struct cnic_dev *dev, int ulp_type,
319 int (*unregister_device)(struct cnic_dev *dev, int ulp_type);
331 struct cnic_dev *(*cm_select_dev)(struct sockaddr_in *, int ulp_type);
385 int cnic_register_driver(int ulp_type, struct cnic_ulp_ops *ulp_ops);
387 int cnic_unregister_driver(int ulp_type);
Dcnic.c264 static void cnic_ulp_ctl(struct cnic_dev *dev, int ulp_type, bool reg, int state) in cnic_ulp_ctl() argument
275 if (ulp_type == CNIC_ULP_FCOE && dev->fcoe_cap) in cnic_ulp_ctl()
281 info.data.ulp_type = ulp_type; in cnic_ulp_ctl()
474 int cnic_register_driver(int ulp_type, struct cnic_ulp_ops *ulp_ops) in cnic_register_driver() argument
478 if (ulp_type < 0 || ulp_type >= MAX_CNIC_ULP_TYPE) { in cnic_register_driver()
479 pr_err("%s: Bad type %d\n", __func__, ulp_type); in cnic_register_driver()
483 if (cnic_ulp_tbl_prot(ulp_type)) { in cnic_register_driver()
485 __func__, ulp_type); in cnic_register_driver()
494 clear_bit(ULP_F_INIT, &cp->ulp_flags[ulp_type]); in cnic_register_driver()
499 rcu_assign_pointer(cnic_ulp_tbl[ulp_type], ulp_ops); in cnic_register_driver()
[all …]
/linux-6.12.1/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c14744 int ulp_type = ctl->data.register_data.ulp_type; in bnx2x_drv_ctl() local
14756 if (ulp_type == CNIC_ULP_ISCSI) in bnx2x_drv_ctl()
14758 else if (ulp_type == CNIC_ULP_FCOE) in bnx2x_drv_ctl()
14762 if ((ulp_type != CNIC_ULP_FCOE) || in bnx2x_drv_ctl()
14785 int ulp_type = ctl->data.ulp_type; in bnx2x_drv_ctl() local
14792 if (ulp_type == CNIC_ULP_ISCSI) in bnx2x_drv_ctl()
14794 else if (ulp_type == CNIC_ULP_FCOE) in bnx2x_drv_ctl()