diff options
author | David S. Miller <davem@davemloft.net> | 2020-03-02 11:08:52 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-03-02 11:08:52 -0800 |
commit | aeaf0cc5b7b4ac37d782aa999d41b2cb68377e1b (patch) | |
tree | c0d06fc96bee3f59dae86ebf8b0283e8ef25a780 /drivers/net/ethernet/marvell/octeontx2/af/cgx_fw_if.h | |
parent | 48938b1e50270047566025bdc43700e71cc5e6c5 (diff) | |
parent | dc819c1bc3e1ff04472d5139b1c2900b5f260008 (diff) | |
download | linux-aeaf0cc5b7b4ac37d782aa999d41b2cb68377e1b.tar.bz2 |
Merge branch 'octeontx2-Flow-control-support-and-other-misc-changes'
Sunil Goutham says:
====================
octeontx2: Flow control support and other misc changes
This patch series adds flow control support (802.3 pause frames) and
has other changes wrt generic admin function (AF) driver functionality.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/marvell/octeontx2/af/cgx_fw_if.h')
-rw-r--r-- | drivers/net/ethernet/marvell/octeontx2/af/cgx_fw_if.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/net/ethernet/marvell/octeontx2/af/cgx_fw_if.h b/drivers/net/ethernet/marvell/octeontx2/af/cgx_fw_if.h index 473d9751601f..c3702fa58b6b 100644 --- a/drivers/net/ethernet/marvell/octeontx2/af/cgx_fw_if.h +++ b/drivers/net/ethernet/marvell/octeontx2/af/cgx_fw_if.h @@ -79,7 +79,8 @@ enum cgx_cmd_id { CGX_CMD_MODE_CHANGE, /* hot plug support */ CGX_CMD_INTF_SHUTDOWN, CGX_CMD_GET_MKEX_PRFL_SIZE, - CGX_CMD_GET_MKEX_PRFL_ADDR + CGX_CMD_GET_MKEX_PRFL_ADDR, + CGX_CMD_GET_FWD_BASE, /* get base address of shared FW data */ }; /* async event ids */ @@ -149,6 +150,11 @@ enum cgx_cmd_own { */ #define RESP_MKEX_PRFL_ADDR GENMASK_ULL(63, 9) +/* Response to cmd ID as CGX_CMD_GET_FWD_BASE with cmd status as + * CGX_STAT_SUCCESS + */ +#define RESP_FWD_BASE GENMASK_ULL(56, 9) + /* Response to cmd ID - CGX_CMD_LINK_BRING_UP/DOWN, event ID CGX_EVT_LINK_CHANGE * status can be either CGX_STAT_FAIL or CGX_STAT_SUCCESS * |