[ofa-general] [PATCH RFCv2 1/2] RDMA: Add protocol statisticsattributes to the RDMA sysfs.
Chien Tung
ctung at NetEffect.com
Fri Jun 20 13:09:49 PDT 2008
> how do you handle stats if I change routing so an offloaded
> connection goes from physical port 1 to physical port 2?
Depends on what you mean by changing the route. We can switch a
connection
between physical ports within our chip. In that case the stats stays
with the netdev.
> Or presumably you have support for port aggregation in hardware
> so an offloaded connection can use both physical ports at the
> same time?
We do support port aggregation in our silicon. However, a connection is
bound to
a physical port but switchable (see above).
> Actually it seems that you attach a struct ib_device to each
> netdev (eg a two-port NIC gets two RDMA devices with iw_nes)
> so Steve's scheme should work fine for you too? (I just
> looked on a system with a two-port NIC and I do see nes0 and
> nes1 devices)
After some discussion with our architect, Steve's scheme will work for
us by
limiting to one netdev per physical port. I will look into implementing
the
same scheme. Thank you (Steve + Roland) for driving this.
Chien
More information about the general
mailing list