net/bnxt: fix LRO configuration
The maximum number of TCP segments that can be aggregated & the maximum number of aggregations the VNIC supports are configured incorrectly during LRO configuration. This patch fixes these values. Fixes: b150a7e7ee66 ("net/bnxt: support LRO on Thor adapters") Cc: stable@dpdk.org Signed-off-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com> Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com> Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com> Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
This commit is contained in:
parent
d51a43f434
commit
349355141c
@ -2264,8 +2264,8 @@ int bnxt_hwrm_vnic_tpa_cfg(struct bnxt *bp,
|
||||
HWRM_VNIC_TPA_CFG_INPUT_FLAGS_GRO |
|
||||
HWRM_VNIC_TPA_CFG_INPUT_FLAGS_AGG_WITH_ECN |
|
||||
HWRM_VNIC_TPA_CFG_INPUT_FLAGS_AGG_WITH_SAME_GRE_SEQ);
|
||||
req.max_agg_segs = rte_cpu_to_le_16(BNXT_TPA_MAX_AGGS(bp));
|
||||
req.max_aggs = rte_cpu_to_le_16(BNXT_TPA_MAX_SEGS(bp));
|
||||
req.max_aggs = rte_cpu_to_le_16(BNXT_TPA_MAX_AGGS(bp));
|
||||
req.max_agg_segs = rte_cpu_to_le_16(BNXT_TPA_MAX_SEGS(bp));
|
||||
req.min_agg_len = rte_cpu_to_le_32(512);
|
||||
}
|
||||
req.vnic_id = rte_cpu_to_le_16(vnic->fw_vnic_id);
|
||||
|
Loading…
x
Reference in New Issue
Block a user