OSDN Git Service

bnxt_en: Update RSS setup and GRO-HW logic according to the latest spec.
authorMichael Chan <michael.chan@broadcom.com>
Sun, 5 Aug 2018 20:51:51 +0000 (16:51 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Aug 2018 00:08:26 +0000 (17:08 -0700)
commit50f011b63d8caab7f40de52ca6cf4807aea7a941
treef0fba0f1d50ba770291d4bd84430351509da8581
parentbf82736da3c376c03a42c74ea6fa971e89740d7a
bnxt_en: Update RSS setup and GRO-HW logic according to the latest spec.

Set the default hash mode flag in HWRM_VNIC_RSS_CFG to signal to the
firmware that the driver is compliant with the latest spec.  With
that, the firmware can return expanded RSS profile IDs that the driver
checks to setup the proper gso_type for GRO-HW packets.  But instead
of checking for the new profile IDs, we check the IP_TYPE flag
in TPA_START which is more straight forward than checking a list of
profile IDs.

Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/broadcom/bnxt/bnxt.h