Searched refs:ulp_type (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.4/drivers/net/ethernet/broadcom/ |
D | cnic_if.h | 148 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);
|
D | cnic.c | 263 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-v5.4/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_main.c | 14861 int ulp_type = ctl->data.register_data.ulp_type; in bnx2x_drv_ctl() local 14873 if (ulp_type == CNIC_ULP_ISCSI) in bnx2x_drv_ctl() 14875 else if (ulp_type == CNIC_ULP_FCOE) in bnx2x_drv_ctl() 14879 if ((ulp_type != CNIC_ULP_FCOE) || in bnx2x_drv_ctl() 14902 int ulp_type = ctl->data.ulp_type; in bnx2x_drv_ctl() local 14909 if (ulp_type == CNIC_ULP_ISCSI) in bnx2x_drv_ctl() 14911 else if (ulp_type == CNIC_ULP_FCOE) in bnx2x_drv_ctl()
|