FreeBSD/sys/dev/cxgb/cxgb_main.c
/*
 * Mark lro enabled or disabled in all qsets for this port
 */
Mark lro enabled or disabled in all qsets for this port
Mark lro enabled or disabled in all qsets for this port
static int
cxgb_set_lro(struct port_info *p, int enabled)
{
	int i;
	struct adapter *adp = p->adapter;
	struct sge_qset *q;
	for (i = 0; i < p->nqsets; i++) {
		q = &adp->sge.qs[p->first_qset + i];
		q->lro.enabled = (enabled != 0);
	}
	return (0);
}
static int cxgb_set_lro ( struct port_info * p , int enabled ) { int i ; struct adapter * adp = p -> adapter ; struct sge_qset * q ; for ( i = 0 ; i < p -> nqsets ; i ++ ) { q = & adp -> sge . qs [ p -> first_qset + i ] ; q -> lro . enabled = ( enabled != 0 ) ; } return ( 0 ) ; }
Mark lro enabled or disabled in all qsets for this port
Mark lro enabled or disabled in all qsets for this port