Commit babc6727 authored by Merav Sicron's avatar Merav Sicron Committed by David S. Miller

bnx2x: HSI change for 'update' ramrod

This patch updates the driver-FW HSI to support changes to the 'update' ramrod
(FW supports this change since 7.8.2). This ramrod is sent when the cnic module
registers bnx2x, to enable changing the nic_mode configuration in HW at
run-time.
Signed-off-by: default avatarMerav Sicron <meravs@broadcom.com>
Signed-off-by: default avatarDmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: default avatarEilon Greenstein <eilong@broadcom.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5920cd3a
...@@ -4845,9 +4845,17 @@ struct vif_list_event_data { ...@@ -4845,9 +4845,17 @@ struct vif_list_event_data {
__le32 reserved2; __le32 reserved2;
}; };
/* /* function update event data */
* union for all event ring message types struct function_update_event_data {
*/ u8 echo;
u8 reserved;
__le16 reserved0;
__le32 reserved1;
__le32 reserved2;
};
/* union for all event ring message types */
union event_data { union event_data {
struct vf_pf_event_data vf_pf_event; struct vf_pf_event_data vf_pf_event;
struct eth_event_data eth_event; struct eth_event_data eth_event;
...@@ -4855,6 +4863,7 @@ union event_data { ...@@ -4855,6 +4863,7 @@ union event_data {
struct vf_flr_event_data vf_flr_event; struct vf_flr_event_data vf_flr_event;
struct malicious_vf_event_data malicious_vf_event; struct malicious_vf_event_data malicious_vf_event;
struct vif_list_event_data vif_list_event; struct vif_list_event_data vif_list_event;
struct function_update_event_data function_update_event;
}; };
...@@ -4984,8 +4993,10 @@ struct function_update_data { ...@@ -4984,8 +4993,10 @@ struct function_update_data {
u8 allowed_priorities; u8 allowed_priorities;
u8 network_cos_mode; u8 network_cos_mode;
u8 lb_mode_en; u8 lb_mode_en;
u8 reserved0; u8 tx_switch_suspend_change_flg;
__le32 reserved1; u8 tx_switch_suspend;
u8 echo;
__le16 reserved1;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment