Searched refs:ulp_type (Results 1 – 3 of 3) sorted by relevance
/linux-4.1.27/drivers/net/ethernet/broadcom/ |
D | cnic_if.h | 148 int ulp_type; member 158 int ulp_type; member 258 int ulp_type; member 300 int (*register_device)(struct cnic_dev *dev, int ulp_type, 302 int (*unregister_device)(struct cnic_dev *dev, int ulp_type); 314 struct cnic_dev *(*cm_select_dev)(struct sockaddr_in *, int ulp_type); 367 int cnic_register_driver(int ulp_type, struct cnic_ulp_ops *ulp_ops); 369 int cnic_unregister_driver(int ulp_type);
|
D | cnic.c | 258 static void cnic_ulp_ctl(struct cnic_dev *dev, int ulp_type, bool reg) in cnic_ulp_ctl() argument 268 if (ulp_type == CNIC_ULP_FCOE && dev->fcoe_cap) in cnic_ulp_ctl() 274 info.data.ulp_type = ulp_type; in cnic_ulp_ctl() 465 int cnic_register_driver(int ulp_type, struct cnic_ulp_ops *ulp_ops) in cnic_register_driver() argument 469 if (ulp_type < 0 || ulp_type >= MAX_CNIC_ULP_TYPE) { in cnic_register_driver() 470 pr_err("%s: Bad type %d\n", __func__, ulp_type); in cnic_register_driver() 474 if (cnic_ulp_tbl_prot(ulp_type)) { in cnic_register_driver() 476 __func__, ulp_type); in cnic_register_driver() 485 clear_bit(ULP_F_INIT, &cp->ulp_flags[ulp_type]); in cnic_register_driver() 490 rcu_assign_pointer(cnic_ulp_tbl[ulp_type], ulp_ops); in cnic_register_driver() [all …]
|
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_main.c | 14290 int ulp_type = ctl->data.register_data.ulp_type; in bnx2x_drv_ctl() local 14302 if (ulp_type == CNIC_ULP_ISCSI) in bnx2x_drv_ctl() 14304 else if (ulp_type == CNIC_ULP_FCOE) in bnx2x_drv_ctl() 14308 if ((ulp_type != CNIC_ULP_FCOE) || in bnx2x_drv_ctl() 14331 int ulp_type = ctl->data.ulp_type; in bnx2x_drv_ctl() local 14338 if (ulp_type == CNIC_ULP_ISCSI) in bnx2x_drv_ctl() 14340 else if (ulp_type == CNIC_ULP_FCOE) in bnx2x_drv_ctl()
|