Thread (13 messages) flat view 13 messages, 4 authors, 2020-05-28

Re: [PATCH v2 net-next 2/4] vmxnet3: add support to get/set rx flow hash

From: Ronak Doshi <hidden>
Date: 2020-05-28 21:09:43
Also in: lkml

On 5/28/20, 1:15 PM, "Michal Kubecek" [off-list ref] wrote:
   This means that for both TCP and UDP, you have cases where get handler
   will return value which will cause an error if it's fed back to set
   handler. And for UDP, accepted values for set are L3 and L3 | L4 but get
   handler returns 0 or L3 | L4.
   
   So UDP part is wrong and if TCP always hashes by all four fields, it
   would be cleaner to return that information unconditionally, like you do
   e.g. for ESPv6 (with a different value).
   
   Michal
Okay, yes for UDP I should return L3 instead of 0 when rss_fields does not
support UDP RSS. I made these changes to avoid fallthrough, but missed this
part. Also, will remove the check for TCP and pass it unconditionally.

Thanks
    
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help