aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/af_inet.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2017-10-01 04:15:08 +0100
committerDavid S. Miller <davem@davemloft.net>2017-10-01 04:15:08 +0100
commit506d0a3edbc0bd4eaabe0c4e9c31ce69d6dfd5e5 (patch)
tree1588a23127ad9bc19300231729073165d320f59b /net/ipv4/af_inet.c
parentnet: hns3: fix null pointer dereference before null check (diff)
parentnet: dsa: remove tag ops from the switch tree (diff)
downloadlinux-dev-506d0a3edbc0bd4eaabe0c4e9c31ce69d6dfd5e5.tar.xz
linux-dev-506d0a3edbc0bd4eaabe0c4e9c31ce69d6dfd5e5.zip
Merge branch 'dsa_ptr-port'
Vivien Didelot says: ==================== net: dsa: change dsa_ptr for a dsa_port With DSA, a master net_device is physically wired to a dedicated CPU switch port. For interaction with the DSA layer, the struct net_device contains a dsa_ptr, which currently points to a dsa_switch_tree object. This is only valid for a switch fabric with a single CPU port. In order to support switch fabrics with multiple CPU ports, we first need to change the type of dsa_ptr to what it really is: a dsa_port object. This is what this patchset does. The first patches adds a dsa_master_get_slave helper and cleans up portions of DSA core to make the next patches more readable. These next patches prepare the xmit and receive hot paths and finally change dsa_ptr. Changes in v2: - introduce dsa_master_get_slave helper to simplify patch 6 - keep hot path data at beginning of dsa_port for cacheline 1 ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/af_inet.c')
0 files changed, 0 insertions, 0 deletions