]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit021d0e6829fa726f4d741fccf410a910e7c7487c
treef0fba0f1d50ba770291d4bd84430351509da8581
parentc863f9167f6e48cb8065d4e514adc09548b5488d
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