On Tue, 7 Dec 2010 12:02:32 +0200
Or Gerlitz <[email protected]> wrote:
> sebastien dugue wrote:
> > What kind of offload capabilities are you referring to for IPoIB?
> >
> TCP stateless offloads: checksum, LSO, LRO (to be replaced to GRO,
> sometime, sooner the better)
>
> Or.
>
Huh? How do you do that?
# ethtool -k ib0
Offload parameters for ib0:
rx-checksumming: off
tx-checksumming: off
scatter-gather: off
tcp-segmentation-offload: off
udp-fragmentation-offload: off
generic-segmentation-offload: on
generic-receive-offload: off
large-receive-offload: off
# ethtool -K ib0 rx on
Cannot set device rx csum settings: Operation not supported
# ethtool -K ib0 tx on
Cannot set device tx csum settings: Operation not supported
# ethtool -K ib0 sg on
Cannot set device scatter-gather settings: Operation not supported
# ethtool -K ib0 tso on
Cannot set device tcp segmentation offload settings: Operation not supported
# ethtool -K ib0 lro on
--> Looks like this is the only knob available
# ibstat
CA 'mlx4_0'
CA type: MT26428
Number of ports: 2
Firmware version: 2.7.0
Hardware version: a0
Node GUID: 0x0002c90300048914
System image GUID: 0x0002c90300048917
Port 1:
State: Active
Physical state: LinkUp
Rate: 40
Base lid: 1
LMC: 0
SM lid: 1
Capability mask: 0x0251086a
Port GUID: 0x0002c90300048915
Port 2:
State: Active
Physical state: LinkUp
Rate: 40
Base lid: 9
LMC: 0
SM lid: 1
Capability mask: 0x02510868
Port GUID: 0x0002c90300048916
Sébastien.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html