net/i40e: refactor RSS flow
authorAlvin Zhang <alvinx.zhang@intel.com>
Fri, 8 Jan 2021 05:35:40 +0000 (13:35 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Jan 2021 18:20:09 +0000 (19:20 +0100)
commitef4c16fd9148215897abadf8e8a965488c82ba03
tree08c126de239f42681a065a0e19f6fc04f1325d14
parentc222d2a1d00719564526e5a14ca24622bebc0712
net/i40e: refactor RSS flow

1. Delete original code.
2. Add 2 tables(One maps flow pattern and RSS type to PCTYPE,
   another maps RSS type to input set).
3. Parse RSS pattern and RSS type to get PCTYPE.
4. Parse RSS action to get queues, RSS function and hash field.
5. Create and destroy RSS filters.
6. Create new files for hash flows.

Signed-off-by: Alvin Zhang <alvinx.zhang@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/i40e/i40e_ethdev.c
drivers/net/i40e/i40e_ethdev.h
drivers/net/i40e/i40e_flow.c
drivers/net/i40e/i40e_hash.c [new file with mode: 0644]
drivers/net/i40e/i40e_hash.h [new file with mode: 0644]
drivers/net/i40e/meson.build