[dpdk-test-report] |WARNING| pw52880 [PATCH v2 2/7] net/atlantic: enable macsec configuration

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Apr 17 17:45:54 CEST 2019


Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/52880

_coding style issues_


ERROR:DOS_LINE_ENDINGS: DOS line endings
#49: FILE: doc/guides/nics/atlantic.rst:22:
+- MACSEC offload^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#50: FILE: doc/guides/nics/atlantic.rst:23:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#51: FILE: doc/guides/nics/atlantic.rst:24:
+Experimental API features^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#52: FILE: doc/guides/nics/atlantic.rst:25:
+^^^^^^^^^^^^^^^^^^^^^^^^^^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#53: FILE: doc/guides/nics/atlantic.rst:26:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#54: FILE: doc/guides/nics/atlantic.rst:27:
+- MACSEC PMD API is considered as experimental and is subject to change/removal in next DPDK releases.^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#66: FILE: doc/guides/nics/features/atlantic.ini:23:
+MACsec offload       = Y^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#78: FILE: drivers/net/atlantic/atl_ethdev.c:170:
+^I^I^I| DEV_RX_OFFLOAD_MACSEC_STRIP \^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#86: FILE: drivers/net/atlantic/atl_ethdev.c:178:
+^I^I^I| DEV_TX_OFFLOAD_MACSEC_INSERT \^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#94: FILE: drivers/net/atlantic/atl_ethdev.c:703:
+static int^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#95: FILE: drivers/net/atlantic/atl_ethdev.c:704:
+atl_dev_configure_macsec(struct rte_eth_dev *dev)^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#96: FILE: drivers/net/atlantic/atl_ethdev.c:705:
+{^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#97: FILE: drivers/net/atlantic/atl_ethdev.c:706:
+^Istruct aq_hw_s *hw = ATL_DEV_PRIVATE_TO_HW(dev->data->dev_private);^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#98: FILE: drivers/net/atlantic/atl_ethdev.c:707:
+^Istruct aq_hw_cfg_s *cf = ATL_DEV_PRIVATE_TO_CFG(dev->data->dev_private);^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#99: FILE: drivers/net/atlantic/atl_ethdev.c:708:
+^Istruct aq_macsec_config *aqcfg = &cf->aq_macsec;^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#100: FILE: drivers/net/atlantic/atl_ethdev.c:709:
+^Istruct macsec_msg_fw_request msg_macsec;^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#101: FILE: drivers/net/atlantic/atl_ethdev.c:710:
+^Istruct macsec_msg_fw_response response;^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#102: FILE: drivers/net/atlantic/atl_ethdev.c:711:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#103: FILE: drivers/net/atlantic/atl_ethdev.c:712:
+^Iif (!aqcfg->common.macsec_enabled ||^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#104: FILE: drivers/net/atlantic/atl_ethdev.c:713:
+^I    hw->aq_fw_ops->send_macsec_req == NULL)^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#105: FILE: drivers/net/atlantic/atl_ethdev.c:714:
+^I^Ireturn 0;^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#106: FILE: drivers/net/atlantic/atl_ethdev.c:715:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#107: FILE: drivers/net/atlantic/atl_ethdev.c:716:
+^Imemset(&msg_macsec, 0, sizeof(msg_macsec));^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#108: FILE: drivers/net/atlantic/atl_ethdev.c:717:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#109: FILE: drivers/net/atlantic/atl_ethdev.c:718:
+^I/* Creating set of sc/sa structures from parameters provided by DPDK */^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#110: FILE: drivers/net/atlantic/atl_ethdev.c:719:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#111: FILE: drivers/net/atlantic/atl_ethdev.c:720:
+^I/* Configure macsec */^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#112: FILE: drivers/net/atlantic/atl_ethdev.c:721:
+^Imsg_macsec.msg_type = macsec_cfg_msg;^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#113: FILE: drivers/net/atlantic/atl_ethdev.c:722:
+^Imsg_macsec.cfg.enabled = aqcfg->common.macsec_enabled;^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#114: FILE: drivers/net/atlantic/atl_ethdev.c:723:
+^Imsg_macsec.cfg.interrupts_enabled = 1;^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#115: FILE: drivers/net/atlantic/atl_ethdev.c:724:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#116: FILE: drivers/net/atlantic/atl_ethdev.c:725:
+^Ihw->aq_fw_ops->send_macsec_req(hw, &msg_macsec, &response);^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#117: FILE: drivers/net/atlantic/atl_ethdev.c:726:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#118: FILE: drivers/net/atlantic/atl_ethdev.c:727:
+^Iif (response.result)^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#119: FILE: drivers/net/atlantic/atl_ethdev.c:728:
+^I^Ireturn -1;^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#120: FILE: drivers/net/atlantic/atl_ethdev.c:729:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#121: FILE: drivers/net/atlantic/atl_ethdev.c:730:
+^Imemset(&msg_macsec, 0, sizeof(msg_macsec));^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#122: FILE: drivers/net/atlantic/atl_ethdev.c:731:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#123: FILE: drivers/net/atlantic/atl_ethdev.c:732:
+^I/* Configure TX SC */^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#124: FILE: drivers/net/atlantic/atl_ethdev.c:733:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#125: FILE: drivers/net/atlantic/atl_ethdev.c:734:
+^Imsg_macsec.msg_type = macsec_add_tx_sc_msg;^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#126: FILE: drivers/net/atlantic/atl_ethdev.c:735:
+^Imsg_macsec.txsc.index = 0; /* TXSC always one (??) */^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#127: FILE: drivers/net/atlantic/atl_ethdev.c:736:
+^Imsg_macsec.txsc.protect = aqcfg->common.encryption_enabled;^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#128: FILE: drivers/net/atlantic/atl_ethdev.c:737:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#129: FILE: drivers/net/atlantic/atl_ethdev.c:738:
+^I/* MAC addr for TX */^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#130: FILE: drivers/net/atlantic/atl_ethdev.c:739:
+^Imsg_macsec.txsc.mac_sa[0] = rte_bswap32(aqcfg->txsc.mac[1]);^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#131: FILE: drivers/net/atlantic/atl_ethdev.c:740:
+^Imsg_macsec.txsc.mac_sa[1] = rte_bswap32(aqcfg->txsc.mac[0]);^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#132: FILE: drivers/net/atlantic/atl_ethdev.c:741:
+^Imsg_macsec.txsc.sa_mask = 0x3f;^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#133: FILE: drivers/net/atlantic/atl_ethdev.c:742:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#134: FILE: drivers/net/atlantic/atl_ethdev.c:743:
+^Imsg_macsec.txsc.da_mask = 0;^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#135: FILE: drivers/net/atlantic/atl_ethdev.c:744:
+^Imsg_macsec.txsc.tci = 0x0B;^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#136: FILE: drivers/net/atlantic/atl_ethdev.c:745:
+^Imsg_macsec.txsc.curr_an = 0; /* SA index which currently used */^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#137: FILE: drivers/net/atlantic/atl_ethdev.c:746:
+^M$

ERROR:TRAILING_WHITESPACE: trailing whitespace
#138: FILE: drivers/net/atlantic/atl_ethdev.c:747:
+^I/*^M$

ERROR:TRAILING_WHITESPACE: trailing whitespace
#139: FILE: drivers/net/atlantic/atl_ethdev.c:748:
+^I * Creating SCI (Secure Channel Identifier).^M$

ERROR:TRAILING_WHITESPACE: trailing whitespace
#140: FILE: drivers/net/atlantic/atl_ethdev.c:749:
+^I * SCI constructed from Source MAC and Port identifier^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#141: FILE: drivers/net/atlantic/atl_ethdev.c:750:
+^I */^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#142: FILE: drivers/net/atlantic/atl_ethdev.c:751:
+^Iuint32_t sci_hi_part = (msg_macsec.txsc.mac_sa[1] << 16) |^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#143: FILE: drivers/net/atlantic/atl_ethdev.c:752:
+^I^I^I       (msg_macsec.txsc.mac_sa[0] >> 16);^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#144: FILE: drivers/net/atlantic/atl_ethdev.c:753:
+^Iuint32_t sci_low_part = (msg_macsec.txsc.mac_sa[0] << 16);^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#145: FILE: drivers/net/atlantic/atl_ethdev.c:754:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#146: FILE: drivers/net/atlantic/atl_ethdev.c:755:
+^Iuint32_t port_identifier = 1;^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#147: FILE: drivers/net/atlantic/atl_ethdev.c:756:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#148: FILE: drivers/net/atlantic/atl_ethdev.c:757:
+^Imsg_macsec.txsc.sci[1] = sci_hi_part;^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#149: FILE: drivers/net/atlantic/atl_ethdev.c:758:
+^Imsg_macsec.txsc.sci[0] = sci_low_part | port_identifier;^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#150: FILE: drivers/net/atlantic/atl_ethdev.c:759:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#151: FILE: drivers/net/atlantic/atl_ethdev.c:760:
+^Ihw->aq_fw_ops->send_macsec_req(hw, &msg_macsec, &response);^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#152: FILE: drivers/net/atlantic/atl_ethdev.c:761:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#153: FILE: drivers/net/atlantic/atl_ethdev.c:762:
+^Iif (response.result)^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#154: FILE: drivers/net/atlantic/atl_ethdev.c:763:
+^I^Ireturn -1;^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#155: FILE: drivers/net/atlantic/atl_ethdev.c:764:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#156: FILE: drivers/net/atlantic/atl_ethdev.c:765:
+^Imemset(&msg_macsec, 0, sizeof(msg_macsec));^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#157: FILE: drivers/net/atlantic/atl_ethdev.c:766:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#158: FILE: drivers/net/atlantic/atl_ethdev.c:767:
+^I/* Configure RX SC */^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#159: FILE: drivers/net/atlantic/atl_ethdev.c:768:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#160: FILE: drivers/net/atlantic/atl_ethdev.c:769:
+^Imsg_macsec.msg_type = macsec_add_rx_sc_msg;^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#161: FILE: drivers/net/atlantic/atl_ethdev.c:770:
+^Imsg_macsec.rxsc.index = aqcfg->rxsc.pi;^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#162: FILE: drivers/net/atlantic/atl_ethdev.c:771:
+^Imsg_macsec.rxsc.replay_protect =^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#163: FILE: drivers/net/atlantic/atl_ethdev.c:772:
+^I^Iaqcfg->common.replay_protection_enabled;^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#164: FILE: drivers/net/atlantic/atl_ethdev.c:773:
+^Imsg_macsec.rxsc.anti_replay_window = 0;^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#165: FILE: drivers/net/atlantic/atl_ethdev.c:774:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#166: FILE: drivers/net/atlantic/atl_ethdev.c:775:
+^I/* MAC addr for RX */^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#167: FILE: drivers/net/atlantic/atl_ethdev.c:776:
+^Imsg_macsec.rxsc.mac_da[0] = rte_bswap32(aqcfg->rxsc.mac[1]);^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#168: FILE: drivers/net/atlantic/atl_ethdev.c:777:
+^Imsg_macsec.rxsc.mac_da[1] = rte_bswap32(aqcfg->rxsc.mac[0]);^M$

ERROR:TRAILING_WHITESPACE: trailing whitespace
#169: FILE: drivers/net/atlantic/atl_ethdev.c:778:
+^Imsg_macsec.rxsc.da_mask = 0;//0x3f;^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#170: FILE: drivers/net/atlantic/atl_ethdev.c:779:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#171: FILE: drivers/net/atlantic/atl_ethdev.c:780:
+^Imsg_macsec.rxsc.sa_mask = 0;^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#172: FILE: drivers/net/atlantic/atl_ethdev.c:781:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#173: FILE: drivers/net/atlantic/atl_ethdev.c:782:
+^Ihw->aq_fw_ops->send_macsec_req(hw, &msg_macsec, &response);^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#174: FILE: drivers/net/atlantic/atl_ethdev.c:783:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#175: FILE: drivers/net/atlantic/atl_ethdev.c:784:
+^Iif (response.result)^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#176: FILE: drivers/net/atlantic/atl_ethdev.c:785:
+^I^Ireturn -1;^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#177: FILE: drivers/net/atlantic/atl_ethdev.c:786:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#178: FILE: drivers/net/atlantic/atl_ethdev.c:787:
+^Imemset(&msg_macsec, 0, sizeof(msg_macsec));^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#179: FILE: drivers/net/atlantic/atl_ethdev.c:788:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#180: FILE: drivers/net/atlantic/atl_ethdev.c:789:
+^I/* Configure RX SC */^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#181: FILE: drivers/net/atlantic/atl_ethdev.c:790:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#182: FILE: drivers/net/atlantic/atl_ethdev.c:791:
+^Imsg_macsec.msg_type = macsec_add_tx_sa_msg;^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#183: FILE: drivers/net/atlantic/atl_ethdev.c:792:
+^Imsg_macsec.txsa.index = aqcfg->txsa.idx;^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#184: FILE: drivers/net/atlantic/atl_ethdev.c:793:
+^Imsg_macsec.txsa.next_pn = aqcfg->txsa.pn;^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#185: FILE: drivers/net/atlantic/atl_ethdev.c:794:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#186: FILE: drivers/net/atlantic/atl_ethdev.c:795:
+^Imsg_macsec.txsa.key[0] = rte_bswap32(aqcfg->txsa.key[3]);^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#187: FILE: drivers/net/atlantic/atl_ethdev.c:796:
+^Imsg_macsec.txsa.key[1] = rte_bswap32(aqcfg->txsa.key[2]);^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#188: FILE: drivers/net/atlantic/atl_ethdev.c:797:
+^Imsg_macsec.txsa.key[2] = rte_bswap32(aqcfg->txsa.key[1]);^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#189: FILE: drivers/net/atlantic/atl_ethdev.c:798:
+^Imsg_macsec.txsa.key[3] = rte_bswap32(aqcfg->txsa.key[0]);^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#190: FILE: drivers/net/atlantic/atl_ethdev.c:799:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#191: FILE: drivers/net/atlantic/atl_ethdev.c:800:
+^Ihw->aq_fw_ops->send_macsec_req(hw, &msg_macsec, &response);^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#192: FILE: drivers/net/atlantic/atl_ethdev.c:801:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#193: FILE: drivers/net/atlantic/atl_ethdev.c:802:
+^Iif (response.result)^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#194: FILE: drivers/net/atlantic/atl_ethdev.c:803:
+^I^Ireturn -1;^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#195: FILE: drivers/net/atlantic/atl_ethdev.c:804:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#196: FILE: drivers/net/atlantic/atl_ethdev.c:805:
+^Imemset(&msg_macsec, 0, sizeof(msg_macsec));^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#197: FILE: drivers/net/atlantic/atl_ethdev.c:806:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#198: FILE: drivers/net/atlantic/atl_ethdev.c:807:
+^I/* Configure RX SA */^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#199: FILE: drivers/net/atlantic/atl_ethdev.c:808:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#200: FILE: drivers/net/atlantic/atl_ethdev.c:809:
+^Imsg_macsec.msg_type = macsec_add_rx_sa_msg;^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#201: FILE: drivers/net/atlantic/atl_ethdev.c:810:
+^Imsg_macsec.rxsa.index = aqcfg->rxsa.idx;^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#202: FILE: drivers/net/atlantic/atl_ethdev.c:811:
+^Imsg_macsec.rxsa.next_pn = aqcfg->rxsa.pn;^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#203: FILE: drivers/net/atlantic/atl_ethdev.c:812:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#204: FILE: drivers/net/atlantic/atl_ethdev.c:813:
+^Imsg_macsec.rxsa.key[0] = rte_bswap32(aqcfg->rxsa.key[3]);^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#205: FILE: drivers/net/atlantic/atl_ethdev.c:814:
+^Imsg_macsec.rxsa.key[1] = rte_bswap32(aqcfg->rxsa.key[2]);^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#206: FILE: drivers/net/atlantic/atl_ethdev.c:815:
+^Imsg_macsec.rxsa.key[2] = rte_bswap32(aqcfg->rxsa.key[1]);^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#207: FILE: drivers/net/atlantic/atl_ethdev.c:816:
+^Imsg_macsec.rxsa.key[3] = rte_bswap32(aqcfg->rxsa.key[0]);^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#208: FILE: drivers/net/atlantic/atl_ethdev.c:817:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#209: FILE: drivers/net/atlantic/atl_ethdev.c:818:
+^Ihw->aq_fw_ops->send_macsec_req(hw, &msg_macsec, &response);^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#210: FILE: drivers/net/atlantic/atl_ethdev.c:819:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#211: FILE: drivers/net/atlantic/atl_ethdev.c:820:
+^Iif (response.result)^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#212: FILE: drivers/net/atlantic/atl_ethdev.c:821:
+^I^Ireturn -1;^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#213: FILE: drivers/net/atlantic/atl_ethdev.c:822:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#214: FILE: drivers/net/atlantic/atl_ethdev.c:823:
+^Ireturn 0;^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#215: FILE: drivers/net/atlantic/atl_ethdev.c:824:
+}^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#216: FILE: drivers/net/atlantic/atl_ethdev.c:825:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#217: FILE: drivers/net/atlantic/atl_ethdev.c:826:
+int atl_macsec_enable(struct rte_eth_dev *dev,^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#218: FILE: drivers/net/atlantic/atl_ethdev.c:827:
+^I^I      uint8_t encr, uint8_t repl_prot)^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#219: FILE: drivers/net/atlantic/atl_ethdev.c:828:
+{^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#220: FILE: drivers/net/atlantic/atl_ethdev.c:829:
+^Istruct aq_hw_cfg_s *cfg =^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#221: FILE: drivers/net/atlantic/atl_ethdev.c:830:
+^I^IATL_DEV_PRIVATE_TO_CFG(dev->data->dev_private);^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#222: FILE: drivers/net/atlantic/atl_ethdev.c:831:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#223: FILE: drivers/net/atlantic/atl_ethdev.c:832:
+^Icfg->aq_macsec.common.macsec_enabled = 1;^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#224: FILE: drivers/net/atlantic/atl_ethdev.c:833:
+^Icfg->aq_macsec.common.encryption_enabled = encr;^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#225: FILE: drivers/net/atlantic/atl_ethdev.c:834:
+^Icfg->aq_macsec.common.replay_protection_enabled = repl_prot;^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#226: FILE: drivers/net/atlantic/atl_ethdev.c:835:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#227: FILE: drivers/net/atlantic/atl_ethdev.c:836:
+^Ireturn 0;^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#228: FILE: drivers/net/atlantic/atl_ethdev.c:837:
+}^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#229: FILE: drivers/net/atlantic/atl_ethdev.c:838:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#230: FILE: drivers/net/atlantic/atl_ethdev.c:839:
+int atl_macsec_disable(struct rte_eth_dev *dev)^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#231: FILE: drivers/net/atlantic/atl_ethdev.c:840:
+{^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#232: FILE: drivers/net/atlantic/atl_ethdev.c:841:
+^Istruct aq_hw_cfg_s *cfg =^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#233: FILE: drivers/net/atlantic/atl_ethdev.c:842:
+^I^IATL_DEV_PRIVATE_TO_CFG(dev->data->dev_private);^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#234: FILE: drivers/net/atlantic/atl_ethdev.c:843:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#235: FILE: drivers/net/atlantic/atl_ethdev.c:844:
+^Icfg->aq_macsec.common.macsec_enabled = 0;^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#236: FILE: drivers/net/atlantic/atl_ethdev.c:845:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#237: FILE: drivers/net/atlantic/atl_ethdev.c:846:
+^Ireturn 0;^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#238: FILE: drivers/net/atlantic/atl_ethdev.c:847:
+}^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#239: FILE: drivers/net/atlantic/atl_ethdev.c:848:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#240: FILE: drivers/net/atlantic/atl_ethdev.c:849:
+int atl_macsec_config_txsc(struct rte_eth_dev *dev, uint8_t *mac)^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#241: FILE: drivers/net/atlantic/atl_ethdev.c:850:
+{^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#242: FILE: drivers/net/atlantic/atl_ethdev.c:851:
+^Istruct aq_hw_cfg_s *cfg =^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#243: FILE: drivers/net/atlantic/atl_ethdev.c:852:
+^I^IATL_DEV_PRIVATE_TO_CFG(dev->data->dev_private);^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#244: FILE: drivers/net/atlantic/atl_ethdev.c:853:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#245: FILE: drivers/net/atlantic/atl_ethdev.c:854:
+^Imemset(&cfg->aq_macsec.txsc.mac, 0, sizeof(cfg->aq_macsec.txsc.mac));^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#246: FILE: drivers/net/atlantic/atl_ethdev.c:855:
+^Imemcpy((uint8_t *)&cfg->aq_macsec.txsc.mac + 2, mac, ETHER_ADDR_LEN);^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#247: FILE: drivers/net/atlantic/atl_ethdev.c:856:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#248: FILE: drivers/net/atlantic/atl_ethdev.c:857:
+^Ireturn 0;^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#249: FILE: drivers/net/atlantic/atl_ethdev.c:858:
+}^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#250: FILE: drivers/net/atlantic/atl_ethdev.c:859:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#251: FILE: drivers/net/atlantic/atl_ethdev.c:860:
+int atl_macsec_config_rxsc(struct rte_eth_dev *dev,^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#252: FILE: drivers/net/atlantic/atl_ethdev.c:861:
+^I^I^I   uint8_t *mac, uint16_t pi)^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#253: FILE: drivers/net/atlantic/atl_ethdev.c:862:
+{^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#254: FILE: drivers/net/atlantic/atl_ethdev.c:863:
+^Istruct aq_hw_cfg_s *cfg =^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#255: FILE: drivers/net/atlantic/atl_ethdev.c:864:
+^I^IATL_DEV_PRIVATE_TO_CFG(dev->data->dev_private);^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#256: FILE: drivers/net/atlantic/atl_ethdev.c:865:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#257: FILE: drivers/net/atlantic/atl_ethdev.c:866:
+^Imemset(&cfg->aq_macsec.rxsc.mac, 0, sizeof(cfg->aq_macsec.rxsc.mac));^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#258: FILE: drivers/net/atlantic/atl_ethdev.c:867:
+^Imemcpy((uint8_t *)&cfg->aq_macsec.rxsc.mac + 2, mac, ETHER_ADDR_LEN);^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#259: FILE: drivers/net/atlantic/atl_ethdev.c:868:
+^Icfg->aq_macsec.rxsc.pi = pi;^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#260: FILE: drivers/net/atlantic/atl_ethdev.c:869:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#261: FILE: drivers/net/atlantic/atl_ethdev.c:870:
+^Ireturn 0;^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#262: FILE: drivers/net/atlantic/atl_ethdev.c:871:
+}^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#263: FILE: drivers/net/atlantic/atl_ethdev.c:872:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#264: FILE: drivers/net/atlantic/atl_ethdev.c:873:
+int atl_macsec_select_txsa(struct rte_eth_dev *dev,^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#265: FILE: drivers/net/atlantic/atl_ethdev.c:874:
+^I^I^I   uint8_t idx, uint8_t an,^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#266: FILE: drivers/net/atlantic/atl_ethdev.c:875:
+^I^I^I   uint32_t pn, uint8_t *key)^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#267: FILE: drivers/net/atlantic/atl_ethdev.c:876:
+{^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#268: FILE: drivers/net/atlantic/atl_ethdev.c:877:
+^Istruct aq_hw_cfg_s *cfg =^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#269: FILE: drivers/net/atlantic/atl_ethdev.c:878:
+^I^IATL_DEV_PRIVATE_TO_CFG(dev->data->dev_private);^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#270: FILE: drivers/net/atlantic/atl_ethdev.c:879:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#271: FILE: drivers/net/atlantic/atl_ethdev.c:880:
+^Icfg->aq_macsec.txsa.idx = idx;^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#272: FILE: drivers/net/atlantic/atl_ethdev.c:881:
+^Icfg->aq_macsec.txsa.pn = pn;^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#273: FILE: drivers/net/atlantic/atl_ethdev.c:882:
+^Icfg->aq_macsec.txsa.an = an;^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#274: FILE: drivers/net/atlantic/atl_ethdev.c:883:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#275: FILE: drivers/net/atlantic/atl_ethdev.c:884:
+^Imemcpy(&cfg->aq_macsec.txsa.key, key, 16);^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#276: FILE: drivers/net/atlantic/atl_ethdev.c:885:
+^Ireturn 0;^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#277: FILE: drivers/net/atlantic/atl_ethdev.c:886:
+}^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#278: FILE: drivers/net/atlantic/atl_ethdev.c:887:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#279: FILE: drivers/net/atlantic/atl_ethdev.c:888:
+int atl_macsec_select_rxsa(struct rte_eth_dev *dev,^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#280: FILE: drivers/net/atlantic/atl_ethdev.c:889:
+^I^I^I   uint8_t idx, uint8_t an,^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#281: FILE: drivers/net/atlantic/atl_ethdev.c:890:
+^I^I^I   uint32_t pn, uint8_t *key)^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#282: FILE: drivers/net/atlantic/atl_ethdev.c:891:
+{^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#283: FILE: drivers/net/atlantic/atl_ethdev.c:892:
+^Istruct aq_hw_cfg_s *cfg =^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#284: FILE: drivers/net/atlantic/atl_ethdev.c:893:
+^I^IATL_DEV_PRIVATE_TO_CFG(dev->data->dev_private);^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#285: FILE: drivers/net/atlantic/atl_ethdev.c:894:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#286: FILE: drivers/net/atlantic/atl_ethdev.c:895:
+^Icfg->aq_macsec.rxsa.idx = idx;^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#287: FILE: drivers/net/atlantic/atl_ethdev.c:896:
+^Icfg->aq_macsec.rxsa.pn = pn;^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#288: FILE: drivers/net/atlantic/atl_ethdev.c:897:
+^Icfg->aq_macsec.rxsa.an = an;^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#289: FILE: drivers/net/atlantic/atl_ethdev.c:898:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#290: FILE: drivers/net/atlantic/atl_ethdev.c:899:
+^Imemcpy(&cfg->aq_macsec.rxsa.key, key, 16);^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#291: FILE: drivers/net/atlantic/atl_ethdev.c:900:
+^Ireturn 0;^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#292: FILE: drivers/net/atlantic/atl_ethdev.c:901:
+}^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#300: FILE: drivers/net/atlantic/atl_ethdev.c:1736:
+static bool^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#301: FILE: drivers/net/atlantic/atl_ethdev.c:1737:
+is_device_supported(struct rte_eth_dev *dev, struct rte_pci_driver *drv)^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#302: FILE: drivers/net/atlantic/atl_ethdev.c:1738:
+{^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#303: FILE: drivers/net/atlantic/atl_ethdev.c:1739:
+^Iif (strcmp(dev->device->driver->name, drv->driver.name))^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#304: FILE: drivers/net/atlantic/atl_ethdev.c:1740:
+^I^Ireturn false;^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#305: FILE: drivers/net/atlantic/atl_ethdev.c:1741:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#306: FILE: drivers/net/atlantic/atl_ethdev.c:1742:
+^Ireturn true;^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#307: FILE: drivers/net/atlantic/atl_ethdev.c:1743:
+}^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#308: FILE: drivers/net/atlantic/atl_ethdev.c:1744:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#309: FILE: drivers/net/atlantic/atl_ethdev.c:1745:
+bool^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#310: FILE: drivers/net/atlantic/atl_ethdev.c:1746:
+is_atlantic_supported(struct rte_eth_dev *dev)^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#311: FILE: drivers/net/atlantic/atl_ethdev.c:1747:
+{^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#312: FILE: drivers/net/atlantic/atl_ethdev.c:1748:
+^Ireturn is_device_supported(dev, &rte_atl_pmd);^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#313: FILE: drivers/net/atlantic/atl_ethdev.c:1749:
+}^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#314: FILE: drivers/net/atlantic/atl_ethdev.c:1750:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#326: FILE: drivers/net/atlantic/atl_ethdev.h:107:
+int atl_macsec_enable(struct rte_eth_dev *dev, uint8_t encr, uint8_t repl_prot);^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#327: FILE: drivers/net/atlantic/atl_ethdev.h:108:
+int atl_macsec_disable(struct rte_eth_dev *dev);^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#328: FILE: drivers/net/atlantic/atl_ethdev.h:109:
+int atl_macsec_config_txsc(struct rte_eth_dev *dev, uint8_t *mac);^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#329: FILE: drivers/net/atlantic/atl_ethdev.h:110:
+int atl_macsec_config_rxsc(struct rte_eth_dev *dev,^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#330: FILE: drivers/net/atlantic/atl_ethdev.h:111:
+^I^I^I   uint8_t *mac, uint16_t pi);^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#331: FILE: drivers/net/atlantic/atl_ethdev.h:112:
+int atl_macsec_select_txsa(struct rte_eth_dev *dev, uint8_t idx,^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#332: FILE: drivers/net/atlantic/atl_ethdev.h:113:
+^I^I^I   uint8_t an, uint32_t pn, uint8_t *key);^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#333: FILE: drivers/net/atlantic/atl_ethdev.h:114:
+int atl_macsec_select_rxsa(struct rte_eth_dev *dev, uint8_t idx,^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#334: FILE: drivers/net/atlantic/atl_ethdev.h:115:
+^I^I^I   uint8_t an, uint32_t pn, uint8_t *key);^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#335: FILE: drivers/net/atlantic/atl_ethdev.h:116:
+^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#336: FILE: drivers/net/atlantic/atl_ethdev.h:117:
+bool is_atlantic_supported(struct rte_eth_dev *dev);^M$

ERROR:DOS_LINE_ENDINGS: DOS line endings
#337: FILE: drivers/net/atlantic/atl_ethdev.h:118:
+^M$

total: 235 errors, 0 warnings, 0 checks, 275 lines checked


More information about the test-report mailing list