aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorKaricheri, Muralidharan <[email protected]>2015-03-20 20:11:21 +0000
committerDavid S. Miller <[email protected]>2015-03-21 02:03:09 +0000
commite170f409924235478317bd6f2062d3a0c874ff9a (patch)
tree534e9472e1c38acdd4a919e8cdd5d57c685b5acf /net/switchdev/switchdev.c
parentnet: neighbour: Document {mcast, ucast}_solicit, mcast_resolicit. (diff)
downloadkernel-e170f409924235478317bd6f2062d3a0c874ff9a.tar.gz
kernel-e170f409924235478317bd6f2062d3a0c874ff9a.zip
net: netcp: fix forward port number usage for 10G ethss
10G switch requires forward port number in the taginfo field, where as it should be in packet_info field for necp 1.4 Ethss. So fill this value correctly in the knav dma descriptor. Also rename dma_psflags field in struct netcp_tx_pipe to switch_to_port as it contain no flag, but the switch port number for forwarding the packet. Add a flag to hold the new flag, SWITCH_TO_PORT_IN_TAGINFO which will be set for 10G. This can also used in the future for other flags for the tx_pipe. Signed-off-by: Murali Karicheri <[email protected]> Signed-off-by: WingMan Kwok <[email protected]> CC: "David S. Miller" <[email protected]> CC: Mugunthan V N <[email protected]> CC: "Lad, Prabhakar" <[email protected]> CC: Grygorii Strashko <[email protected]> CC: Christoph Jaeger <[email protected]> CC: Lokesh Vutla <[email protected]> CC: Markus Pargmann <[email protected]> CC: Kumar Gala <[email protected]> CC: Ian Campbell <[email protected]> CC: Mark Rutland <[email protected]> CC: Pawel Moll <[email protected]> CC: Rob Herring <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions