On Sun, Jan 29, 2012 at 11:44 PM, Shlomo Pongratz <shlo...@mellanox.com> wrote:
> I see this fix as part of a more general fix, one that will enable more 
> protocols (e.g. X25, PPP) to enjoy the benefit of GRO.
> I think that the more general fix should include adding a MAC comparison 
> function to the header_ops structure in netdev.h.
> Then network drivers which are not Ethernet will register their own 
> comparison function, and the GRO code will check if such routine exists and 
> if so will use it.
> The problem with this approach is that until such a major fix is integrated 
> the IPoIB performance will suffer.
> This simple fix will enable us to use the benefit of GRO until the more 
> general fix is integrated.

But is this general fix so difficult that we can't just do the right thing?

Realistically if we add this hack to ipoib then we'll have that ugly
memset in our fast path forever.

 - R.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to