For the benefit of others that might be interested in this topic:
Turns out the issue was rooted in use of a LINK instead of an INTERFACE statement when defining the OSA in z/OS. Once converted to INTERFACE, things worked as expected.
Otherwise, in case of any issues:
You can find materials at https://linux-on-z.blogspot.com/p/smc-for-linux-on-ibm-z.html. In particular, check the FAQ at https://linux-on-z.blogspot.com/p/smc-faq.html, and the troubleshooting section at https://linux-on-z.blogspot.com/p/smc-troubleshooting.html.
Here's an outline of what has to be done to get SMC-D up and running on Linux:

# Hotplug ISM device if not yet visible via lspci command (see next step)
# Alternative: Use echo 1 > /sys/bus/pci/slots/00000080/power if smc_rnics is
# not available
$ smc_rnics -e 80

# Verify presence of ISM device
# NOTE: No extra setup for VLAN usage required
$ lspci
0001:00:00.0 Non-VGA unclassified device: IBM Internal Shared Memory (ISM) virtual PCI device

# Run application using smc_run
$ smc_run foo_socks

# Verify that SMC is really used (see 'SMCD' in final column)
$ smcss -a
State    UID   Inode  Local Address        Foreign Address      Intf Mode
ACTIVE   20000 115762 10.101.4.8:60594     10.101.4.49:3220     0000 SMCD
ACTIVE   20000 112844 10.101.4.8:60592     10.101.4.49:3220     0000 SMCD
ACTIVE   20000 112605 10.101.4.8:60590     10.101.4.49:3220     0000 SMCD


Best regards,
Stefan Raspl



On 12/8/20 5:58 PM, Eric Chevalier wrote:
My apologies for the poor formatting of my original message. Let's try again:

[root@zlinux4 Temp]# hostname
zlinux4.phx
[root@zlinux4 Temp]#
[root@zlinux4 Temp]# date
Tue Dec  8 06:37:35 PST 2020
[root@zlinux4 Temp]#
[root@zlinux4 Temp]# lspci
00:00.0 Non-VGA unclassified device: IBM Internal Shared Memory (ISM) virtual PCI device
[root@zlinux4 Temp]#
[root@zlinux4 Temp]# ls -ld /sys/bus/pci/slots/*
drwxr-xr-x 2 root root 0 Dec  7 11:23 /sys/bus/pci/slots/00001018
[root@zlinux4 Temp]#
[root@zlinux4 Temp]# smc_rnics
     FID  Power  PCI_ID        PCHID  Type           PPrt PNET_ID Net-Dev -----------------------------------------------------------------------------------------
     1018  1      0000:00:00.0  07e1   ISM            n/a PNET1             n/a
[root@zlinux4 Temp]#
[root@zlinux4 Temp]# smc_rnics -e 1018
Error: FID 1018 is already enabled
[root@zlinux4 Temp]#
[root@zlinux4 Temp]# ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: encf804: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
     link/ether 02:00:00:00:00:09 brd ff:ff:ff:ff:ff:ff
[root@zlinux4 Temp]#
[root@zlinux4 Temp]# smc_pnet
[root@zlinux4 Temp]#
[root@zlinux4 Temp]# smc_pnet -a PNET1 -I encf804
[root@zlinux4 Temp]#
[root@zlinux4 Temp]# smc_pnet
PNET1 encf804 n/a 255
[root@zlinux4 Temp]#
[root@zlinux4 Temp]# smc_pnet -a PNET1 -D 0000:00:00.0
smc_pnet: Object exists
[root@zlinux4 Temp]#
[root@zlinux4 Temp]# smc_run sftp [email protected]
[email protected]'s password:
Connected to [email protected].
sftp> quit
[root@zlinux4 Temp]# smc_run -d sftp [email protected]
libsmc-preload: map sock to AF_SMC
[email protected]'s password:
Connected to [email protected].
sftp> cd Temp
sftp> ls -l E*
-rwxr-x---    ? 1050     0        429391872 Dec  1 13:14 EJES.V600.pax.Z
sftp> get EJES.V600.pax.Z
Fetching /u/ericadm/Temp/EJES.V600.pax.Z to EJES.V600.pax.Z
/u/ericadm/Temp/EJES.V600.pax.Z 100%  410MB  29.9MB/s   00:13
sftp>
sftp> quit
[root@zlinux4 Temp]#

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www2.marist.edu/htbin/wlvindex?LINUX-390


--

Mit freundlichen Grüßen / Kind regards

Stefan Raspl


Linux on Z
-------------------------------------------------------------------------------------------------------------------------------------------
IBM Deutschland
Schoenaicher Str. 220
71032 Boeblingen
Phone: +49-7031-16-2177
E-Mail: [email protected]
-------------------------------------------------------------------------------------------------------------------------------------------
IBM Deutschland Research & Development GmbH / Vorsitzender des Aufsichtsrats: Gregor Pillen
Geschäftsführung: Dirk Wittkopp
Sitz der Gesellschaft: Böblingen / Registergericht: Amtsgericht Stuttgart, HRB 243294

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www2.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to