DPDK patches and discussions
 help / color / mirror / Atom feed
* need support with struct rte_eth_fdir_conf fdir_conf
@ 2023-03-12 10:40 Ajay Thakur
  0 siblings, 0 replies; only message in thread
From: Ajay Thakur @ 2023-03-12 10:40 UTC (permalink / raw)
  To: dev

[-- Attachment #1: Type: text/plain, Size: 1155 bytes --]

Hi,
I am trying to upgrade vpp20.09 with dpdk 22.11 from vpp20.09 with dpdk
21.11. So it is just DPDK i am trying to upgrade to 22.11.
I am encountering an issue with one of the structures. The structure *struct
rte_eth_fdir_conf fdir_conf*; /**< FDIR configuration. DEPRECATED */ is
deprecated in dpdk 22.11.
while dealing with the vpp
code: VPP/vpp-20.09/srcPatched/src/plugins/dpdk/device/common.c, there is a
piece of code which has dependency to above structure.

if (xd->pmd == VNET_DPDK_PMD_I40E)
    {
      if ((xd->flags & DPDK_DEVICE_FLAG_RX_FLOW_OFFLOAD) != 0)
        xd->port_conf.*fdir_conf*.mode = RTE_FDIR_MODE_PERFECT;
      else
        xd->port_conf.*fdir_conf*.mode = RTE_FDIR_MODE_NONE;
    }

while checking the vpp source of 23.02, i see above code from common.c
(function dpdk_device_setup line 82) being removed.
After seeing the dpdk 22.11 release notes, the structure *struct
rte_eth_fdir_conf fdir_conf *has moved to ethdev_driver.h which is internal
and  not supposed to be used by the user.
so what is the alternative to this. Do i need to retain the above piece of
code in my upgrade activity?




-- 


*Regards,*
*Ajay *

[-- Attachment #2: Type: text/html, Size: 2194 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-03-12 15:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-12 10:40 need support with struct rte_eth_fdir_conf fdir_conf Ajay Thakur

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).