git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee3e244
)
net/ice/base: fix inner L2 offset in GRE dummy packet
author
Leyi Rong
<leyi.rong@intel.com>
Mon, 1 Jul 2019 05:04:50 +0000
(13:04 +0800)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Wed, 3 Jul 2019 10:57:30 +0000
(12:57 +0200)
The offset for the inner L2 header in the dummy GRE packet
was off by 2 bytes so updated the offset.
Fixes:
839c0a4b77e6
("net/ice/base: enable additional switch rules")
Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Signed-off-by: Leyi Rong <leyi.rong@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/base/ice_switch.c
patch
|
blob
|
history
diff --git
a/drivers/net/ice/base/ice_switch.c
b/drivers/net/ice/base/ice_switch.c
index
5388297
..
be43c8b
100644
(file)
--- a/
drivers/net/ice/base/ice_switch.c
+++ b/
drivers/net/ice/base/ice_switch.c
@@
-65,7
+65,7
@@
struct ice_dummy_pkt_offsets dummy_gre_packet_offsets[] = {
{ ICE_IPV4_OFOS, 14 },
{ ICE_NVGRE, 34 },
{ ICE_MAC_IL, 42 },
- { ICE_IPV4_IL, 5
4
},
+ { ICE_IPV4_IL, 5
6
},
{ ICE_PROTOCOL_LAST, 0 },
};