diff options
author | Hariprasad Shenai <hariprasad@chelsio.com> | 2014-10-09 05:48:45 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-10-09 18:53:51 -0400 |
commit | 7207c0d1540b679993d1f0bb9c1ff8e068958c75 (patch) | |
tree | 356e6101f4b8666621bc8e6f61592a8b7b2b1595 /drivers/net/ethernet/chelsio/cxgb4/t4_regs.h | |
parent | ea97caeee2ba60d258292ffca0b2c4778eb6bc21 (diff) | |
download | linux-7207c0d1540b679993d1f0bb9c1ff8e068958c75.tar.gz linux-7207c0d1540b679993d1f0bb9c1ff8e068958c75.tar.bz2 linux-7207c0d1540b679993d1f0bb9c1ff8e068958c75.zip |
cxgb4/cxgb4vf: Updated the LSO transfer length in CPL_TX_PKT_LSO for T5
Update the lso length for T5 adapter and fix PIDX_T5 macro
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/chelsio/cxgb4/t4_regs.h')
-rw-r--r-- | drivers/net/ethernet/chelsio/cxgb4/t4_regs.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb4/t4_regs.h b/drivers/net/ethernet/chelsio/cxgb4/t4_regs.h index eee272883027..a1024db5dc13 100644 --- a/drivers/net/ethernet/chelsio/cxgb4/t4_regs.h +++ b/drivers/net/ethernet/chelsio/cxgb4/t4_regs.h @@ -72,9 +72,8 @@ #define PIDX_MASK 0x00003fffU #define PIDX_SHIFT 0 #define PIDX(x) ((x) << PIDX_SHIFT) -#define S_PIDX_T5 0 -#define M_PIDX_T5 0x1fffU -#define PIDX_T5(x) (((x) >> S_PIDX_T5) & M_PIDX_T5) +#define PIDX_SHIFT_T5 0 +#define PIDX_T5(x) ((x) << PIDX_SHIFT_T5) #define SGE_TIMERREGS 6 |