bnxt_en: Add support to call FW to update a VNIC
authorMichael Chan <michael.chan@broadcom.com>
Thu, 8 Aug 2024 05:15:14 +0000 (22:15 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 11 Aug 2024 12:48:02 +0000 (13:48 +0100)
commitf2878cdeb7549437c7c47029b4020e535735c5c9
treeac600b960f00681c9b7de2d3ab8b138d506b8b0c
parentfbda8ee64b7404a6a48af8481ed788f9d7946284
bnxt_en: Add support to call FW to update a VNIC

Add the function bnxt_hwrm_vnic_update() to call FW to update
a VNIC.  This call can be used when disabling and enabling a
receive ring within a VNIC.  The mru which is the maximum receive
size of packets received by the VNIC can be updated.

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