OSDN Git Service

net: ena: Change RSS related macros and variables names
authorShay Agroskin <shayagr@amazon.com>
Mon, 21 Sep 2020 08:37:40 +0000 (11:37 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Sep 2020 20:54:23 +0000 (13:54 -0700)
commit0deca83ff1118f305fc7fb11e5a4b13e876201e8
treed6c45602fce511ad72d21ffef9b346f97e3ac727
parenta8aea84981ad1b0074670a284b13d416d2881f32
net: ena: Change RSS related macros and variables names

The formal name changes to "ENA_ADMIN_RSS_INDIRECTION_TABLE_CONFIG".
Indirection is the ability to reference "something" using "something else"
instead of the value itself.
Indirection table, as the name implies, is the ability to reference
CPU/Queue value using hash-to-CPU table instead of CPU/Queue itself.

This patch renames the variable keys_num, which describes the number of
words in the RSS hash key, to key_parts which makes its purpose clearer
in RSS context.

Signed-off-by: Amit Bernstein <amitbern@amazon.com>
Signed-off-by: Shay Agroskin <shayagr@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/device_drivers/ethernet/amazon/ena.rst
drivers/net/ethernet/amazon/ena/ena_admin_defs.h
drivers/net/ethernet/amazon/ena/ena_com.c