Skip to content

bit field order in TPG descriptor byte0#455

Open
glagolig wants to merge 1 commit into
sahlberg:masterfrom
glagolig:master
Open

bit field order in TPG descriptor byte0#455
glagolig wants to merge 1 commit into
sahlberg:masterfrom
glagolig:master

Conversation

@glagolig

Copy link
Copy Markdown

Re-arranging bit fields in scsi_target_port_group (representing unmarshalled data from RTPG commands) so that they match bits on the wire.
Also fixing a typo in enum scsi_alua_state.

Tested with iscsi-rtpg utility against a target with some groups having ALUA states other than "active-optimized".
Before the change all states showed up as "active-optimized" (0). After the change the states showed as expected.

Re-arranging bit fields in scsi_target_port_group (representing
unmarshalled data from RTPG commands) so that they match bits
on the wire.
Also fixing a typo in enum scsi_alua_state.

Tested with iscsi-rtpg utility against a target with some groups
having ALUA states other than "active-optimized".
Before the change all states showed up as "active-optimized" (0).
After the change the states showed as expected.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants