summaryrefslogtreecommitdiff
path: root/net/dsa/tag_hellcreek.c
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2023-10-24 13:08:15 -0700
committerJakub Kicinski <kuba@kernel.org>2023-10-24 13:08:16 -0700
commit58ab91718cb5bc30e3d9c17eb5e0067fe2a33b6e (patch)
treeccaf31278a7e1e1c1002be03545f8e2bced509b2 /net/dsa/tag_hellcreek.c
parent00e984cb986b31e9313745e51daceaa1e1eb7351 (diff)
parent87cd83714f30ef2f19f0390e98beb8d78e173f0f (diff)
Merge branch 'switch-dsa-to-inclusive-terminology'
Florian Fainelli says: ==================== Switch DSA to inclusive terminology One of the action items following Netconf'23 is to switch subsystems to use inclusive terminology. DSA has been making extensive use of the "master" and "slave" words which are now replaced by "conduit" and "user" respectively. ==================== Link: https://lore.kernel.org/r/20231023181729.1191071-1-florian.fainelli@broadcom.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/dsa/tag_hellcreek.c')
-rw-r--r--net/dsa/tag_hellcreek.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/dsa/tag_hellcreek.c b/net/dsa/tag_hellcreek.c
index 03a1fb9c87a9..6e233cd0aa38 100644
--- a/net/dsa/tag_hellcreek.c
+++ b/net/dsa/tag_hellcreek.c
@@ -20,7 +20,7 @@
static struct sk_buff *hellcreek_xmit(struct sk_buff *skb,
struct net_device *dev)
{
- struct dsa_port *dp = dsa_slave_to_port(dev);
+ struct dsa_port *dp = dsa_user_to_port(dev);
u8 *tag;
/* Calculate checksums (if required) before adding the trailer tag to
@@ -45,7 +45,7 @@ static struct sk_buff *hellcreek_rcv(struct sk_buff *skb,
u8 *tag = skb_tail_pointer(skb) - HELLCREEK_TAG_LEN;
unsigned int port = tag[0] & 0x03;
- skb->dev = dsa_master_find_slave(dev, 0, port);
+ skb->dev = dsa_conduit_find_user(dev, 0, port);
if (!skb->dev) {
netdev_warn_once(dev, "Failed to get source port: %d\n", port);
return NULL;