OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0da7c32
)
hinic: fix wrong value of MIN_SKB_LEN
author
Luo bin
<luobin9@huawei.com>
Fri, 20 Mar 2020 23:13:20 +0000
(23:13 +0000)
committer
David S. Miller
<davem@davemloft.net>
Sun, 22 Mar 2020 02:44:16 +0000
(19:44 -0700)
the minimum value of skb len that hw supports is 32 rather than 17
Signed-off-by: Luo bin <luobin9@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/huawei/hinic/hinic_tx.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/huawei/hinic/hinic_tx.c
b/drivers/net/ethernet/huawei/hinic/hinic_tx.c
index
375d81d
..
3650164
100644
(file)
--- a/
drivers/net/ethernet/huawei/hinic/hinic_tx.c
+++ b/
drivers/net/ethernet/huawei/hinic/hinic_tx.c
@@
-45,7
+45,7
@@
#define HW_CONS_IDX(sq) be16_to_cpu(*(u16 *)((sq)->hw_ci_addr))
-#define MIN_SKB_LEN
17
+#define MIN_SKB_LEN
32
#define MAX_PAYLOAD_OFFSET 221
#define TRANSPORT_OFFSET(l4_hdr, skb) ((u32)((l4_hdr) - (skb)->data))