* [dpdk-dev] [PATCH] net/e1000: Typos (rx_offload<->tx_offload)
@ 2018-08-08 9:45 Yaroslav Brustinov
2018-09-03 12:27 ` Zhang, Qi Z
0 siblings, 1 reply; 2+ messages in thread
From: Yaroslav Brustinov @ 2018-08-08 9:45 UTC (permalink / raw)
To: wenzhuo.lu; +Cc: dev, Yaroslav Brustinov
Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
---
drivers/net/e1000/igb_rxtx.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/net/e1000/igb_rxtx.c b/drivers/net/e1000/igb_rxtx.c
index b955068..8aefd97 100644
--- a/drivers/net/e1000/igb_rxtx.c
+++ b/drivers/net/e1000/igb_rxtx.c
@@ -1452,10 +1452,10 @@ igb_reset_tx_queue(struct igb_tx_queue *txq, struct rte_eth_dev *dev)
uint64_t
igb_get_tx_port_offloads_capa(struct rte_eth_dev *dev)
{
- uint64_t rx_offload_capa;
+ uint64_t tx_offload_capa;
RTE_SET_USED(dev);
- rx_offload_capa = DEV_TX_OFFLOAD_VLAN_INSERT |
+ tx_offload_capa = DEV_TX_OFFLOAD_VLAN_INSERT |
DEV_TX_OFFLOAD_IPV4_CKSUM |
DEV_TX_OFFLOAD_UDP_CKSUM |
DEV_TX_OFFLOAD_TCP_CKSUM |
@@ -1463,17 +1463,17 @@ igb_get_tx_port_offloads_capa(struct rte_eth_dev *dev)
DEV_TX_OFFLOAD_TCP_TSO |
DEV_TX_OFFLOAD_MULTI_SEGS;
- return rx_offload_capa;
+ return tx_offload_capa;
}
uint64_t
igb_get_tx_queue_offloads_capa(struct rte_eth_dev *dev)
{
- uint64_t rx_queue_offload_capa;
+ uint64_t tx_queue_offload_capa;
- rx_queue_offload_capa = igb_get_tx_port_offloads_capa(dev);
+ tx_queue_offload_capa = igb_get_tx_port_offloads_capa(dev);
- return rx_queue_offload_capa;
+ return tx_queue_offload_capa;
}
int
--
2.1.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dpdk-dev] [PATCH] net/e1000: Typos (rx_offload<->tx_offload)
2018-08-08 9:45 [dpdk-dev] [PATCH] net/e1000: Typos (rx_offload<->tx_offload) Yaroslav Brustinov
@ 2018-09-03 12:27 ` Zhang, Qi Z
0 siblings, 0 replies; 2+ messages in thread
From: Zhang, Qi Z @ 2018-09-03 12:27 UTC (permalink / raw)
To: Yaroslav Brustinov, Lu, Wenzhuo; +Cc: dev
> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Yaroslav Brustinov
> Sent: Wednesday, August 8, 2018 5:45 PM
> To: Lu, Wenzhuo <wenzhuo.lu@intel.com>
> Cc: dev@dpdk.org; Yaroslav Brustinov <ybrustin@cisco.com>
> Subject: [dpdk-dev] [PATCH] net/e1000: Typos (rx_offload<->tx_offload)
>
> Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
Refine the commit log and add fix line.
net/e1000: fix typos
Fix rx/tx typos in igb_get_tx_port_offloads_capa and
igb_get_tx_queue_offloads_capa.
Fixes: e5c05e6590ea ("net/e1000: convert to new Tx offloads API")
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
Applied to dpdk-next-net-intel.
Thanks!
Qi
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-09-03 12:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-08 9:45 [dpdk-dev] [PATCH] net/e1000: Typos (rx_offload<->tx_offload) Yaroslav Brustinov
2018-09-03 12:27 ` Zhang, Qi Z
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).