dpif-netdev: Remove unnecessary parameters from dp_netdev_execute_actions

The skb_priority, pkt_mark and tunl parameters dp_netdev_execute_actions
are always passed as 0, 0 and NULL respectively. So rather than
passing these values to dp_netdev_execute_actions just use them directly.

Signed-off-by: Simon Horman <horms@verge.net.au>
datapath: Add phy_in_port to struct sw_flow_key

Add phy_in_port to struct sw_flow_key.

It is set it to the port number of the physical port that a packet was
received on.  This conveniently ignores the question of how to determine
the in_phy_port for cases such as tunnels where it may differ from in_port
but likely not be a port present in the bridge.

Compile tested only

Signed-off-by: Simon Horman <horms@verge.net.au>
Add OVS_KEY_ATTR_IN_PHY_PORT

Add OVS_KEY_ATTR_IN_PHY_PORT and update switch statements accordingly.

Compile tested only

Signed-off-by: Simon Horman <horms@verge.net.au>
datapath: Encoding and decoding of OVS_KEY_ATTR_IN_PHY_PORT

Compile tested only

Signed-off-by: Simon Horman <horms@verge.net.au>
flow: Add in_phy_port to struct flow and struct flow_metadata

Signed-off-by: Simon Horman <horms@verge.net.au>
ofp-print: Add phy_in_port to ofp_print_packet_in

Signed-off-by: Simon Horman <horms@verge.net.au>
ofp-util: Add in_phy_port to parse_odp_key_mask_attr()

Also update comment above parse_odp_key_mask_attr(),
the caller of parse_odp_key_mask_attr(), to reflect this change.

Signed-off-by: Simon Horman <horms@verge.net.au>
ofp-util: Add in_phy_port to odp_flow_key_to_flow__()

Also update the comment above odp_flow_key_to_flow()
to reflect this change.

Signed-off-by: Simon Horman <horms@verge.net.au>
ofp-util: Add in_phy_port to odp_flow_key_from_flow__()

Uses the same value for in_phy_port and in_port.

This conveniently ignores the question of how to determine
the in_phy_port for cases such as tunnels where it may differ
from in_port but likely not be a port present in the bridge.

Also update the comment above odp_flow_key_from_flow() and tests
to reflect this change.

Signed-off-by: Simon Horman <horms@verge.net.au>
match: Add in_phy_port

Signed-off-by: Simon Horman <horms@verge.net.au>