* [dpdk-dev] [PATCH] i40e: fix compilation error on icc 2015
@ 2015-11-10 10:19 Pablo de Lara
2015-11-10 10:30 ` Zhang, Helin
0 siblings, 1 reply; 3+ messages in thread
From: Pablo de Lara @ 2015-11-10 10:19 UTC (permalink / raw)
To: helin.zhang; +Cc: dev
Fix for the following error on icc 2015, due to incorrect type:
drivers/net/i40e/i40e_fdir.c(1376): error #188: enumerated type mixed with another type
case RTE_ETH_FDIR_FILTER_INPUT_SET_SELECT:
^
Fixes: 98f05570 ("i40e: configure input fields for RSS or flow director")
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
---
drivers/net/i40e/i40e_fdir.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/i40e/i40e_fdir.c b/drivers/net/i40e/i40e_fdir.c
index 7b1aa6e..23f8a30 100644
--- a/drivers/net/i40e/i40e_fdir.c
+++ b/drivers/net/i40e/i40e_fdir.c
@@ -1361,7 +1361,7 @@ i40e_fdir_stats_get(struct rte_eth_dev *dev, struct rte_eth_fdir_stats *stat)
static int
i40e_fdir_filter_set(struct rte_eth_dev *dev,
- struct rte_eth_hash_filter_info *info)
+ struct rte_eth_fdir_filter_info *info)
{
struct i40e_pf *pf = I40E_DEV_PRIVATE_TO_PF(dev->data->dev_private);
struct i40e_hw *hw = I40E_PF_TO_HW(pf);
@@ -1428,7 +1428,7 @@ i40e_fdir_ctrl_func(struct rte_eth_dev *dev,
break;
case RTE_ETH_FILTER_SET:
ret = i40e_fdir_filter_set(dev,
- (struct rte_eth_hash_filter_info *)arg);
+ (struct rte_eth_fdir_filter_info *)arg);
break;
case RTE_ETH_FILTER_STATS:
i40e_fdir_stats_get(dev, (struct rte_eth_fdir_stats *)arg);
--
2.5.0
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-dev] [PATCH] i40e: fix compilation error on icc 2015
2015-11-10 10:19 [dpdk-dev] [PATCH] i40e: fix compilation error on icc 2015 Pablo de Lara
@ 2015-11-10 10:30 ` Zhang, Helin
2015-11-10 18:12 ` Thomas Monjalon
0 siblings, 1 reply; 3+ messages in thread
From: Zhang, Helin @ 2015-11-10 10:30 UTC (permalink / raw)
To: De Lara Guarch, Pablo; +Cc: dev
> -----Original Message-----
> From: De Lara Guarch, Pablo
> Sent: Tuesday, November 10, 2015 6:20 PM
> To: Zhang, Helin
> Cc: dev@dpdk.org; De Lara Guarch, Pablo
> Subject: [PATCH] i40e: fix compilation error on icc 2015
>
> Fix for the following error on icc 2015, due to incorrect type:
> drivers/net/i40e/i40e_fdir.c(1376): error #188: enumerated type mixed with
> another type
> case RTE_ETH_FDIR_FILTER_INPUT_SET_SELECT:
> ^
>
> Fixes: 98f05570 ("i40e: configure input fields for RSS or flow director")
>
> Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: Helin Zhang <helin.zhang@intel.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-dev] [PATCH] i40e: fix compilation error on icc 2015
2015-11-10 10:30 ` Zhang, Helin
@ 2015-11-10 18:12 ` Thomas Monjalon
0 siblings, 0 replies; 3+ messages in thread
From: Thomas Monjalon @ 2015-11-10 18:12 UTC (permalink / raw)
To: De Lara Guarch, Pablo; +Cc: dev
> > Fix for the following error on icc 2015, due to incorrect type:
> > drivers/net/i40e/i40e_fdir.c(1376): error #188: enumerated type mixed with
> > another type
> > case RTE_ETH_FDIR_FILTER_INPUT_SET_SELECT:
> > ^
> >
> > Fixes: 98f05570 ("i40e: configure input fields for RSS or flow director")
> >
> > Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
> Acked-by: Helin Zhang <helin.zhang@intel.com>
Applied, thanks
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-11-10 18:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-10 10:19 [dpdk-dev] [PATCH] i40e: fix compilation error on icc 2015 Pablo de Lara
2015-11-10 10:30 ` Zhang, Helin
2015-11-10 18:12 ` Thomas Monjalon
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).