DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH v2] net/e1000: Support mtu set for igbvf.
@ 2018-06-29 13:50 Ian Stokes
  2018-07-10  1:03 ` Lu, Wenzhuo
  0 siblings, 1 reply; 3+ messages in thread
From: Ian Stokes @ 2018-06-29 13:50 UTC (permalink / raw)
  To: dev; +Cc: Ian Stokes, stable

This patch enables setting the MTU of an igbvf device by re-using the
eth_igb_mtu_set() in igbvf_eth_dev_ops.

Cc: stable@dpdk.org

Signed-off-by: Ian Stokes <ian.stokes@intel.com>
---
 drivers/net/e1000/igb_ethdev.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/e1000/igb_ethdev.c b/drivers/net/e1000/igb_ethdev.c
index edc7be3..650e831 100644
--- a/drivers/net/e1000/igb_ethdev.c
+++ b/drivers/net/e1000/igb_ethdev.c
@@ -442,6 +442,7 @@ static const struct eth_dev_ops igbvf_eth_dev_ops = {
 	.txq_info_get         = igb_txq_info_get,
 	.mac_addr_set         = igbvf_default_mac_addr_set,
 	.get_reg              = igbvf_get_regs,
+	.mtu_set              = eth_igb_mtu_set,
 };
 
 /* store statistics names and its offset in stats structure */
-- 
2.7.5

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-07-11 12:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-29 13:50 [dpdk-dev] [PATCH v2] net/e1000: Support mtu set for igbvf Ian Stokes
2018-07-10  1:03 ` Lu, Wenzhuo
2018-07-11 12:24   ` Ian Stokes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).