Re: Socket Direct Protocol: help (2)

From: Steve Wise
Date: Tue Apr 13 2010 - 16:19:51 EST


Tung, Chien Tin wrote:
NE020 supports 4 SGEs. I don't know enough about SDP to know why it is
using this calculation for # of send_sge:

#define SDP_MAX_RECV_SKB_FRAGS (PAGE_SIZE > 0x8000 ? 1 : 0x8000 / PAGE_SIZE)


Chien, does the NE020 support FMRs? I looked at the nes ofed-1.5 code
and it appears to do nothing in the map_phys_fmr functions.

We never implemented map_phys_fmr. Is it relevant to the # of SGEs?
No, but SDP uses FMRs. I don't think it will run without FMR support.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/