diff options
author | Tomer Tayar <Tomer.Tayar@cavium.com> | 2016-10-31 07:14:27 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-10-31 15:52:36 -0400 |
commit | 2edbff8dcb5da324fd4c4fe953629e4f6ca73c99 (patch) | |
tree | a5a8aa8e93086dc383e4b10b5d0e81836b830163 /include/linux/qed | |
parent | 5a1f965aac7acf2bf968fbf6a80567dbd1e389f1 (diff) | |
download | lwn-2edbff8dcb5da324fd4c4fe953629e4f6ca73c99.tar.gz lwn-2edbff8dcb5da324fd4c4fe953629e4f6ca73c99.zip |
qed: Learn resources from management firmware
Currently, each interfaces assumes it receives an equal portion
of HW/FW resources, but this is wasteful - different partitions
[and specifically, parititions exposing different protocol support]
might require different resources.
Implement a new resource learning scheme where the information is
received directly from the management firmware [which has knowledge
of all of the functions and can serve as arbiter].
Signed-off-by: Tomer Tayar <Tomer.Tayar@cavium.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/qed')
-rw-r--r-- | include/linux/qed/qed_eth_if.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/qed/qed_eth_if.h b/include/linux/qed/qed_eth_if.h index 15130805d792..9755a3feb52e 100644 --- a/include/linux/qed/qed_eth_if.h +++ b/include/linux/qed/qed_eth_if.h @@ -22,7 +22,7 @@ struct qed_dev_eth_info { u8 num_tc; u8 port_mac[ETH_ALEN]; - u8 num_vlan_filters; + u16 num_vlan_filters; u16 num_mac_filters; /* Legacy VF - this affects the datapath, so qede has to know */ |