All of lore.kernel.org
 help / color / mirror / Atom feed
* [dpdk-dev] [Bug 526] ixgbe: X550 flow type ETH / VLAN / RAW not supported
@ 2020-08-14 10:06 bugzilla
  0 siblings, 0 replies; only message in thread
From: bugzilla @ 2020-08-14 10:06 UTC (permalink / raw)
  To: dev

https://bugs.dpdk.org/show_bug.cgi?id=526

            Bug ID: 526
           Summary: ixgbe: X550 flow type ETH / VLAN / RAW not supported
           Product: DPDK
           Version: 20.05
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: ethdev
          Assignee: dev@dpdk.org
          Reporter: pawelwod@gmail.com
  Target Milestone: ---

While trying to add ETH / VLAN it works OK. But when trying ETH / VLAN / RAW
with RAW item & mask:

        struct rte_flow_item_raw raw = {};
        raw.relative = 0;
        raw.search = 0;
        raw.reserved = 0;
        raw.offset = off;
        raw.limit = 0;
        raw.length = 2;

        raw.pattern = (uint8_t *)&raw_pattern;

        struct rte_flow_item_raw raw_mask = {};
        raw_mask.relative = 1;
        raw_mask.search = 1;
        raw_mask.reserved = 0;
        raw_mask.offset = 0xffffffff;
        raw_mask.limit = 0xffff;
        raw_mask.length = 0xffff;

        uint16_t raw_mask_pattern = 0xffff;
        raw_mask.pattern = (uint8_t *)&raw_mask_pattern;

        item->type = RTE_FLOW_ITEM_TYPE_RAW;
        item->spec = (void *)&raw;
        item->mask = (void *)&raw_mask;

It returns: EINVAL: "Not supported by fdir filter"

This NIC (and others from ixgbe) support FLEX bytes so it should be considered
as a bug.

I can't test DPDK version > 20.05 but since fdir code is quite the same I think
it is presen in master branch as well.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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

only message in thread, other threads:[~2020-08-14 10:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-14 10:06 [dpdk-dev] [Bug 526] ixgbe: X550 flow type ETH / VLAN / RAW not supported bugzilla

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.