/* ixgbe_atr_set_vlan_id_82599 - Sets the VLAN id in the ATR input stream @input: input stream to modify @vlan: the VLAN id to load  */
s32 ixgbe_atr_set_vlan_id_82599(struct ixgbe_atr_input *input, u16 vlan)
/* ixgbe_atr_set_vlan_id_82599 - Sets the VLAN id in the ATR input stream @input: input stream to modify @vlan: the VLAN id to load  */
s32 ixgbe_atr_set_vlan_id_82599(struct ixgbe_atr_input *input, u16 vlan)
{
	input->byte_stream[IXGBE_ATR_VLAN_OFFSET + 1] = vlan >> 8;
	input->byte_stream[IXGBE_ATR_VLAN_OFFSET] = vlan & 0xff;
	return 0;
}