Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 07ba6af4 authored by Miriam Shitrit's avatar Miriam Shitrit Committed by David S. Miller
Browse files

bnx2x: add `ethtool -w' support.



This revises and enhances the bnx2x register dump facilities,
adding support for `ethtool -w' on top of `ethtool -d'.

Signed-off-by: default avatarMiriam Shitrit <miris@broadcom.com>
Signed-off-by: default avatarYuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: default avatarAriel Elior <ariele@broadcom.com>
Signed-off-by: default avatarEilon Greenstein <eilong@broadcom.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4ba7699b
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -1704,6 +1704,7 @@ struct bnx2x {


	/* priority to cos mapping */
	/* priority to cos mapping */
	u8					prio_to_cos[8];
	u8					prio_to_cos[8];
	u32 dump_preset_idx;
};
};


/* Tx queues may be less or equal to Rx queues */
/* Tx queues may be less or equal to Rx queues */
+1 −0
Original line number Original line Diff line number Diff line
@@ -197,6 +197,7 @@ void bnx2x_igu_ack_sb(struct bnx2x *bp, u8 igu_sb_id, u8 segment,


/* Disable transactions from chip to host */
/* Disable transactions from chip to host */
void bnx2x_pf_disable(struct bnx2x *bp);
void bnx2x_pf_disable(struct bnx2x *bp);
int bnx2x_pretend_func(struct bnx2x *bp, u16 pretend_func_val);


/**
/**
 * bnx2x__link_status_update - handles link status change.
 * bnx2x__link_status_update - handles link status change.