Skip to content

Commit 7296695

Browse files
Luo bindavem330
authored andcommitted
hinic: fix wrong value of MIN_SKB_LEN
the minimum value of skb len that hw supports is 32 rather than 17 Signed-off-by: Luo bin <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 0da7c32 commit 7296695

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/huawei/hinic/hinic_tx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545

4646
#define HW_CONS_IDX(sq) be16_to_cpu(*(u16 *)((sq)->hw_ci_addr))
4747

48-
#define MIN_SKB_LEN 17
48+
#define MIN_SKB_LEN 32
4949

5050
#define MAX_PAYLOAD_OFFSET 221
5151
#define TRANSPORT_OFFSET(l4_hdr, skb) ((u32)((l4_hdr) - (skb)->data))

0 commit comments

Comments
 (0)