Licensing Information

Open Source Used In Cisco Nexus 9000 Series 7.0(3)I5(1)
3234
}
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,20)
static void
ixp_registration_wq(struct work_struct *work)
{
struct ixp_data *ixp = container_of(work, struct ixp_data,
ixp_registration_work);
ixp_registration(ixp);
}
#endif
/*
* Process a request.
*/
static int
ixp_process(device_t dev, struct cryptop *crp, int hint)
{
struct ixp_data *ixp;
unsigned int lid;
struct ixp_q *q = NULL;
int status;
dprintk("%s()\n", __FUNCTION__);
/* Sanity check */
if (crp == NULL) {
dprintk("%s,%d: EINVAL\n", __FILE__, __LINE__);
return EINVAL;
}
crp->crp_etype = 0;
if (ixp_blocked)
return ERESTART;
if (crp->crp_desc == NULL || crp->crp_buf == NULL) {
dprintk("%s,%d: EINVAL\n", __FILE__, __LINE__);
crp->crp_etype = EINVAL;
goto done;
}
/*
 * find the session we are using
 */
lid = crp->crp_sid & 0xffffffff;
if (lid >= ixp_sesnum || lid == 0 || ixp_sessions == NULL ||