mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
qed: Add dcbx app support for IEEE Selection Field.
MFW now supports the Selection field for IEEE mode. Add driver changes to use the newer MFW masks to read/write the port-id value. Signed-off-by: Sudarsana Reddy Kalluru <sudarsana.kalluru@qlogic.com> Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
fb9ea8a9b7
commit
59bcb7972f
2 changed files with 112 additions and 20 deletions
|
@ -70,8 +70,16 @@ struct qed_dbcx_pfc_params {
|
|||
u8 max_tc;
|
||||
};
|
||||
|
||||
enum qed_dcbx_sf_ieee_type {
|
||||
QED_DCBX_SF_IEEE_ETHTYPE,
|
||||
QED_DCBX_SF_IEEE_TCP_PORT,
|
||||
QED_DCBX_SF_IEEE_UDP_PORT,
|
||||
QED_DCBX_SF_IEEE_TCP_UDP_PORT
|
||||
};
|
||||
|
||||
struct qed_app_entry {
|
||||
bool ethtype;
|
||||
enum qed_dcbx_sf_ieee_type sf_ieee;
|
||||
bool enabled;
|
||||
u8 prio;
|
||||
u16 proto_id;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue