Home
last modified time | relevance | path

Searched refs:MAX_PNETID_LEN (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/s390/net/
H A Dpnet.c21 #define MAX_PNETID_LEN 16 /* Max.length of a single port PNETID */ macro
22 #define MAX_PNETID_PORTS (PNETIDS_LEN / MAX_PNETID_LEN)
73 u8 pnetids[MAX_PNETID_PORTS][MAX_PNETID_LEN]; in pnet_id_by_dev_port()
74 static const u8 zero[MAX_PNETID_LEN] = { 0 }; in pnet_id_by_dev_port()
81 memcmp(pnetids[port], zero, MAX_PNETID_LEN)) in pnet_id_by_dev_port()
82 memcpy(pnetid, pnetids[port], MAX_PNETID_LEN); in pnet_id_by_dev_port()