diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2010-09-20 08:43:07 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-09-21 14:58:00 -0700 |
commit | 64eebcfd899a5d2ebe211a593ec13ec24630f1a3 (patch) | |
tree | b147a37d3b4a586464908221b9ea18f80c34ee46 /drivers/net/sfc/regs.h | |
parent | a77f5db361ed9953b5b749353ea2c7fed2bf8d93 (diff) | |
download | op-kernel-dev-64eebcfd899a5d2ebe211a593ec13ec24630f1a3.zip op-kernel-dev-64eebcfd899a5d2ebe211a593ec13ec24630f1a3.tar.gz |
sfc: Add filter table management
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sfc/regs.h')
-rw-r--r-- | drivers/net/sfc/regs.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/net/sfc/regs.h b/drivers/net/sfc/regs.h index 18a3be4..96430ed 100644 --- a/drivers/net/sfc/regs.h +++ b/drivers/net/sfc/regs.h @@ -2893,6 +2893,20 @@ #define FRF_AB_XX_FORCE_SIG_WIDTH 8 #define FFE_AB_XX_FORCE_SIG_ALL_LANES 0xff +/* RX_MAC_FILTER_TBL0 */ +/* RMFT_DEST_MAC is wider than 32 bits */ +#define FRF_CZ_RMFT_DEST_MAC_LO_LBN 12 +#define FRF_CZ_RMFT_DEST_MAC_LO_WIDTH 32 +#define FRF_CZ_RMFT_DEST_MAC_HI_LBN 44 +#define FRF_CZ_RMFT_DEST_MAC_HI_WIDTH 16 + +/* TX_MAC_FILTER_TBL0 */ +/* TMFT_SRC_MAC is wider than 32 bits */ +#define FRF_CZ_TMFT_SRC_MAC_LO_LBN 12 +#define FRF_CZ_TMFT_SRC_MAC_LO_WIDTH 32 +#define FRF_CZ_TMFT_SRC_MAC_HI_LBN 44 +#define FRF_CZ_TMFT_SRC_MAC_HI_WIDTH 16 + /* DRIVER_EV */ /* Sub-fields of an RX flush completion event */ #define FSF_AZ_DRIVER_EV_RX_FLUSH_FAIL_LBN 12 |