net/ice/base: propagate errors from functions
authorQi Zhang <qi.z.zhang@intel.com>
Mon, 23 Sep 2019 07:44:24 +0000 (15:44 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 7 Oct 2019 13:00:56 +0000 (15:00 +0200)
commitbb8851a31d76f6b5a74fb232a7a2e218d12d42ec
tree1a67759c167ce4ba0b01f5ea71fbbd8265175867
parente7858c8b4a97808f52949d16a76dc1b9eb80a9a4
net/ice/base: propagate errors from functions

There could be an error returned from ice_fill_adv_dummy_packet()
so we need to propagate that to the caller. Additionally, the
call to ice_flow_xtract_pkt_flags() could also return an error so
we need to propagate it as well.

Also add in the correct offsets for GENEVE and VXLAN_GPE to the
dummy packets.

Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Qiming Yang <qiming.yang@intel.com>
drivers/net/ice/base/ice_flow.c
drivers/net/ice/base/ice_switch.c