DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [DPDK API question]
@ 2020-05-30  9:32 oulijun
  0 siblings, 0 replies; only message in thread
From: oulijun @ 2020-05-30  9:32 UTC (permalink / raw)
  To: Ferruh Yigit, Burakov, Anatoly; +Cc: dev

ss

Hi, Guys

    I am learning data structure defined by dpdk framework and I noticed 
a data structure definition below:

enum rte_eth_hash_function {
     RTE_ETH_HASH_FUNCTION_DEFAULT = 0,
     RTE_ETH_HASH_FUNCTION_TOEPLITZ, /**< Toeplitz */
     RTE_ETH_HASH_FUNCTION_SIMPLE_XOR, /**< Simple XOR */
     /**
      * Symmetric Toeplitz: src, dst will be replaced by
      * xor(src, dst). For the case with src/dst only,
      * src or dst address will xor with zero pair.
      */
     RTE_ETH_HASH_FUNCTION_SYMMETRIC_TOEPLITZ,
     RTE_ETH_HASH_FUNCTION_MAX,
};

I have a little difficulty understanding that for the comment:

    /**
      * Symmetric Toeplitz: src, dst will be replaced by
      * xor(src, dst). For the case with src/dst only,
      * src or dst address will xor with zero pair.
      */

if user configure rss func for symmetric toeplitz, Rss type must be 
updated at the same time?

if user configure rss func for xor, rss type must be empty and the queue 
number is zero?

Must it be restricted like this? If so, what is his benefit?

Looking forward to your reply


Thanks

Lijun Ou



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

only message in thread, other threads:[~2020-05-30  9:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-30  9:32 [dpdk-dev] [DPDK API question] oulijun

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