]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
bnxt_en: Don't treat single segment rx frames as GRO frames.
authorMichael Chan <mchan@broadcom.com>
Sun, 27 Dec 2015 23:19:23 +0000 (18:19 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Dec 2015 05:57:28 +0000 (00:57 -0500)
commit27e241896f2e21c96200df711659117923dec8a2
tree78a305785eb3bd55bc035cbe603df95ba64fe438
parent45019a180358c3cf290c3f3dc953c44f978d5527
bnxt_en: Don't treat single segment rx frames as GRO frames.

If hardware completes single segment rx frames, don't bother setting
up all the GRO related fields.  Pass the SKB up as a normal frame.

Reviewed-by: vasundhara volam <vvolam@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c