]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
cxgb4: fix endianness for vlan value in cxgb4_tc_flower
authorKumar Sanghvi <kumaras@chelsio.com>
Wed, 17 Jan 2018 06:43:34 +0000 (12:13 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Jan 2018 20:26:57 +0000 (15:26 -0500)
commit100d39af5048aecb00522a128ec264781ba7ecfa
tree8de115b6f8524c5d8276f27632930edb59db6242
parentd728f13102cd4b2afdbb183babde2b43ac2c3130
cxgb4: fix endianness for vlan value in cxgb4_tc_flower

Don't change endianness when assigning vlan value in cxgb4_tc_flower
code when processing flow match parameters. The value gets converted
to network order as part of filtering code in set_filter_wr.

Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c