tree: https://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git wip/jgg-for-next head: 4061ff7aa379fa770a82da0ed7ec4f9163034518 commit: 75e70add889039b9683b3d9989d4163c226b98a7 [13/17] infiniband: add a Documentation driver-api chapter for Infiniband reproduce: make htmldocs If you fix the issue, kindly add following tag Reported-by: kbuild test robot <lkp@xxxxxxxxx> All warnings (new ones prefixed by >>): Warning: The Sphinx 'sphinx_rtd_theme' HTML theme was not found. Make sure you have the theme installed to produce pretty HTML output. Falling back to the default theme. WARNING: dot(1) not found, for better output quality install graphviz from http://www.graphviz.org WARNING: convert(1) not found, for SVG to PDF conversion install ImageMagick (https://www.imagemagick.org) include/linux/regulator/machine.h:196: warning: Function parameter or member 'max_uV_step' not described in 'regulation_constraints' include/linux/regulator/driver.h:223: warning: Function parameter or member 'resume' not described in 'regulator_ops' Error: Cannot open file drivers/dma-buf/reservation.c Error: Cannot open file drivers/dma-buf/reservation.c Error: Cannot open file drivers/dma-buf/reservation.c Error: Cannot open file include/linux/reservation.h Error: Cannot open file include/linux/reservation.h include/linux/spi/spi.h:190: warning: Function parameter or member 'driver_override' not described in 'spi_device' include/linux/lsm_hooks.h:1822: warning: Function parameter or member 'quotactl' not described in 'security_list_options' include/linux/lsm_hooks.h:1822: warning: Function parameter or member 'quota_on' not described in 'security_list_options' include/linux/lsm_hooks.h:1822: warning: Function parameter or member 'sb_free_mnt_opts' not described in 'security_list_options' include/linux/lsm_hooks.h:1822: warning: Function parameter or member 'sb_eat_lsm_opts' not described in 'security_list_options' include/linux/lsm_hooks.h:1822: warning: Function parameter or member 'sb_kern_mount' not described in 'security_list_options' include/linux/lsm_hooks.h:1822: warning: Function parameter or member 'sb_show_options' not described in 'security_list_options' include/linux/lsm_hooks.h:1822: warning: Function parameter or member 'sb_add_mnt_opt' not described in 'security_list_options' include/linux/lsm_hooks.h:1822: warning: Function parameter or member 'd_instantiate' not described in 'security_list_options' include/linux/lsm_hooks.h:1822: warning: Function parameter or member 'getprocattr' not described in 'security_list_options' include/linux/lsm_hooks.h:1822: warning: Function parameter or member 'setprocattr' not described in 'security_list_options' include/linux/lsm_hooks.h:1822: warning: Function parameter or member 'locked_down' not described in 'security_list_options' lib/genalloc.c:1: warning: 'gen_pool_add_virt' not found lib/genalloc.c:1: warning: 'gen_pool_alloc' not found lib/genalloc.c:1: warning: 'gen_pool_free' not found lib/genalloc.c:1: warning: 'gen_pool_alloc_algo' not found drivers/gpio/gpiolib-of.c:92: warning: Excess function parameter 'dev' description in 'of_gpio_need_valid_mask' include/linux/i2c.h:337: warning: Function parameter or member 'init_irq' not described in 'i2c_client' fs/fs-writeback.c:913: warning: Excess function parameter 'nr_pages' description in 'cgroup_writeback_by_id' fs/direct-io.c:258: warning: Excess function parameter 'offset' description in 'dio_complete' fs/libfs.c:496: warning: Excess function parameter 'available' description in 'simple_write_end' fs/posix_acl.c:647: warning: Function parameter or member 'inode' not described in 'posix_acl_update_mode' fs/posix_acl.c:647: warning: Function parameter or member 'mode_p' not described in 'posix_acl_update_mode' fs/posix_acl.c:647: warning: Function parameter or member 'acl' not described in 'posix_acl_update_mode' drivers/usb/typec/bus.c:1: warning: 'typec_altmode_register_driver' not found drivers/usb/typec/bus.c:1: warning: 'typec_altmode_unregister_driver' not found drivers/usb/typec/class.c:1: warning: 'typec_altmode_register_notifier' not found drivers/usb/typec/class.c:1: warning: 'typec_altmode_unregister_notifier' not found include/linux/w1.h:277: warning: Function parameter or member 'of_match_table' not described in 'w1_family' include/linux/skbuff.h:888: warning: Function parameter or member 'dev_scratch' not described in 'sk_buff' include/linux/skbuff.h:888: warning: Function parameter or member 'list' not described in 'sk_buff' include/linux/skbuff.h:888: warning: Function parameter or member 'ip_defrag_offset' not described in 'sk_buff' include/linux/skbuff.h:888: warning: Function parameter or member 'skb_mstamp_ns' not described in 'sk_buff' include/linux/skbuff.h:888: warning: Function parameter or member '__cloned_offset' not described in 'sk_buff' include/linux/skbuff.h:888: warning: Function parameter or member 'head_frag' not described in 'sk_buff' include/linux/skbuff.h:888: warning: Function parameter or member '__pkt_type_offset' not described in 'sk_buff' include/linux/skbuff.h:888: warning: Function parameter or member 'encapsulation' not described in 'sk_buff' include/linux/skbuff.h:888: warning: Function parameter or member 'encap_hdr_csum' not described in 'sk_buff' include/linux/skbuff.h:888: warning: Function parameter or member 'csum_valid' not described in 'sk_buff' include/linux/skbuff.h:888: warning: Function parameter or member '__pkt_vlan_present_offset' not described in 'sk_buff' include/linux/skbuff.h:888: warning: Function parameter or member 'vlan_present' not described in 'sk_buff' include/linux/skbuff.h:888: warning: Function parameter or member 'csum_complete_sw' not described in 'sk_buff' include/linux/skbuff.h:888: warning: Function parameter or member 'csum_level' not described in 'sk_buff' include/linux/skbuff.h:888: warning: Function parameter or member 'inner_protocol_type' not described in 'sk_buff' include/linux/skbuff.h:888: warning: Function parameter or member 'remcsum_offload' not described in 'sk_buff' include/linux/skbuff.h:888: warning: Function parameter or member 'sender_cpu' not described in 'sk_buff' include/linux/skbuff.h:888: warning: Function parameter or member 'reserved_tailroom' not described in 'sk_buff' include/linux/skbuff.h:888: warning: Function parameter or member 'inner_ipproto' not described in 'sk_buff' include/net/sock.h:233: warning: Function parameter or member 'skc_addrpair' not described in 'sock_common' include/net/sock.h:233: warning: Function parameter or member 'skc_portpair' not described in 'sock_common' include/net/sock.h:233: warning: Function parameter or member 'skc_ipv6only' not described in 'sock_common' include/net/sock.h:233: warning: Function parameter or member 'skc_net_refcnt' not described in 'sock_common' include/net/sock.h:233: warning: Function parameter or member 'skc_v6_daddr' not described in 'sock_common' include/net/sock.h:233: warning: Function parameter or member 'skc_v6_rcv_saddr' not described in 'sock_common' include/net/sock.h:233: warning: Function parameter or member 'skc_cookie' not described in 'sock_common' include/net/sock.h:233: warning: Function parameter or member 'skc_listener' not described in 'sock_common' include/net/sock.h:233: warning: Function parameter or member 'skc_tw_dr' not described in 'sock_common' include/net/sock.h:233: warning: Function parameter or member 'skc_rcv_wnd' not described in 'sock_common' include/net/sock.h:233: warning: Function parameter or member 'skc_tw_rcv_nxt' not described in 'sock_common' include/net/sock.h:515: warning: Function parameter or member 'sk_rx_skb_cache' not described in 'sock' include/net/sock.h:515: warning: Function parameter or member 'sk_wq_raw' not described in 'sock' include/net/sock.h:515: warning: Function parameter or member 'tcp_rtx_queue' not described in 'sock' include/net/sock.h:515: warning: Function parameter or member 'sk_tx_skb_cache' not described in 'sock' include/net/sock.h:515: warning: Function parameter or member 'sk_route_forced_caps' not described in 'sock' include/net/sock.h:515: warning: Function parameter or member 'sk_txtime_report_errors' not described in 'sock' include/net/sock.h:515: warning: Function parameter or member 'sk_validate_xmit_skb' not described in 'sock' include/net/sock.h:515: warning: Function parameter or member 'sk_bpf_storage' not described in 'sock' include/net/sock.h:2439: warning: Function parameter or member 'tcp_rx_skb_cache_key' not described in 'DECLARE_STATIC_KEY_FALSE' include/net/sock.h:2439: warning: Excess function parameter 'sk' description in 'DECLARE_STATIC_KEY_FALSE' include/net/sock.h:2439: warning: Excess function parameter 'skb' description in 'DECLARE_STATIC_KEY_FALSE' include/linux/netdevice.h:2053: warning: Function parameter or member 'gso_partial_features' not described in 'net_device' include/linux/netdevice.h:2053: warning: Function parameter or member 'l3mdev_ops' not described in 'net_device' include/linux/netdevice.h:2053: warning: Function parameter or member 'xfrmdev_ops' not described in 'net_device' include/linux/netdevice.h:2053: warning: Function parameter or member 'tlsdev_ops' not described in 'net_device' include/linux/netdevice.h:2053: warning: Function parameter or member 'name_assign_type' not described in 'net_device' include/linux/netdevice.h:2053: warning: Function parameter or member 'ieee802154_ptr' not described in 'net_device' include/linux/netdevice.h:2053: warning: Function parameter or member 'mpls_ptr' not described in 'net_device' include/linux/netdevice.h:2053: warning: Function parameter or member 'xdp_prog' not described in 'net_device' include/linux/netdevice.h:2053: warning: Function parameter or member 'gro_flush_timeout' not described in 'net_device' include/linux/netdevice.h:2053: warning: Function parameter or member 'nf_hooks_ingress' not described in 'net_device' include/linux/netdevice.h:2053: warning: Function parameter or member '____cacheline_aligned_in_smp' not described in 'net_device' include/linux/netdevice.h:2053: warning: Function parameter or member 'qdisc_hash' not described in 'net_device' include/linux/netdevice.h:2053: warning: Function parameter or member 'xps_cpus_map' not described in 'net_device' include/linux/netdevice.h:2053: warning: Function parameter or member 'xps_rxqs_map' not described in 'net_device' include/linux/phylink.h:56: warning: Function parameter or member '__ETHTOOL_DECLARE_LINK_MODE_MASK(advertising' not described in 'phylink_link_state' include/linux/phylink.h:56: warning: Function parameter or member '__ETHTOOL_DECLARE_LINK_MODE_MASK(lp_advertising' not described in 'phylink_link_state' drivers/net/phy/phylink.c:595: warning: Function parameter or member 'config' not described in 'phylink_create' drivers/net/phy/phylink.c:595: warning: Excess function parameter 'ndev' description in 'phylink_create' drivers/infiniband/ulp/iser/iscsi_iser.h:401: warning: Function parameter or member 'all_list' not described in 'iser_fr_desc' drivers/infiniband/ulp/iser/iscsi_iser.h:415: warning: Function parameter or member 'all_list' not described in 'iser_fr_pool' >> drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.h:148: warning: Function parameter or member 'rsvd0' not described in 'opa_vesw_info' >> drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.h:148: warning: Function parameter or member 'rsvd1' not described in 'opa_vesw_info' >> drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.h:148: warning: Function parameter or member 'rsvd2' not described in 'opa_vesw_info' >> drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.h:148: warning: Function parameter or member 'rsvd3' not described in 'opa_vesw_info' >> drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.h:148: warning: Function parameter or member 'rsvd4' not described in 'opa_vesw_info' >> drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.h:205: warning: Function parameter or member 'rsvd0' not described in 'opa_per_veswport_info' >> drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.h:205: warning: Function parameter or member 'rsvd1' not described in 'opa_per_veswport_info' >> drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.h:205: warning: Function parameter or member 'rsvd2' not described in 'opa_per_veswport_info' >> drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.h:205: warning: Function parameter or member 'rsvd3' not described in 'opa_per_veswport_info' >> drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.h:263: warning: Function parameter or member 'tbl_entries' not described in 'opa_veswport_mactable' >> drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.h:342: warning: Function parameter or member 'reserved' not described in 'opa_veswport_summary_counters' >> drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.h:394: warning: Function parameter or member 'rsvd0' not described in 'opa_veswport_error_counters' >> drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.h:394: warning: Function parameter or member 'rsvd1' not described in 'opa_veswport_error_counters' >> drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.h:394: warning: Function parameter or member 'rsvd2' not described in 'opa_veswport_error_counters' >> drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.h:394: warning: Function parameter or member 'rsvd3' not described in 'opa_veswport_error_counters' >> drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.h:394: warning: Function parameter or member 'rsvd4' not described in 'opa_veswport_error_counters' >> drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.h:394: warning: Function parameter or member 'rsvd5' not described in 'opa_veswport_error_counters' >> drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.h:394: warning: Function parameter or member 'rsvd6' not described in 'opa_veswport_error_counters' >> drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.h:394: warning: Function parameter or member 'rsvd7' not described in 'opa_veswport_error_counters' >> drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.h:394: warning: Function parameter or member 'rsvd8' not described in 'opa_veswport_error_counters' vim +148 drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.h 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 @148 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 149 /** 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 150 * struct opa_per_veswport_info - OPA vnic per port information 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 151 * @port_num: port number 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 152 * @eth_link_status: current ethernet link state 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 153 * @base_mac_addr: base mac address 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 154 * @config_state: configured port state 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 155 * @oper_state: operational port state 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 156 * @max_mac_tbl_ent: max number of mac table entries 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 157 * @max_smac_ent: max smac entries in mac table 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 158 * @mac_tbl_digest: mac table digest 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 159 * @encap_slid: base slid for the port 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 160 * @pcp_to_sc_uc: sc by pcp index for unicast ethernet packets 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 161 * @pcp_to_vl_uc: vl by pcp index for unicast ethernet packets 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 162 * @pcp_to_sc_mc: sc by pcp index for multicast ethernet packets 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 163 * @pcp_to_vl_mc: vl by pcp index for multicast ethernet packets 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 164 * @non_vlan_sc_uc: sc for non-vlan unicast ethernet packets 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 165 * @non_vlan_vl_uc: vl for non-vlan unicast ethernet packets 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 166 * @non_vlan_sc_mc: sc for non-vlan multicast ethernet packets 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 167 * @non_vlan_vl_mc: vl for non-vlan multicast ethernet packets 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 168 * @uc_macs_gen_count: generation count for unicast macs list 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 169 * @mc_macs_gen_count: generation count for multicast macs list 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 170 */ 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 171 struct opa_per_veswport_info { 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 172 __be32 port_num; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 173 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 174 u8 eth_link_status; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 175 u8 rsvd0[3]; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 176 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 177 u8 base_mac_addr[ETH_ALEN]; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 178 u8 config_state; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 179 u8 oper_state; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 180 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 181 __be16 max_mac_tbl_ent; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 182 __be16 max_smac_ent; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 183 __be32 mac_tbl_digest; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 184 u8 rsvd1[4]; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 185 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 186 __be32 encap_slid; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 187 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 188 u8 pcp_to_sc_uc[OPA_VNIC_MAX_NUM_PCP]; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 189 u8 pcp_to_vl_uc[OPA_VNIC_MAX_NUM_PCP]; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 190 u8 pcp_to_sc_mc[OPA_VNIC_MAX_NUM_PCP]; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 191 u8 pcp_to_vl_mc[OPA_VNIC_MAX_NUM_PCP]; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 192 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 193 u8 non_vlan_sc_uc; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 194 u8 non_vlan_vl_uc; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 195 u8 non_vlan_sc_mc; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 196 u8 non_vlan_vl_mc; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 197 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 198 u8 rsvd2[48]; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 199 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 200 __be16 uc_macs_gen_count; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 201 __be16 mc_macs_gen_count; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 202 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 203 u8 rsvd3[8]; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 204 } __packed; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 @205 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 206 /** 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 207 * struct opa_veswport_info - OPA vnic port information 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 208 * @vesw: OPA vnic switch information 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 209 * @vport: OPA vnic per port information 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 210 * 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 211 * On host, each of the virtual ethernet ports belongs 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 212 * to a different virtual ethernet switches. 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 213 */ 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 214 struct opa_veswport_info { 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 215 struct opa_vesw_info vesw; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 216 struct opa_per_veswport_info vport; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 217 }; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 218 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 219 /** 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 220 * struct opa_veswport_mactable_entry - single entry in the forwarding table 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 221 * @mac_addr: MAC address 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 222 * @mac_addr_mask: MAC address bit mask 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 223 * @dlid_sd: Matching DLID and side data 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 224 * 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 225 * On the host each virtual ethernet port will have 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 226 * a forwarding table. These tables are used to 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 227 * map a MAC to a LID and other data. For more 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 228 * details see struct opa_veswport_mactable_entries. 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 229 * This is the structure of a single mactable entry 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 230 */ 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 231 struct opa_veswport_mactable_entry { 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 232 u8 mac_addr[ETH_ALEN]; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 233 u8 mac_addr_mask[ETH_ALEN]; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 234 __be32 dlid_sd; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 235 } __packed; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 236 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 237 /** 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 238 * struct opa_veswport_mactable - Forwarding table array 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 239 * @offset: mac table starting offset 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 240 * @num_entries: Number of entries to get or set 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 241 * @mac_tbl_digest: mac table digest 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 242 * @tbl_entries[]: Array of table entries 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 243 * 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 244 * The EM sends down this structure in a MAD indicating 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 245 * the starting offset in the forwarding table that this 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 246 * entry is to be loaded into and the number of entries 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 247 * that that this MAD instance contains 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 248 * The mac_tbl_digest has been added to this MAD structure. It will be set by 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 249 * the EM and it will be used by the EM to check if there are any 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 250 * discrepancies with this value and the value 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 251 * maintained by the EM in the case of VNIC port being deleted or unloaded 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 252 * A new instantiation of a VNIC will always have a value of zero. 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 253 * This value is stored as part of the vnic adapter structure and will be 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 254 * accessed by the GET and SET routines for both the mactable entries and the 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 255 * veswport info. 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 256 */ 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 257 struct opa_veswport_mactable { 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 258 __be16 offset; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 259 __be16 num_entries; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 260 __be32 mac_tbl_digest; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 261 struct opa_veswport_mactable_entry tbl_entries[0]; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 262 } __packed; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 @263 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 264 /** 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 265 * struct opa_veswport_summary_counters - summary counters 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 266 * @vp_instance: vport instance on the OPA port 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 267 * @vesw_id: virtual ethernet switch id 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 268 * @veswport_num: virtual ethernet switch port number 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 269 * @tx_errors: transmit errors 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 270 * @rx_errors: receive errors 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 271 * @tx_packets: transmit packets 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 272 * @rx_packets: receive packets 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 273 * @tx_bytes: transmit bytes 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 274 * @rx_bytes: receive bytes 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 275 * @tx_unicast: unicast packets transmitted 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 276 * @tx_mcastbcast: multicast/broadcast packets transmitted 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 277 * @tx_untagged: non-vlan packets transmitted 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 278 * @tx_vlan: vlan packets transmitted 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 279 * @tx_64_size: transmit packet length is 64 bytes 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 280 * @tx_65_127: transmit packet length is >=65 and < 127 bytes 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 281 * @tx_128_255: transmit packet length is >=128 and < 255 bytes 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 282 * @tx_256_511: transmit packet length is >=256 and < 511 bytes 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 283 * @tx_512_1023: transmit packet length is >=512 and < 1023 bytes 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 284 * @tx_1024_1518: transmit packet length is >=1024 and < 1518 bytes 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 285 * @tx_1519_max: transmit packet length >= 1519 bytes 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 286 * @rx_unicast: unicast packets received 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 287 * @rx_mcastbcast: multicast/broadcast packets received 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 288 * @rx_untagged: non-vlan packets received 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 289 * @rx_vlan: vlan packets received 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 290 * @rx_64_size: received packet length is 64 bytes 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 291 * @rx_65_127: received packet length is >=65 and < 127 bytes 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 292 * @rx_128_255: received packet length is >=128 and < 255 bytes 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 293 * @rx_256_511: received packet length is >=256 and < 511 bytes 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 294 * @rx_512_1023: received packet length is >=512 and < 1023 bytes 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 295 * @rx_1024_1518: received packet length is >=1024 and < 1518 bytes 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 296 * @rx_1519_max: received packet length >= 1519 bytes 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 297 * 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 298 * All the above are counters of corresponding conditions. 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 299 */ 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 300 struct opa_veswport_summary_counters { 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 301 __be16 vp_instance; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 302 __be16 vesw_id; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 303 __be32 veswport_num; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 304 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 305 __be64 tx_errors; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 306 __be64 rx_errors; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 307 __be64 tx_packets; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 308 __be64 rx_packets; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 309 __be64 tx_bytes; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 310 __be64 rx_bytes; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 311 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 312 __be64 tx_unicast; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 313 __be64 tx_mcastbcast; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 314 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 315 __be64 tx_untagged; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 316 __be64 tx_vlan; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 317 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 318 __be64 tx_64_size; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 319 __be64 tx_65_127; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 320 __be64 tx_128_255; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 321 __be64 tx_256_511; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 322 __be64 tx_512_1023; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 323 __be64 tx_1024_1518; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 324 __be64 tx_1519_max; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 325 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 326 __be64 rx_unicast; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 327 __be64 rx_mcastbcast; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 328 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 329 __be64 rx_untagged; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 330 __be64 rx_vlan; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 331 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 332 __be64 rx_64_size; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 333 __be64 rx_65_127; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 334 __be64 rx_128_255; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 335 __be64 rx_256_511; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 336 __be64 rx_512_1023; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 337 __be64 rx_1024_1518; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 338 __be64 rx_1519_max; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 339 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 340 __be64 reserved[16]; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 341 } __packed; 72dc7614406e88 Vishwanathapura, Niranjana 2017-04-12 @342 :::::: The code at line 148 was first introduced by commit :::::: 72dc7614406e884aeae8c1554bf267943a0acaba IB/opa-vnic: VNIC Ethernet Management (EM) structure definitions :::::: TO: Vishwanathapura, Niranjana <niranjana.vishwanathapura@xxxxxxxxx> :::::: CC: Doug Ledford <dledford@xxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip