vmxnet3: support RSS and refactor Rx offload
authorStephen Hemminger <stephen@networkplumber.org>
Thu, 9 Jul 2015 18:24:14 +0000 (11:24 -0700)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 9 Jul 2015 22:42:38 +0000 (00:42 +0200)
commit9fd5e98b62e41507cad41790b617112cd2a66471
tree3df434e01ddf79877e483f4affa437ea24637501
parentbb1d14b87fc30ee502e9db528b23ad2aa68d70f0
vmxnet3: support RSS and refactor Rx offload

Refactor the logic to compute receive offload flags to a simpler
function. And add support for putting RSS flow hash into packet.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: Bill Hong <bhong@brocade.com>
Acked-by: Yong Wang <yongwang@vmware.com>
drivers/net/vmxnet3/vmxnet3_rxtx.c