config: remove unused macro
Checks
Commit Message
RTE_LIBRTE_I40E_ITR_INTERVAL is not used. So it should also be removed
in config/rte_config.h for meson+ninjia build.
Fixes: 864a800d706d ("net/i40e: remove VF interrupt handler")
Cc: stable@dpdk.org
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
---
config/rte_config.h | 2 --
1 file changed, 2 deletions(-)
Comments
On Mon, Sep 17, 2018 at 03:39:32PM +0800, Qi Zhang wrote:
> RTE_LIBRTE_I40E_ITR_INTERVAL is not used. So it should also be removed
> in config/rte_config.h for meson+ninjia build.
>
> Fixes: 864a800d706d ("net/i40e: remove VF interrupt handler")
> Cc: stable@dpdk.org
>
> Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
I like code removal.
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
17/09/2018 10:24, Bruce Richardson:
> On Mon, Sep 17, 2018 at 03:39:32PM +0800, Qi Zhang wrote:
> > RTE_LIBRTE_I40E_ITR_INTERVAL is not used. So it should also be removed
> > in config/rte_config.h for meson+ninjia build.
> >
> > Fixes: 864a800d706d ("net/i40e: remove VF interrupt handler")
> > Cc: stable@dpdk.org
> >
> > Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
>
> I like code removal.
>
> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Applied, thanks
@@ -106,8 +106,6 @@
#define RTE_LIBRTE_I40E_QUEUE_NUM_PER_PF 64
#define RTE_LIBRTE_I40E_QUEUE_NUM_PER_VF 4
#define RTE_LIBRTE_I40E_QUEUE_NUM_PER_VM 4
-/* interval up to 8160 us, aligned to 2 (or default value) */
-#define RTE_LIBRTE_I40E_ITR_INTERVAL -1
/* Ring net PMD settings */
#define RTE_PMD_RING_MAX_RX_RINGS 16