git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net/txgbe: support VF probe and remove
[dpdk.git]
/
drivers
/
net
/
qede
/
qede_ethdev.c
diff --git
a/drivers/net/qede/qede_ethdev.c
b/drivers/net/qede/qede_ethdev.c
index
3bec62d
..
ab5f5b1
100644
(file)
--- a/
drivers/net/qede/qede_ethdev.c
+++ b/
drivers/net/qede/qede_ethdev.c
@@
-2369,7
+2369,7
@@
static int qede_set_mtu(struct rte_eth_dev *dev, uint16_t mtu)
fp->rxq->rx_buf_size = rc;
}
}
- if (
max_rx_pkt_len > RTE_ETHER
_MAX_LEN)
+ if (
frame_size > QEDE_ETH
_MAX_LEN)
dev->data->dev_conf.rxmode.offloads |= DEV_RX_OFFLOAD_JUMBO_FRAME;
else
dev->data->dev_conf.rxmode.offloads &= ~DEV_RX_OFFLOAD_JUMBO_FRAME;