eal: fix whitespace
Eliminate trailing whitespace, space after tabs, and extra blank lines Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
This commit is contained in:
parent
0cd54d9c17
commit
9aca9fc204
@ -230,4 +230,3 @@ contigmem_mmap_single(struct cdev *cdev, vm_ooffset_t *offset, vm_size_t size,
|
|||||||
|
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -99,4 +99,3 @@ SYMLINK-$(CONFIG_RTE_LIBRTE_EAL_BSDAPP)-include/exec-env := \
|
|||||||
DEPDIRS-$(CONFIG_RTE_LIBRTE_EAL_BSDAPP) += lib/librte_eal/common
|
DEPDIRS-$(CONFIG_RTE_LIBRTE_EAL_BSDAPP) += lib/librte_eal/common
|
||||||
|
|
||||||
include $(RTE_SDK)/mk/rte.lib.mk
|
include $(RTE_SDK)/mk/rte.lib.mk
|
||||||
|
|
||||||
|
@ -569,4 +569,3 @@ rte_eal_process_type(void)
|
|||||||
{
|
{
|
||||||
return (rte_config.process_type);
|
return (rte_config.process_type);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -68,4 +68,3 @@ rte_eal_intr_init(void)
|
|||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -103,7 +103,7 @@ rte_memdump(FILE *f, const char * title, const void * buf, unsigned int len)
|
|||||||
|
|
||||||
line[0] = '\0';
|
line[0] = '\0';
|
||||||
for (i = 0, out = 0; i < len; i++) {
|
for (i = 0, out = 0; i < len; i++) {
|
||||||
// Make sure we do not overrun the line buffer length.
|
// Make sure we do not overrun the line buffer length.
|
||||||
if ( out >= (LINE_LEN - 4) ) {
|
if ( out >= (LINE_LEN - 4) ) {
|
||||||
fprintf(f, "%s", line);
|
fprintf(f, "%s", line);
|
||||||
out = 0;
|
out = 0;
|
||||||
@ -118,4 +118,3 @@ rte_memdump(FILE *f, const char * title, const void * buf, unsigned int len)
|
|||||||
|
|
||||||
fflush(f);
|
fflush(f);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -116,4 +116,3 @@ rte_eal_mp_wait_lcore(void)
|
|||||||
rte_eal_wait_lcore(lcore_id);
|
rte_eal_wait_lcore(lcore_id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -331,4 +331,3 @@ rte_eal_common_log_init(FILE *default_log)
|
|||||||
rte_openlog_stream(default_log);
|
rte_openlog_stream(default_log);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -130,12 +130,12 @@ rte_get_hpet_hz(void);
|
|||||||
* then the HPET functions are unavailable and should not be called.
|
* then the HPET functions are unavailable and should not be called.
|
||||||
*
|
*
|
||||||
* @param make_default
|
* @param make_default
|
||||||
* If set, the hpet timer becomes the default timer whose values are
|
* If set, the hpet timer becomes the default timer whose values are
|
||||||
* returned by the rte_get_timer_hz/cycles API calls
|
* returned by the rte_get_timer_hz/cycles API calls
|
||||||
*
|
*
|
||||||
* @return
|
* @return
|
||||||
* 0 on success,
|
* 0 on success,
|
||||||
* -1 on error, and the make_default parameter is ignored.
|
* -1 on error, and the make_default parameter is ignored.
|
||||||
*/
|
*/
|
||||||
int rte_eal_hpet_init(int make_default);
|
int rte_eal_hpet_init(int make_default);
|
||||||
|
|
||||||
|
@ -49,15 +49,15 @@ extern "C" {
|
|||||||
* Dump out memory in a special hex dump format.
|
* Dump out memory in a special hex dump format.
|
||||||
*
|
*
|
||||||
* @param f
|
* @param f
|
||||||
* A pointer to a file for output
|
* A pointer to a file for output
|
||||||
* @param title
|
* @param title
|
||||||
* If not NULL this string is printed as a header to the output.
|
* If not NULL this string is printed as a header to the output.
|
||||||
* @param buf
|
* @param buf
|
||||||
* This is the buffer address to print out.
|
* This is the buffer address to print out.
|
||||||
* @param len
|
* @param len
|
||||||
* The number of bytes to dump out
|
* The number of bytes to dump out
|
||||||
* @return
|
* @return
|
||||||
* None.
|
* None.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
extern void
|
extern void
|
||||||
@ -67,15 +67,15 @@ rte_hexdump(FILE *f, const char * title, const void * buf, unsigned int len);
|
|||||||
* Dump out memory in a hex format with colons between bytes.
|
* Dump out memory in a hex format with colons between bytes.
|
||||||
*
|
*
|
||||||
* @param f
|
* @param f
|
||||||
* A pointer to a file for output
|
* A pointer to a file for output
|
||||||
* @param title
|
* @param title
|
||||||
* If not NULL this string is printed as a header to the output.
|
* If not NULL this string is printed as a header to the output.
|
||||||
* @param buf
|
* @param buf
|
||||||
* This is the buffer address to print out.
|
* This is the buffer address to print out.
|
||||||
* @param len
|
* @param len
|
||||||
* The number of bytes to dump out
|
* The number of bytes to dump out
|
||||||
* @return
|
* @return
|
||||||
* None.
|
* None.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
|
@ -118,4 +118,3 @@ int rte_intr_disable(struct rte_intr_handle *intr_handle);
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -196,7 +196,7 @@ phys_addr_t rte_mem_phy2mch(uint32_t memseg_id, const phys_addr_t phy_addr);
|
|||||||
*
|
*
|
||||||
* @return
|
* @return
|
||||||
* 0: successfully
|
* 0: successfully
|
||||||
* negative: error
|
* negative: error
|
||||||
*/
|
*/
|
||||||
int rte_xen_dom0_memory_init(void);
|
int rte_xen_dom0_memory_init(void);
|
||||||
|
|
||||||
|
@ -239,10 +239,10 @@ do { \
|
|||||||
* a domain prefix (i.e. domain returned is always 0)
|
* a domain prefix (i.e. domain returned is always 0)
|
||||||
*
|
*
|
||||||
* @param input
|
* @param input
|
||||||
* The input string to be parsed. Should have the format XX:XX.X
|
* The input string to be parsed. Should have the format XX:XX.X
|
||||||
* @param dev_addr
|
* @param dev_addr
|
||||||
* The PCI Bus-Device-Function address to be returned. Domain will always be
|
* The PCI Bus-Device-Function address to be returned. Domain will always be
|
||||||
* returned as 0
|
* returned as 0
|
||||||
* @return
|
* @return
|
||||||
* 0 on success, negative on error.
|
* 0 on success, negative on error.
|
||||||
*/
|
*/
|
||||||
@ -262,9 +262,9 @@ eal_parse_pci_BDF(const char *input, struct rte_pci_addr *dev_addr)
|
|||||||
* a domain prefix.
|
* a domain prefix.
|
||||||
*
|
*
|
||||||
* @param input
|
* @param input
|
||||||
* The input string to be parsed. Should have the format XXXX:XX:XX.X
|
* The input string to be parsed. Should have the format XXXX:XX:XX.X
|
||||||
* @param dev_addr
|
* @param dev_addr
|
||||||
* The PCI Bus-Device-Function address to be returned
|
* The PCI Bus-Device-Function address to be returned
|
||||||
* @return
|
* @return
|
||||||
* 0 on success, negative on error.
|
* 0 on success, negative on error.
|
||||||
*/
|
*/
|
||||||
|
@ -119,4 +119,3 @@ SYMLINK-$(CONFIG_RTE_LIBRTE_EAL_LINUXAPP)-include/exec-env := \
|
|||||||
DEPDIRS-$(CONFIG_RTE_LIBRTE_EAL_LINUXAPP) += lib/librte_eal/common
|
DEPDIRS-$(CONFIG_RTE_LIBRTE_EAL_LINUXAPP) += lib/librte_eal/common
|
||||||
|
|
||||||
include $(RTE_SDK)/mk/rte.lib.mk
|
include $(RTE_SDK)/mk/rte.lib.mk
|
||||||
|
|
||||||
|
@ -894,4 +894,3 @@ rte_eal_intr_init(void)
|
|||||||
|
|
||||||
return -ret;
|
return -ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user