Skip to content

Commit

Permalink
net/sfc: set max Rx packet length for representors
Browse files Browse the repository at this point in the history
Maximum packet length must be set to configure representor devices.

Fixes: a62ec90 ("net/sfc: add port representors infrastructure")

Signed-off-by: Viacheslav Galaktionov <[email protected]>
  • Loading branch information
okt-galaktionov committed Oct 21, 2022
1 parent 030c5ca commit 05eedd4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/sfc/sfc_repr.c
Original file line number Diff line number Diff line change
Expand Up @@ -528,6 +528,7 @@ sfc_repr_dev_infos_get(struct rte_eth_dev *dev,

dev_info->device = dev->device;

dev_info->max_rx_pktlen = EFX_MAC_PDU_MAX;
dev_info->max_rx_queues = SFC_REPR_RXQ_MAX;
dev_info->max_tx_queues = SFC_REPR_TXQ_MAX;
dev_info->default_rxconf.rx_drop_en = 1;
Expand Down

0 comments on commit 05eedd4

Please sign in to comment.