Thread (27 messages) flat view 27 messages, 6 authors, 2018-03-22

Re: [PATCH net-next 01/14] tcp: Add clean acked data hook

From: David Miller <davem@davemloft.net>
Date: 2018-03-21 16:32:09

From: Rao Shoaib <redacted>
Date: Wed, 21 Mar 2018 09:16:48 -0700
I agree, in fact I was using function pointers for the exact reason,
to change the functionality of a function. I asked Dave about the
use and he said No (Also note that the relevant CPU optimizations
have been turned off on selected NIC's due to the latest security
issues -- On AMD CPU's the optimizations are not turned off). So it
is Dave's decision -- I am hoping that he would reconsider and allow
me to use pointers as well as pointers solve the problem nicely and
are used extensively.
This situation is different from your's Rao.

That proposal was to add indirect calls for things the TCP stack
internally can make internal state checks for.

Whereas this current patch discussed here is a driver offload hook,
which TCP cannot internally possibly know anything about.

I am fine with what Boris et al. are doing here.  It is a different
situation than your's.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help