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/hns3: support PF device with copper PHYs
[dpdk.git]
/
drivers
/
net
/
axgbe
/
axgbe_ethdev.c
diff --git
a/drivers/net/axgbe/axgbe_ethdev.c
b/drivers/net/axgbe/axgbe_ethdev.c
index
ddd9036
..
ebe9a28
100644
(file)
--- a/
drivers/net/axgbe/axgbe_ethdev.c
+++ b/
drivers/net/axgbe/axgbe_ethdev.c
@@
-1490,7
+1490,7
@@
static int axgb_mtu_set(struct rte_eth_dev *dev, uint16_t mtu)
dev->data->port_id);
return -EBUSY;
}
dev->data->port_id);
return -EBUSY;
}
- if (frame_size >
RTE_ETHER
_MAX_LEN) {
+ if (frame_size >
AXGBE_ETH
_MAX_LEN) {
dev->data->dev_conf.rxmode.offloads |=
DEV_RX_OFFLOAD_JUMBO_FRAME;
val = 1;
dev->data->dev_conf.rxmode.offloads |=
DEV_RX_OFFLOAD_JUMBO_FRAME;
val = 1;