diff options
author | Michal Schmidt <mschmidt@redhat.com> | 2015-04-28 11:34:22 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-04-29 14:48:35 -0400 |
commit | 7e6b4d440b0ae9062b84dfb417ea6d51a45dab76 (patch) | |
tree | ccfc1cbabb682704fc3175fc3231642f18d63e74 /drivers/net/ethernet/broadcom/bnx2x/bnx2x.h | |
parent | d9b9e860cef1d904832bc6e92e444adfeabe49e9 (diff) | |
download | linux-7e6b4d440b0ae9062b84dfb417ea6d51a45dab76.tar.bz2 |
bnx2x: merge fp->disable_tpa with fp->mode
It is simpler to have the TPA mode as one three-state variable.
Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2x/bnx2x.h')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnx2x/bnx2x.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x.h b/drivers/net/ethernet/broadcom/bnx2x/bnx2x.h index 355d5fea5be9..2a41604cdd0e 100644 --- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x.h +++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x.h @@ -521,6 +521,7 @@ struct bnx2x_fp_txdata { }; enum bnx2x_tpa_mode_t { + TPA_MODE_DISABLED, TPA_MODE_LRO, TPA_MODE_GRO }; @@ -589,7 +590,6 @@ struct bnx2x_fastpath { /* TPA related */ struct bnx2x_agg_info *tpa_info; - u8 disable_tpa; #ifdef BNX2X_STOP_ON_ERROR u64 tpa_queue_used; #endif |