i40e: disable TPH
TPH is not currently enabled in this product, make sure it isn't enabled by default. Change-ID: Ibb1a10799c33c4c76dec06fcd53b1d6efa13c1f5 Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Tested-by: Jim Young <jamesx.m.young@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
parent
8a4f34fbef
commit
f846c1a038
@ -2401,10 +2401,6 @@ static int i40e_configure_rx_ring(struct i40e_ring *ring)
|
||||
|
||||
rx_ctx.rxmax = min_t(u16, vsi->max_frame,
|
||||
(chain_len * ring->rx_buf_len));
|
||||
rx_ctx.tphrdesc_ena = 1;
|
||||
rx_ctx.tphwdesc_ena = 1;
|
||||
rx_ctx.tphdata_ena = 1;
|
||||
rx_ctx.tphhead_ena = 1;
|
||||
if (hw->revision_id == 0)
|
||||
rx_ctx.lrxqthresh = 0;
|
||||
else
|
||||
|
@ -347,10 +347,6 @@ static int i40e_config_vsi_rx_queue(struct i40e_vf *vf, u16 vsi_idx,
|
||||
rx_ctx.dsize = 1;
|
||||
|
||||
/* default values */
|
||||
rx_ctx.tphrdesc_ena = 1;
|
||||
rx_ctx.tphwdesc_ena = 1;
|
||||
rx_ctx.tphdata_ena = 1;
|
||||
rx_ctx.tphhead_ena = 1;
|
||||
rx_ctx.lrxqthresh = 2;
|
||||
rx_ctx.crcstrip = 1;
|
||||
rx_ctx.prefena = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user